http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48129
Summary: [4.7 Regression]: gcc.c-torture/execute/builtins/snprintf-chk.c ICE Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: regression AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: ja...@gcc.gnu.org Target: cris-axis-elf Created attachment 23659 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23659 Preprocessed test-case, repeat ICE with "cc1 -fpreprocessed snprintf-chk.i -O0 -o snprintf-chk.s" With revision 170957 this test passed. >From revision 170968 and on, this test has failed as follows: Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp ... FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O0 (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O1 (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O2 (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O3 -fomit-frame-pointer -funroll-loops (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O3 -g (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -Os (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.c-torture/execute/builtins/snprintf-chk.c compilation, -O2 -flto (internal compiler error) With the message in the logfile being: /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/snprintf-chk.c: In function 'test2': /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/snprintf-chk.c:136:3: internal compiler error: Segmentation fault Preprocessed file attached. Author of suspect patch CC:ed.