gcc.dg/vmx/bug-2.c fails at -O3 with the following ICE: /home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/vmx/bug-2.c:24:1: internal compiler error: in build_int_cst_wide, at tree.c:1147
Which is caused by the fold_binary call here: #10 0x109fe834 in ipcp_lattice_from_jfunc (info=0x1119b3b0, lat=0xff90c4ec, jfunc=0x1119bc98) at /home/apinski/src/local/gcc/gcc/ipa-cp.c:302 302 cst = fold_binary (jfunc->value.pass_through.operation, (gdb) p debug_generic_expr (cst) 1.0e+0 $1 = void (gdb) p debug_generic_expr (jfunc->value.pass_through.operand) 1.0e+0 I will see if I can get a non PowerPC specific testcase soon. -- Summary: [4.5 Regression] ICE due to IPCP trying to create/fold a REAL typed comparision Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: powerpc*-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41661