[LLVMbugs] [Bug 23805] New: [OMP] Assertion `!Scope.isNormalCleanup() || !HasPrebranchedFallthrough || (Scope.getNormalBlock() && FallthroughSource->getTerminator()->getSuccessor(0) == Scope.getNormalBlock())' failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 9 17:41:50 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23805

            Bug ID: 23805
           Summary: [OMP] Assertion `!Scope.isNormalCleanup() ||
                    !HasPrebranchedFallthrough || (Scope.getNormalBlock()
                    && FallthroughSource->getTerminator()->getSuccessor(0)
                    == Scope.getNormalBlock())' failed
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Build the following test case with:

clang -cc1 -O3 -fopenmp contrast_domain-29da62.cpp -emit-obj

contrast_domain-29da62.cpp:

int a;
void fn1() {
#pragma omp for
  for (int j = 0; j < a; j++)
    ;
}

-- 
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/20150610/e0faad28/attachment.html>


More information about the llvm-bugs mailing list