[Bug tree-optimization/52091] [4.7 Regression] ICE: verify_gimple failed
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 2 04:53:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52091
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-02
Host|x86_64-unknown-linux-gnu |
Ever Confirmed|0 |1
Build|x86_64-unknown-linux-gnu |
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 04:53:25 UTC ---
Confirmed reduced testcase:
int b,c,d,f;
unsigned h;
void fn52 (void)
{
for (f = 4; f; f--)
{
h &= (unsigned short)d;
for (b = 0; b <= 1; b++)
{
c = 0;
d &= 1;
}
}
}
---- CUT ----
Note also:
int b,c,d,f;
unsigned h;
void fn52 (void)
{
for (f = 4; f; f--)
{
h &= d;
for (b = 0; b <= 1; b++)
{
c = 0;
d &= 1;
}
}
}
---- CUT ----
Gives a slightly different ICE:
t.c: In function ‘fn52’:
t.c:4:6: internal compiler error: in get_initial_def_for_reduction, at
tree-vect-loop.c:3391
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list