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
* [Bug fortran/101333] gfortran fails to enforce C711 on assumed-type actual arguments
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 ` cvs-commit at gcc dot gnu.org
2021-10-21 21:10 ` sandra at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-24 17:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101333
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <sandra@gcc.gnu.org>:
https://gcc.gnu.org/g:2364250eccc389a5f9820ac55f8260d34f229e73
commit r12-3883-g2364250eccc389a5f9820ac55f8260d34f229e73
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Thu Sep 23 15:00:43 2021 -0700
Fortran: Add missing diagnostic for F2018 C711 (TS29113 C407c)
2021-09-24 Sandra Loosemore <sandra@codesourcery.com>
PR fortran/101333
gcc/fortran/
* interface.c (compare_parameter): Enforce F2018 C711.
gcc/testsuite/
* gfortran.dg/c-interop/c407c-1.f90: Remove xfails.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/101333] gfortran fails to enforce C711 on assumed-type actual arguments
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
1 sibling, 0 replies; 3+ messages in thread
From: sandra at gcc dot gnu.org @ 2021-10-21 21:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101333
sandra at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from sandra at gcc dot gnu.org ---
This has been fixed.
^ 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).