From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 91BDF3858C5F; Fri, 26 May 2023 19:00:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91BDF3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685127604; bh=Sad+2Pge1U3rBoe7KHCOXtPZrY0ZzHPfQcCz/n8FSmo=; h=From:To:Subject:Date:From; b=oOxvzN/Rcw3+IOt/8YpyG2zn87s6O9/UV4JSLP7Jgth2aYmsifsFGJuX0zi8F1E/4 +bXi5+UYWHH3x3ws2Da0Bc+jijToq6d1N5oXgq7xZkGlGr3O+PyDdl8nB3Lp/LELWv v1ORzBLJcD5pizPkU4jZ1F0QuD1SAvEHtMAauBNI= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109998] New: [OpenMP] TR12/5.0/5.1 - permit structure elements with '!$OMP ALLOCATORS' (and !$OMP ALLOCATE) Date: Fri, 26 May 2023 19:00:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109998 Bug ID: 109998 Summary: [OpenMP] TR12/5.0/5.1 - permit structure elements with '!$OMP ALLOCATORS' (and !$OMP ALLOCATE) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Cf. r14-1301-gd64e8e1224708e7f5b87c531aeb26f1ed07f91ff and in particular in openmp.cc the comment: Note that the executable ALLOCATE directive permits structure elements o= nly in OpenMP 5.0 and 5.1 but not longer in 5.2. See also the comment on the 'omp allocators' directive below. The accidental change was reverted for OpenMP TR12, permitting them again. See also gfc_match_omp_allocators. Hence, structure elements are rejected for now, also to make resolving OMP_LIST_ALLOCATE simpler (check for duplicates, same symbol in Fortran allocate stmt). TODO: Permit structure elements. EXPECTED: What the TODO says. For TR12 (OpenMP Spec Issue 3437), the description in the "allocators directive" section was changed to state: "The list items that appear in an *allocate* clause may include structure elements." (It does not talk about the *allocate* directive any more as TR11/TR12/6.0 removed deprecated features.)=