[Bug fortran/54224] Warn for unused internal procedures

2015-11-06 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #31 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Fri Nov 6 21:49:18 2015 New Revision: 229894 URL: https://gcc.gnu.org/viewcvs?rev=229894=gcc=rev Log: 2015-11-06 Dominique d'Humieres PR

[Bug fortran/54224] Warn for unused internal procedures

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

[Bug fortran/54224] Warn for unused internal procedures

2015-11-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #30 from Dominique d'Humieres --- > so I give up. I am planning to submit the following patch, open a new PR > for the bad locus, then close this PR as fixed. The new PR won't be necessary: it is already pr63327.

[Bug fortran/54224] Warn for unused internal procedures

2015-11-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #25 from Dominique d'Humieres --- > Nonetheless, as a work-around, you could use: > >unsigned int offset = loc->nextc - loc->lb->line; >location = linemap_position_for_loc_and_offset (line_table, >

[Bug fortran/54224] Warn for unused internal procedures

2015-11-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #29 from Dominique d'Humieres --- I have tried the following patch --- ../_clean/gcc/fortran/trans-decl.c 2015-10-29 18:20:14.0 +0100 +++ gcc/fortran/trans-decl.c2015-11-03 19:39:39.0 +0100 @@ -285,7 +285,11 @@

[Bug fortran/54224] Warn for unused internal procedures

2015-11-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #28 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #27) > > At some moment, the Fortran FE sets DECL_SOURCE_LOCATION() on a tree, > > probably using loc->lb->line. Finding out where this happens probably

[Bug fortran/54224] Warn for unused internal procedures

2015-11-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #27 from Dominique d'Humieres --- > At some moment, the Fortran FE sets DECL_SOURCE_LOCATION() on a tree, > probably using loc->lb->line. Finding out where this happens probably > requires a bit of debugging. /* Set the backend

[Bug fortran/54224] Warn for unused internal procedures

2015-11-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #26 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #25) > > Nonetheless, as a work-around, you could use: > > > >unsigned int offset = loc->nextc - loc->lb->line; > >location =

[Bug fortran/54224] Warn for unused internal procedures

2015-09-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 Dominique d'Humieres changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug fortran/54224] Warn for unused internal procedures

2015-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug fortran/54224] Warn for unused internal procedures

2015-09-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/54224] Warn for unused internal procedures

2015-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #24 from Manuel López-Ibáñez --- (In reply to Dominique d'Humieres from comment #23) > > I'm not a Fortran dev, but I would humbly suggest to add this testcase > > to the regression testsuite before closing the bug. > > OK.

[Bug fortran/54224] Warn for unused internal procedures

2015-06-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.8.3 |---

[Bug fortran/54224] Warn for unused internal procedures

2013-08-19 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 janus at gcc dot gnu.org changed: What|Removed |Added Summary|Warn for unused (private) |Warn for unused internal