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

            Bug ID: 48658
           Summary: [OpenMP 5.0] Compiler crash when OpenMP atomic sync
                    hints used
           Product: OpenMP
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 24348
  --> https://bugs.llvm.org/attachment.cgi?id=24348&action=edit
Zip of preprocessed source, run script, and compiler output.

Overview: Clang 11.0.0-rc1 crashes when compiling code using the OpenMP atomic
construct with a hint clause.

Steps to reproduce:

1. Compile with `clang -fopenmp atomic_hint_reproducer.c`

Actual results:

Clang crashes with illegal instruction error, see attached output file for
exact message.

Expected results:

Successful compilation.

Build & Hardware:

clang version 11.0.0 (https://github.com/llvm/llvm-project.git
d6875948aaade1cd39e5d9b373d02749dd1e58f2)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /sw/summit/llvm/11.0.0-rc1/11.0.0-rc1-0/bin

Additional Information:

Output, reproducer source, and run script attached in a zip. Reproducer uses
omp_sync_hint_contended, but crashes with any hint.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to