https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104649
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:c6430d3e6d3279c7e4be9d189031a17bb3dec347 commit r14-4983-gc6430d3e6d3279c7e4be9d189031a17bb3dec347 Author: Harald Anlauf <anl...@gmx.de> Date: Thu Oct 26 22:32:35 2023 +0200 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 <ka...@gcc.gnu.org>