[Bug c++/71458] ICE with -fsanitize=bounds
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 9 08:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71458
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Minimal test-case:
enum {} a[0];
void fn1(int);
void fn2() { fn1(a[-1]); }
Minimal command line arguments:
g++ pr.ii -fsanitize=bounds -fcheck-pointer-bounds -mmpx
I've got a patch that fixes that, will send it soon.
More information about the Gcc-bugs
mailing list