https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
Dominique d'Humieres changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #8 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Thu Feb 7 17:40:29 2019
New Revision: 268656
URL: https://gcc.gnu.org/viewcvs?rev=268656=gcc=rev
Log:
2019-02-07 Dominique d'Humieres
PR fortran/52789
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
Thomas Koenig changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #7 from Thomas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #6 from Dominique d'Humieres ---
With r258935 I get
% gfc pr52789.f90 -Wunused-parameter
pr52789.f90:2:23:
integer, parameter :: i = 0
1
Warning: Unused parameter 'i' declared at (1) [-Wunused-parameter]
%
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #3 from Thomas Koenig tkoenig at gcc dot gnu.org 2012-04-02
07:40:32 UTC ---
This may have been fixed with the fix for PR 48847.
Can you maybe check on trunk/4.7.0 ?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #4 from Mat Cross mathewc at nag dot co.uk 2012-04-02 08:03:22
UTC ---
(In reply to comment #3)
Can you maybe check on trunk/4.7.0 ?
I've just tried with
$ gfortran --version
GNU Fortran (GCC) 4.7.1 20120331 (prerelease)
$
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
Tobias Burnus burnus at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52789
--- Comment #2 from Mat Cross mathewc at nag dot co.uk 2012-03-30 16:22:34
UTC ---
(In reply to comment #1)
So?
If I RTM I see:
-Wunused-parameter
Contrary to gcc's meaning of -Wunused-parameter, gfortran's implementation
of this option