[Bug c++/83170] ice in verify_use with -O3
skpgkp1 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 27 18:24:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83170
Sunil Pandey <skpgkp1 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |skpgkp1 at gmail dot com
--- Comment #3 from Sunil Pandey <skpgkp1 at gmail dot com> ---
Seems like I hit the same bug with following test case. It appear during
GCompris and mednafen application build with GCC8.
$cat book.i.c
a;
char b[8];
c() {
int d = 0;
for (; d < 2; d++) {
b[d] = 5;
b[4 + d] = a >> d * 8;
}
}
$gcc --version
gcc (GCC) 8.0.0 20171126 (experimental)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$gcc -O2 -c -o book.i.c.o book.i.c -w
during GIMPLE pass: store-merging
book.i.c: In function ‘c’:
book.i.c:3:1: internal compiler error: Segmentation fault
c() {
^
0xd1e4ff crash_signal
../../gcc-main.3O1I/gcc/toplev.c:325
0x7ffff713a71f ???
/usr/src/debug/glibc-2.26-65-ga76376df7c/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xebac4b verify_use
../../gcc-main.3O1I/gcc/tree-ssa.c:864
0x72478b verify_ssa(bool, bool)
../../gcc-main.3O1I/gcc/tree-ssa.c:1141
0xc50eed execute_function_todo
../../gcc-main.3O1I/gcc/passes.c:2001
0xc5184e execute_todo
../../gcc-main.3O1I/gcc/passes.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
More information about the Gcc-bugs
mailing list