http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46834
Summary: [4.6 Regression] ICE: verify_ssa failed: missing
definition with -fgraphite-identity -ffast-math
-fno-tree-dce
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 22669
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22669
reduced testcase
Compiler output:
$ gcc -O -fgraphite-identity -ffast-math -fno-tree-dce testcase.c
testcase.c: In function 'foo':
testcase.c:3:6: error: missing definition
for SSA_NAME: M3$1_6 in statement:
M3$1_41 = M3$1_6;
testcase.c:3:6: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
There are several testsuite failures, with the same ICE message. Maybe some
need different flags though: (-fno-tree-dce is probably the important flag)
$ grep 'internal compiler error' x86_64-unknown-linux-gnu/*/testsuite/*.log
gcc/testsuite/*/*.log | grep -v FAIL: | grep 'verify_ssa' | cut -f 10- -d/ |
sort | uniq
gcc.dg/graphite/block-1.c:13:1: internal compiler error: verify_ssa failed
gcc.dg/graphite/block-1.c:13:1: internal compiler error: verify_ssa failed
gcc.dg/graphite/id-26.c:1:5: internal compiler error: verify_ssa failed
gcc.dg/graphite/id-26.c:1:5: internal compiler error: verify_ssa failed
gcc.dg/graphite/interchange-1.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-1.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-10.c:11:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-10.c:11:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-11.c:11:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-11.c:11:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-2.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-2.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-3.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-3.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-4.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-4.c:13:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-7.c:14:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-7.c:14:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-9.c:12:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/interchange-9.c:12:1: internal compiler error: verify_ssa
failed
gcc.dg/graphite/pr42914.c:3:5: internal compiler error: verify_ssa failed
gcc.dg/graphite/pr42914.c:3:5: internal compiler error: verify_ssa failed
Tested revisions:
r167471 - crash
r167424 - crash
r165699 - OK
4.5 r166509 - OK