[Bug target/39718] [cond-optab] crash on crx in IRA

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 10 15:25:00 GMT 2009



------- Comment #1 from bonzini at gnu dot org  2009-04-10 15:25 -------
Another testcase, this one failing at -O2:

void foo (unsigned int n)
{
  int i, j = -1;

  for (i = 0; i < 10 && j < 0; i++)
      if ((1UL << i) == n)
        j = i;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39718



More information about the Gcc-bugs mailing list