http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-03-30 15:12:38 UTC --- So? Note that you have also [macbook] f90/bug% gfc -Wall pr52789.f90 pr52789.f90:1.14: subroutine s(x) 1 Warning: Unused dummy argument 'x' at (1) [macbook] f90/bug% gfc -Wall -Wextra pr52789.f90 pr52789.f90:2.23: integer, parameter :: i = 0 1 Warning: Unused parameter 'i' declared at (1) pr52789.f90:1.14: subroutine s(x) 1 Warning: Unused dummy argument 'x' at (1) for gcc version 4.4.6 up to 4.8.0 (trunk).