https://bugs.llvm.org/show_bug.cgi?id=48394
Bug ID: 48394
Summary: Use of omp atomic causes a compile-time error
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: OpenMP
Assignee: unassignedclangb...@nondot.org
Reporter: a335p...@uwaterloo.ca
CC: llvm-bugs@lists.llvm.org
Created attachment 24236
--> https://bugs.llvm.org/attachment.cgi?id=24236&action=edit
This is an MWE that produces the relevant crash backtrace, the one that passes
is commented out.
In Clang 11.x, the attached code samples compile fine, but one causes a compile
time error in trunk. Both samples increment a variable in a taskloop with
#pragma omp atomic, but one declares the variable as shared and the other
doesn't, and the one that doesn't crashes clang (trunk).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs