public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/115577] New: [OpenMP] COMMON names rejected in MAP clauses
@ 2024-06-21  9:53 burnus at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: burnus at gcc dot gnu.org @ 2024-06-21  9:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115577
           Summary: [OpenMP] COMMON names rejected in MAP clauses
           Product: gcc
           Version: 15.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: ---

Using  map(/common/)  is rejected in gfortran but is valid:

   10 |    !$omp target enter data map(/mycommon/)
      |                                1
Error: Syntax error in OpenMP variable list at (1)

( Example from PR fortran/115559
  Please update libgomp.fortran/declare-target-link-2.f90 once fixed )

subroutine one
   integer :: A(2),C
   real :: B
   common /mycommon/ A,B,C
   !$omp declare target link(/mycommon/)

   A = [1,2]; B = 2.0; C = 7
   !$omp target enter data map(/mycommon/)
end

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

only message in thread, other threads:[~2024-06-21  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21  9:53 [Bug fortran/115577] New: [OpenMP] COMMON names rejected in MAP clauses burnus 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).