https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105332
Bug ID: 105332 Summary: [OpenMP] Remove bogus 'ALIGNED clause must be POINTER, ALLOCATABLE, Cray pointer or C_PTR' Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp, rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- GCC rejects code with 'ALIGNED clause must be POINTER, ALLOCATABLE, Cray pointer or C_PTR' but that restriction is not in OpenMP 5.1. (The restriction did get into OpenMP 5.2 during the syntax restructuring, but it seems to be an accidental change. On the spec side is tracked in https://github.com/OpenMP/spec/issues/3279 (non-public) – and I expect that this restriction gets deleted for the next TR (and then OpenMP 6.0).)