[committed] wide-int: Fix up function comment

Message ID ZGSOCJBujabM5gNh@tucnak
State Unresolved
Headers
Series [committed] wide-int: Fix up function comment |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek May 17, 2023, 8:19 a.m. UTC
  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.


	Jakub
  

Patch

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