[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-12 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #17 from Matthias Klose --- patch posted at http://gcc.gnu.org/ml/gcc-patches/2014-05/msg00785.html

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #15 from joseph at codesourcery dot com --- I think that if the order in which the handlers are executed matters, something is too fragile in those handlers.

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #14 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #13) > This builds gfortran and fixes the testcase, but I haven't tested it beyond > that. Together with the patch in comment #10, of course.

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #13 from Manuel López-Ibáñez --- This builds gfortran and fixes the testcase, but I haven't tested it beyond that. Index: lang.opt === --- lang.opt(revision 210292)

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 Manuel López-Ibáñez changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Commen

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #11 from Manuel López-Ibáñez --- Note that the above code is broken in other ways: -Wno-unused-parameter -Wextra will enable -Wunused-parameter, which is not what should happen.

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #10 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #7) > (In reply to Florian Weimer from comment #0) > > The gfortran.dg/wextra_1.f test case assumes that -Wextra enables > > -Wununused-parameter, but this

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #9 from Matthias Klose --- Am 09.05.2014 18:02, schrieb manu at gcc dot gnu.org: > I don't understand how it was working before. What is exactly the > command-line passed to that testcase? the test passes just -Wextra, adding either a

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #8 from Manuel López-Ibáñez --- (In reply to Tobias Burnus from comment #6) > Thus, in GCC - whether Fortran or C - it is enabled with -Wextra, but only > if also -Wunused is used. The latter is implied by -Wall. This is not necessari

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #7 from Manuel López-Ibáñez --- (In reply to Florian Weimer from comment #0) > The gfortran.dg/wextra_1.f test case assumes that -Wextra enables > -Wununused-parameter, but this does not happen. No warning is printed on > line 4, lead

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #6 from Tobias Burnus --- (In reply to Florian Weimer from comment #3) > (In reply to Matthias Klose from comment #2) > > -Wunused-parameter is enabled by -Wall. I'm surprised that -Wextra is used > > without -Wall, but it happens in t

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #5 from Matthias Klose --- "-Wunused-parameter is not included in -Wall but is implied by -Wall -Wextra" would mean that the test case assumes that it it is implied by -Wextra only.

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #4

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread fweimer at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #3 from Florian Weimer --- (In reply to Matthias Klose from comment #2) > -Wunused-parameter is enabled by -Wall. I'm surprised that -Wextra is used > without -Wall, but it happens in the testsuite in more places. This is not what the

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org,

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|