[llvm-bugs] [Bug 44024] New: runtime assert fail with --fopenmp-version=50 due to nonmonotonic default modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 16 08:35:24 PST 2019


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

            Bug ID: 44024
           Summary: runtime assert fail with --fopenmp-version=50 due to
                    nonmonotonic default modifier
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: a.bataev at hotmail.com
          Reporter: jdenny.ornl at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm working at commit 1ee84e5ab2a4 on Ubuntu 18.04.3.

$ cat test.c
int main() {
  #pragma omp target teams num_teams(2)
  #pragma omp distribute
  for (int i = 0; i < 2; ++i)
    ;
  return 0;
}
$ clang -fopenmp -fopenmp-version=50 test.c
$ ./a.out
 Assertion failure at kmp_sched.cpp(374): __kmpc_for_static_init: unknown
scheduling type.
OMP: Error #13: Assertion failure at kmp_sched.cpp(374).
OMP: Hint Please submit a bug report with this message, compile and run
commands used, and machine configuration info including native compiler and
operating system versions. Faster response will be obtained by including all
program sources. For information on submitting this issue, please see
https://bugs.llvm.org/.
Aborted (core dumped)

Reverting 07a3b59279c4 fixes this.

-- 
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/20191116/19d794ac/attachment-0001.html>


More information about the llvm-bugs mailing list