[Bug tree-optimization/48768] [4.6/4.7 Regression] ICE in get_expr_operands()
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 08:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48768
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.04.26 08:35:09
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |4.6.1
Summary|ICE in get_expr_operands() |[4.6/4.7 Regression] ICE in
| |get_expr_operands()
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-26 08:35:09 UTC ---
Smaller testcase for -O -g:
int a, b;
int
bar (void)
{
int i, j = 1;
for (i = 0; i != 10; i++)
{
lab:
if (i)
{
int *k = &j;
}
else if (j)
goto lab;
}
return 1;
}
inline int
foo (int x)
{
unsigned int c = x;
int d = x;
if (bar ())
for (; c; c++)
while (x >= 0)
if (foo (d) >= 0)
{
d = bar ();
a = b ? b : 1;
}
return 0;
}
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160124
More information about the Gcc-bugs
mailing list