https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50525
--- Comment #6 from Vittorio Zecca <zeccav at gmail dot com> --- Still in trunk. The NAG nagfor and Intel ifort compilers detect the issue. ifort -S -w gfbug72.f gfbug72.f(4): error #6482: An ENTRY dummy argument is referenced in an executable statement before it appears in any ENTRY statement. [X] f(y)=x ! this is wrong -----------^ compilation aborted for gfbug72.f (code 1) [vitti f95]$nagfor -S -w gfbug72.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Error: gfbug72.f, line 4: Dummy arg X used before first occurrence in an argument list [NAG Fortran Compiler error termination, 1 error]