[Bug tree-optimization/51245] [4.7 Regression] ICE in vn_reference_insert_pieces, at tree-ssa-sccvn.c:1983
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 25 09:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51245
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-25
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |4.7.0
Summary|ICE in |[4.7 Regression] ICE in
|vn_reference_insert_pieces, |vn_reference_insert_pieces,
|at tree-ssa-sccvn.c:1983 |at tree-ssa-sccvn.c:1983
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-25 08:30:15 UTC ---
Shorter testcase for -O2/-O3:
struct S { int s; } a, *b, **c;
int d;
struct S
foo (void)
{
struct S s = { 0 }, *e = &a;
if (d)
**c = *b;
while (1)
{
*b = s;
*e = *b;
if (a.s)
break;
}
return **c;
}
Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179556 aka
PR38885.
More information about the Gcc-bugs
mailing list