public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/113279] New: OpenMP 5 - Audit GOMP_MAP_FIRSTPRIVATE_REFERENCE handling for references to pointers to pointers
@ 2024-01-08 18:21 jules at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: jules at gcc dot gnu.org @ 2024-01-08 18:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113279

            Bug ID: 113279
           Summary: OpenMP 5 - Audit GOMP_MAP_FIRSTPRIVATE_REFERENCE
                    handling for references to pointers to pointers
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jules at gcc dot gnu.org
  Target Milestone: ---

The patch (approved and soon to be committed) to support "lvalue" parsing for
C++ has a corner-case issue whereby references to pointers to pointers do not
quite work interchangeably with pointers to pointers (i.e. when implicitly
mapped). See the "ref2ptrptr_offset_decl_member_slice" functions in the libgomp
test cases baseptrs-4.C and baseptrs-6.C.

https://gcc.gnu.org/pipermail/gcc-patches/2024-January/641924.html

It is possible that a slight semantic tweak to GOMP_MAP_FIRSTPRIVATE_REFERENCE
handling in gimplify.cc or omp-low.cc might be able to repair these cases, if
indeed that is required by the spec.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-08 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08 18:21 [Bug middle-end/113279] New: OpenMP 5 - Audit GOMP_MAP_FIRSTPRIVATE_REFERENCE handling for references to pointers to pointers jules at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).