public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/108686] New: Spurious -Wc-binding-type diagnostics when including omp_lib.h
@ 2023-02-06 19:00 rimvydas.jas at gmail dot com
  0 siblings, 0 replies; only message in thread
From: rimvydas.jas at gmail dot com @ 2023-02-06 19:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108686
           Summary: Spurious -Wc-binding-type diagnostics when including
                    omp_lib.h
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rimvydas.jas at gmail dot com
  Target Milestone: ---

$ cat test.f90
subroutine foo
include 'omp_lib.h'
end subroutine

$ gfortran -Wall -c test.f90
omp_lib.h:389:47:

Warning: Variable 'depobj_list' at (1) is a dummy argument of the BIND(C)
procedure 'omp_target_memcpy_async' but may not be C interoperable
[-Wc-binding-type]
omp_lib.h:429:58:

Warning: Variable 'depobj_list' at (1) is a dummy argument of the BIND(C)
procedure 'omp_target_memcpy_rect_async' but may not be C interoperable
[-Wc-binding-type]

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

only message in thread, other threads:[~2023-02-06 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 19:00 [Bug fortran/108686] New: Spurious -Wc-binding-type diagnostics when including omp_lib.h rimvydas.jas at gmail dot com

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).