public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/101333] New: gfortran fails to enforce C711 on assumed-type actual arguments
@ 2021-07-05 18:15 sandra at gcc dot gnu.org
  2021-09-24 17:08 ` [Bug fortran/101333] " cvs-commit at gcc dot gnu.org
  2021-10-21 21:10 ` sandra at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sandra at gcc dot gnu.org @ 2021-07-05 18:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101333
           Summary: gfortran fails to enforce C711 on assumed-type actual
                    arguments
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sandra at gcc dot gnu.org
  Target Milestone: ---

C711 in the 2018 Fortran standard (originally C407c in TS 29113) says:  "An
assumed-type actual argument that corresponds to an assumed-rank dummy argument
shall be assumed-shape or assumed-rank."

gfortran is failing to diagnose violations when an assumed-size array or scalar
is passed.

Test case is c407-1.f90 from the TS29113 testsuite, WIP version posted here:

https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574115.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-21 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05 18:15 [Bug fortran/101333] New: gfortran fails to enforce C711 on assumed-type actual arguments sandra at gcc dot gnu.org
2021-09-24 17:08 ` [Bug fortran/101333] " cvs-commit at gcc dot gnu.org
2021-10-21 21:10 ` sandra 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).