https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50538
--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> --- Still present in current trunk. The compilers NAG nagfor and Intel ifort detect the issue. nagfor -S -w gfbug78.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Error: gfbug78.f, line 4: Dummy argument SUB has the same name as the subprogram detected at (@SUB [NAG Fortran Compiler pass 1 error termination, 1 error] [vitti f95]$ifort -S -w gfbug78.f gfbug78.f(4): error #6406: Conflicting attributes or multiple declaration of name. [SUB] entry e(sub) --------------^ compilation aborted for gfbug78.f (code 1)