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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to