From: Jakub Jelinek Date: Wed, 19 Nov 2025 10:52:16 +0000 (+0100) Subject: tree-ssanames: Fix pasto in get_known_nonzero_bits function comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b5cb160039559b9c96284f63f3de7497021137a;p=thirdparty%2Fgcc.git tree-ssanames: Fix pasto in get_known_nonzero_bits function comment get_known_nonzero_bits_1 function comment a few lines earlier says correctly it returns 0 for unknown (unlike get_nonzero_bits{,_1} which return -1 for unknown). 2025-11-19 Jakub Jelinek * tree-ssanames.cc (get_known_nonzero_bits): Fix a pasto in function comment, this function returns 0 if unknown rather than -1. --- diff --git a/gcc/tree-ssanames.cc b/gcc/tree-ssanames.cc index e3788f00f7f..f7885ea0d10 100644 --- a/gcc/tree-ssanames.cc +++ b/gcc/tree-ssanames.cc @@ -594,7 +594,7 @@ get_known_nonzero_bits_1 (const_tree name) } /* Return a wide_int with known non-zero bits in SSA_NAME - NAME, the constant for INTEGER_CST, or -1 if unknown. + NAME, the constant for INTEGER_CST, or 0 if unknown. In addition to what get_known_nonzero_bits_1 handles, this handles one level of BIT_IOR_EXPR, either as a def_stmt or tree directly. */