This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/67485] expmed.c sanitizer detects overflow
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2016 09:05:44 +0000
- Subject: [Bug middle-end/67485] expmed.c sanitizer detects overflow
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-67485-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67485
Vittorio Zecca <zeccav at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|5.2.0 |7.0
--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> ---
Still in trunk:
~/1tb/vitti/local/gcc-7-undefined/bin/gcc -S gccerr28.c
/home/vitti/1tb/vitti/test/gcc-trunk-239276/gcc/expmed.c:3115:15: runtime
error: signed integer overflow: -9223372036854775808 - 1 cannot be represented
in type 'long int [3]'
expmed.c:3115 is ""val_so_far -= HOST_WIDE_INT_1 << log;