https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83646
Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldot at gcc dot gnu.org --- Comment #2 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> --- Seems to compile with 10.3.0 and 11.2.0 $ gfortran-10 -c /tmp/pr83646.f90 -o /tmp/pr.o -W -Wall -Wextra -fdump-tree-original && gfortran-10 --version | head -n1 /tmp/pr.f90:10:20: 10 | subroutine sub( a ) | 1 Warning: Unused dummy argument ‘a’ at (1) [-Wunused-dummy-argument] GNU Fortran (Debian 10.3.0-11) 10.3.0