This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52091] [4.7 Regression] ICE: verify_gimple failed
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 04:53:25 +0000
- Subject: [Bug tree-optimization/52091] [4.7 Regression] ICE: verify_gimple failed
- Auto-submitted: auto-generated
- References: <bug-52091-4@http.gcc.gnu.org/bugzilla/>
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.