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

Reply via email to