This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52789] gfortran sets -Wunused-parameter in the C sense as well as the Fortran sense


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]