From patchwork Wed May 17 08:19:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 95098 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp964473vqo; Wed, 17 May 2023 01:20:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RRhwRMlFisXFoimZASyma0dkjUg21BZ7SHD7n5uuDrXKnfGGe5Vzz86v1M7CNrsQ3la3+ X-Received: by 2002:a17:907:1b24:b0:94e:5c28:1c19 with SMTP id mp36-20020a1709071b2400b0094e5c281c19mr38609195ejc.5.1684311631161; Wed, 17 May 2023 01:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684311631; cv=none; d=google.com; s=arc-20160816; b=d7hCIuTwM1m+B+UaL09Nbl4x3S/ALlSXPcb8DTUMvk+gK+snwNfjOSL9IvptsCiERb 1yUBSpVjxbpEQKNY22B3QGIYI3Q7N0/StNOwnOAPqbQBWDTV7NFcnP0zrQk4kkNDeIHM PLYLojrfHyJ824ToHQILFx+W3i2NSAiQtbzre6EHUagxayrJ510XcOHP8JCcv9V+5BPw 0QnY5tbB4P9FOf1zPgptKbQOPzGEWRXTZr6JavBUwdQ07tBzE0gJrNcz1LlXmfv8eYyW lc12oLH3/RQ38idMv9MUn4PKgH3Aa5WQ6ALNKHFyPtyxU6sr/neKdCXp2gC8de8BwtVs mCqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=38PVyUCVrOZnMy0hyBXU0n7PfcZHV+fMI1+TPBEkP4E=; b=qh9ORcywR4LJ9IGRypeeLOfZGyM7t85VCZfD5xn3OFWhXa3347+sr234v5+8fLblfi i4M1RpPIlGVMzLS5pWAflr+b2TCx0BVP90xtbwklTx6Iobj8brKftktC3gWR0cNRT77O 2Ys6nnHYhPbKsdy4NrvJfWyhHBVgtx6MRFAm+b63h1ClEivSs5gbp+PSoBvrcgTEmwrN pkw0GrrJRdnrYmsmxQSRzFKSfhiqzZkUBWRmBglF2fdN+61SP9tMaljqmnJgxrvKVPOe tT1/5Krl/Cnp6+7gYHaEW0No/7uKac+ugjpULbhqzMzjtEo31myRR/KFnFzjYdvip9b+ SF5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=uM1yG2He; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id oz19-20020a170906cd1300b00965e01ff989si15582302ejb.371.2023.05.17.01.20.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 01:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=uM1yG2He; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 60E413858D39 for ; Wed, 17 May 2023 08:20:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60E413858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684311615; bh=38PVyUCVrOZnMy0hyBXU0n7PfcZHV+fMI1+TPBEkP4E=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=uM1yG2He68n/pq+EHoA4F1wCD51d/1t15WlAO61sXJEp2d3q3BlbwevbVGJ07aYd9 JaTdZkgfsdyPET+xMeQFj9CEYqVTjlN7sJzDRXKlMI/Lpw9BAoWxBgVYWNKtlTRs9V Dt4uUF9y634fgu045wo6HdaALVcAyNTxqvCciVKE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id A5B6B3856948 for ; Wed, 17 May 2023 08:19:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5B6B3856948 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-581-9nL2FVkaPU6d36MaxLmNkg-1; Wed, 17 May 2023 04:19:24 -0400 X-MC-Unique: 9nL2FVkaPU6d36MaxLmNkg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B913B857D95 for ; Wed, 17 May 2023 08:19:23 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7AEB52166B31 for ; Wed, 17 May 2023 08:19:23 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 34H8JKjb2457783 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 17 May 2023 10:19:21 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 34H8JKuC2457782 for gcc-patches@gcc.gnu.org; Wed, 17 May 2023 10:19:20 +0200 Date: Wed, 17 May 2023 10:19:20 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] wide-int: Fix up function comment Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766128752633957959?= X-GMAIL-MSGID: =?utf-8?q?1766128752633957959?= Hi! When looking into _BitInt support, I've noticed unterminated parens in a function comment. Fixing thusly. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2023-05-17 Jakub Jelinek * wide-int.cc (wi::from_array): Add missing closing paren in function comment. Jakub --- gcc/wide-int.cc.jj 2023-01-02 09:32:53.890830070 +0100 +++ gcc/wide-int.cc 2023-05-16 18:50:28.782323397 +0200 @@ -139,7 +139,7 @@ canonize_uhwi (HOST_WIDE_INT *val, unsig /* Copy XLEN elements from XVAL to VAL. If NEED_CANON, canonize the result for an integer with precision PRECISION. Return the length - of VAL (after any canonization. */ + of VAL (after any canonization). */ unsigned int wi::from_array (HOST_WIDE_INT *val, const HOST_WIDE_INT *xval, unsigned int xlen, unsigned int precision, bool need_canon)