This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/57214] [4.9 Regression] ice: tree check: expected ssa_name, have integer_cst in coalesce_partitions, at tree-ssa-coalesce.c:1194
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 May 2013 17:40:49 +0000
- Subject: [Bug tree-optimization/57214] [4.9 Regression] ice: tree check: expected ssa_name, have integer_cst in coalesce_partitions, at tree-ssa-coalesce.c:1194
- Auto-submitted: auto-generated
- References: <bug-57214-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57214
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced:
extern int baz (void);
extern int foo (void) __attribute__ ((returns_twice));
void
bar (_Bool b)
{
int buf[1];
while (1)
{
_Bool x = 1;
if (b)
baz ();
b = 1;
baz ();
x = 0;
int i;
while (buf[i] && i)
i++;
foo ();
if (!x)
b = 0;
}
}