[LLVMbugs] [Bug 18753] New: Assertion `currentLoop->isLCSSAForm(*DT)' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 6 05:51:18 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18753

            Bug ID: 18753
           Summary: Assertion `currentLoop->isLCSSAForm(*DT)' failed.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kcc at google.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

at r200919:



a;
b;
c[];
d;
e;
static
check_1minuseps () {
  int f;
  for (; sizeof 0; f++)
    for (; d; d++)
      for (; e; e++)
        for (; a; a++) {
          mpfr_prec_round (c[f]);
          b || mpfr_equal_p ();
          if (b) {
            printf ("ia =     %u\n", f);
            exit (0);
          }
        }
}
main () {
  check_1minuseps ();
}

clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 a.c

virtual bool {anonymous}::LoopUnswitch::runOnLoop(llvm::Loop*,
llvm::LPPassManager&): Assertion `currentLoop->isLCSSAForm(*DT)' failed.


test case reduced from mpfr-3.1.2
This is similar to http://llvm.org/bugs/show_bug.cgi?id=18688,
but happens after the fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140206/d9b1d39b/attachment.html>


More information about the llvm-bugs mailing list