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/39718] [cond-optab] crash on crx in IRA



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


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