[Bug tree-optimization/120277] [16 Regression] Crash at -O2: in upper_bound, at value-range.h:1181 since r16-577-gc40a4cc2d943d8
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 1 17:51:09 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120277
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:5b2cf72ecdd62c7e634f71970e695b241f0eff2b
commit r17-3830-g5b2cf72ecdd62c7e634f71970e695b241f0eff2b
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Tue Sep 1 19:47:12 2026 +0200
Fix sloppy PR120277 test
gcc.dg/pr120277.c files with
FAIL: gcc.dg/pr120277.c (test for excess errors)
Excess errors:
gcc.dg/pr120277.c:14:4: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
hence using __INTPTR_TYPE__ in involved variables.
gcc/testsuite/
PR testsuite/120277
* gcc.dg/pr120277.c (e): Use __INTPTR_TYPE__ instead of long.
More information about the Gcc-bugs
mailing list