[Bug middle-end/67485] expmed.c sanitizer detects overflow
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Apr 30 11:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67485
--- Comment #1 from Vittorio Zecca <zeccav at gmail dot com> ---
Still in 6.1.0 at line 3162 of expmed.c
"val_so_far -= (HOST_WIDE_INT) 1 << log;"
../../gcc-6.1.0/gcc/expmed.c:3162:42: runtime error: signed integer overflow:
-9223372036854775808 - 1 cannot be represented in type 'long int'
More information about the Gcc-bugs
mailing list