public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [committed] wide-int: Fix up function comment
Date: Wed, 17 May 2023 10:19:20 +0200	[thread overview]
Message-ID: <ZGSOCJBujabM5gNh@tucnak> (raw)

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  <jakub@redhat.com>

	* wide-int.cc (wi::from_array): Add missing closing paren in function
	comment.

--- 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)

	Jakub


                 reply	other threads:[~2023-05-17  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZGSOCJBujabM5gNh@tucnak \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).