This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52789] gfortran sets -Wunused-parameter in the C sense as well as the Fortran sense
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Mar 2012 15:12:38 +0000
- Subject: [Bug fortran/52789] gfortran sets -Wunused-parameter in the C sense as well as the Fortran sense
- Auto-submitted: auto-generated
- References: <bug-52789-4@http.gcc.gnu.org/bugzilla/>
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).