This is the mail archive of the gcc@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]

Re: fatal error: internal consistency failure on Linux/ia64


Jan-Benedict Glaw wrote:
On Mon, 2006-05-22 21:42:07 -0700, Andrew Pinski <pinskia@physics.uc.edu> wrote:
On May 22, 2006, at 9:36 PM, H. J. Lu wrote:
on Linux/ia64. The last working revision is 113936. Linux/x86 and
Linux/x86-64 pass the same spot. Has anyone else seen it?
Yes for hppa-linux-gnu, PR 27736.

Hi! Here is a minimal reproducer if someone needs regression test.

typedef struct fibnode
{
  struct fibnode *parent;
  __extension__ unsigned long int degree : 31;
  __extension__ unsigned long int mark : 1;
} *fibnode_t;


void fibheap_cut (fibnode_t, fibnode_t); void fibheap_cascading_cut (fibnode_t);

void
fibheap_cascading_cut (fibnode_t y)
{
  fibnode_t z;
  while ((z = y->parent) != 0)
    {
      if (y->mark == 0)
        {
          y->mark = 1;
          return;
        }
      else
        {
          fibheap_cut (y, z);
          y = z;
        }
    }
}

- Grigory


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