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.