[Bug target/22089] [4,1 Regression] bootstrap ices / insn does not satisfy its constraints.
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 16 11:42:00 GMT 2005
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-16 11:41 -------
Confirmed.
The following testcase crashes the mainline compiler (-O -march=pentium4):
=========================================
struct A
{
struct A* p;
};
int bar(struct A*, struct A*);
int baz();
void foo (int i, struct A* q)
{
char c, d = 1;
while (i)
{
if (q)
c = 1;
if (q->p->p)
d = 0;
if (bar (q->p->p, q->p))
c = 0;
--i;
}
if (c && d && baz ())
return;
}
=========================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-06-16 11:41:41
date| |
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22089
More information about the Gcc-bugs
mailing list