]> gcc.gnu.org Git - gcc.git/commit
Fortran: diagnostics of MODULE PROCEDURE declaration conflicts [PR104649]
authorHarald Anlauf <anlauf@gmx.de>
Thu, 26 Oct 2023 20:32:35 +0000 (22:32 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Fri, 27 Oct 2023 17:17:46 +0000 (19:17 +0200)
commitc6430d3e6d3279c7e4be9d189031a17bb3dec347
treeb67974696ca8b020ce5023cf87a5d4e3d6d953bd
parent9f3c4c673d769bd3f1d504d85b743ba250e68d7b
Fortran: diagnostics of MODULE PROCEDURE declaration conflicts [PR104649]

gcc/fortran/ChangeLog:

PR fortran/104649
* decl.cc (gfc_match_formal_arglist): Handle conflicting declarations
of a MODULE PROCEDURE when one of the declarations is an alternate
return.

gcc/testsuite/ChangeLog:

PR fortran/104649
* gfortran.dg/pr104649.f90: New test.

Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
gcc/fortran/decl.cc
gcc/testsuite/gfortran.dg/pr104649.f90 [new file with mode: 0644]
This page took 0.066731 seconds and 5 git commands to generate.