[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2016-04-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2016-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #19 from

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-12-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66605 Dominique d'Humieres changed: What|Removed |Added CC||physiker at toast2 dot net ---

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-09-07 Thread manu at gcc dot gnu.org
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 ---

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-29 Thread manu at gcc dot gnu.org
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 ---

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-29 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-26 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-25 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-25 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-25 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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?

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-24 Thread manu at gcc dot gnu.org
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,

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-20 Thread manu at gcc dot gnu.org
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

[Bug fortran/66605] -Wunused-parameter causes internal compiler error with gfortran 5.1.0

2015-06-19 Thread kyle.niemeyer at gmail dot com
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.