http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55438
Bug #: 55438 Summary: [4.8 Regression]: tmpdir-gcc.dg-struct-layout-1/t001 - t028 ICE Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: rsand...@gcc.gnu.org Host: x86_64-unknown-linux-gnu Target: cris-axis-elf Created attachment 28761 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28761 cc1 -fpreprocessed t001_x.i -melf -quiet -dumpbase t001_x.c -auxbase-strip c_compat_x_tst.o -Wno-abi -w -version -fno-diagnostics-show-caret -o t001_x.s These tests previously passed, now they fail. A patch in the revision range (last_known_working:first_known_failing) 193600:193604 exposed or caused these regressions. Since then they fail as follows: Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ... FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_y_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o compile, (internal compiler error) FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_y_tst.o compile, (internal compiler error) and similarly for g++.dg/compat/struct-layout-1.exp The messages in gcc.log are similar: Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/ -fno-diagnostics-show-caret -w -I/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat -Wno-abi -DSKIP_DECIMAL_FLOAT -DSKIP_DECIMAL_FLOAT -c -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -o c_compat_x_tst.o /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_x.c (timeout = 300) xgcc: internal compiler error: Segmentation fault (program cc1) 0x4082c1 execute /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:2772 0x409214 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:4564 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 0x409875 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 0x409875 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218 0x409724 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5323 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 0x409875 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 0x409875 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 0x409875 do_spec_1 /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5218 0x40b647 process_brace_body /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5821 0x40b647 handle_braces /tmp/hpautotest-gcc1/gcc/gcc/gcc.c:5735 Please submit a full bug report, (A guess is that the backtrace from xgcc is due to cc1 not ICE:ing but SEGV:ing. Revisions at least around the mentioned range may instead consume excessive memory; > 10 GiB, and are killed by the kernel OOM.) Preprocessed t001_x.i and command-line is attached. Author of all commits in the revision range CC:ed. Note that when compiling any of the revisions r193595 .. r193667 on a host with gcc-4.5 or earlier (possibly later versions as well) you need to apply revision r193667.