[Bug c/101089] New: [OpenMP] Diagnostic difference with clang
lebedev.ri at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 16 09:36:41 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101089
Bug ID: 101089
Summary: [OpenMP] Diagnostic difference with clang
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: lebedev.ri at gmail dot com
Target Milestone: ---
https://godbolt.org/z/KPc5hM3f9
clang:
<source>:4:39: error: variable 'c' must have explicitly specified data sharing
attributes
#pragma omp parallel for simd aligned(c) firstprivate(a) default(none)
^
<source>:4:66: note: explicit data sharing attribute requested here
#pragma omp parallel for simd aligned(c) firstprivate(a) default(none)
^
1 error generated.
Compiler returned: 1
gcc:
no diagnostic.
More information about the Gcc-bugs
mailing list