[llvm-bugs] [Bug 48145] New: omp critical clause does not allow optional name argument
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 10 15:18:18 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48145
Bug ID: 48145
Summary: omp critical clause does not allow optional name
argument
Product: flang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Fortran IR
Assignee: unassignedbugs at nondot.org
Reporter: naromero at anl.gov
CC: David.Truby at arm.com, eric.schweitz at pgroup.com,
jperier at nvidia.com, kirankumartp at gmail.com,
llvm-bugs at lists.llvm.org
Created attachment 24147
--> https://bugs.llvm.org/attachment.cgi?id=24147&action=edit
omp critical clause with name argument
This reduced test case compiles with gfortran and ifort.
The optional [name] argument on the omp critical clause is not accepted by the
Flang front-end.
[naromero at naromero-desktop bugs]$ flang -c -fopenmp omp_critical.F90
omp_critical.F90:5:19: error: Internal: no symbol found for 'foo'
!$OMP CRITICAL (foo)
^^^
omp_critical.F90:7:23: error: Internal: no symbol found for 'foo'
!$OMP END CRITICAL (foo)
--
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/20201110/777e63b8/attachment-0001.html>
More information about the llvm-bugs
mailing list