https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Dominique d'Humieres changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Dominique d'Humieres changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #19 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Dominique d'Humieres changed:
What|Removed |Added
CC||physiker at toast2 dot net
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Manuel López-Ibáñez changed:
What|Removed |Added
CC||exodus6395 at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
Known to work||6.0
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #15 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
Author: manu
Date: Mon Jun 29 16:25:26 2015
New Revision: 225135
URL: https://gcc.gnu.org/viewcvs?rev=225135root=gccview=rev
Log:
Wunused-parameter warnings are given from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |manu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #11 from Dominique d'Humieres dominiq at lps dot ens.fr ---
(It would be interesting to know at which GCC version or revision
the warning started appearing).
The warning for unused parameters appeared at r126486 (pr31129) and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #12 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #11)
(It would be interesting to know at which GCC version or revision
the warning started appearing).
The warning for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #13 from Dominique d'Humieres dominiq at lps dot ens.fr ---
As I said in comment #4, GCC 4.3.1 had this warning and the warning option
was enabled for the testcase but the warning did not trigger. When did
it start triggering?
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #10 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to Manuel López-Ibáñez from comment #9)
I still think this is a latent bug in the way that Fortran is generating the
PARAM_DECL for time, but if the Fortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #9 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #8)
If so, then the ICE was not caused by my diagnostic changes, it just
exposes a
problem that has been latent or
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #8 from Dominique d'Humieres dominiq at lps dot ens.fr ---
If so, then the ICE was not caused by my diagnostic changes, it just exposes a
problem that has been latent or introduced later. Thus, I'm not planning to
investigate
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #4 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
This is the warning we get when fixed:
/home/manuel/test3/src/gcc/testsuite/gfortran.dg/wunused-parameter.f90:8:0:
SUBROUTINE sub (neq, time, y, dydt)
^
Warning: unused
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr ---
BTW, is the resulting warning actually correct?
According the gfortran manual
-Wunused-parameter
Contrary to gcc's meaning of -Wunused-parameter, gfortran's implementation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #7 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #5)
If I understand correctly the above statement, -Wunused-parameter should not
emit a warning for the test in comment 0: there
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #3 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
BTW, is the resulting warning actually correct?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #6 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
Another alternative is to add support for printing %D to gfc_format_decoder, it
is a matter of adding something like:
case 'D':
if (DECL_NAME (t))
{
pp_string (pp,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605
--- Comment #1 from Kyle kyle.niemeyer at gmail dot com ---
I should note that removing -Wunused-parameter allows compilation without
error.
20 matches
Mail list logo