https://gcc.gnu.org/g:6b5cb160039559b9c96284f63f3de7497021137a
commit r16-5413-g6b5cb160039559b9c96284f63f3de7497021137a Author: Jakub Jelinek <[email protected]> Date: Wed Nov 19 11:52:16 2025 +0100 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 <[email protected]> * tree-ssanames.cc (get_known_nonzero_bits): Fix a pasto in function comment, this function returns 0 if unknown rather than -1. Diff: --- gcc/tree-ssanames.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssanames.cc b/gcc/tree-ssanames.cc index e3788f00f7f2..f7885ea0d102 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. */
