GCC mainline gets an ICE compiling crafty from SPEC CPU2000 on powerpc64-linux: elm3b149% /home/janis/tools/gcc-mline-20050421/bin/gcc -m64 -O2 -ftree-vectorize -maltivec -c crafty_bug.c crafty_bug.c: In function ‘main’: crafty_bug.c:31: internal compiler error: tree check: expected ssa_name, have var_decl in ssa_mark_def_sites, at tree-into-ssa.c:3055 The test case, extracted from crafty's main.c, is still pretty big, but taking out anything else made it work. I tried it on another system where it got a segfault instead, and some small changes caused segfaults with the compiler which I was reducing it. I first see the ICE with this patch from law but it might merely be a latent bug, particularly since the test case is so touchy: http://gcc.gnu.org/ml/gcc-cvs/2005-04/msg00808.html -- Summary: ICE in ssa tree check compiling crafty with -ftree- vectorize -maltivec Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc64-linux GCC host triplet: powerpc64-linux GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21155