This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/22089] [4,1 Regression] bootstrap ices / insn does not satisfy its constraints.
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2005 11:41:45 -0000
- Subject: [Bug target/22089] [4,1 Regression] bootstrap ices / insn does not satisfy its constraints.
- References: <20050616091751.22089.pluto@agmk.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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