This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/22089] [4,1 Regression] bootstrap ices / insn does not satisfy its constraints.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]