[llvm-bugs] [Bug 48658] New: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints used

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 4 14:23:50 PST 2021


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: unassignedclangbugs at nondot.org
          Reporter: jhdavis at udel.edu
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210104/2fb9d0fd/attachment.html>


More information about the llvm-bugs mailing list