public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/64973] New: Duplicate use-statements could be diagnosed
@ 2015-02-08 15:38 mikael at gcc dot gnu.org
2015-02-08 15:39 ` [Bug fortran/64973] " mikael at gcc dot gnu.org
2015-02-13 11:50 ` dominiq at lps dot ens.fr
0 siblings, 2 replies; 3+ messages in thread
From: mikael at gcc dot gnu.org @ 2015-02-08 15:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64973
Bug ID: 64973
Summary: Duplicate use-statements could be diagnosed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: mikael at gcc dot gnu.org
This is a followup to PR63744 and was suggested in:
https://gcc.gnu.org/ml/fortran/2015-02/msg00036.htm
We accept duplicate use-rename statements like:
use m, only: A => X
use m, only: A => X
But it doesn't make sense for someone to type them twice, so they may actually
be a typo. The compiler could diagnose it, probably under some flag
(Dominique suggested -Wall).
There is also:
use m, only: A => X, A => X
and also:
use m
use m
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/64973] Duplicate use-statements could be diagnosed
2015-02-08 15:38 [Bug fortran/64973] New: Duplicate use-statements could be diagnosed mikael at gcc dot gnu.org
@ 2015-02-08 15:39 ` mikael at gcc dot gnu.org
2015-02-13 11:50 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 3+ messages in thread
From: mikael at gcc dot gnu.org @ 2015-02-08 15:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64973
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Priority|P3 |P4
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/64973] Duplicate use-statements could be diagnosed
2015-02-08 15:38 [Bug fortran/64973] New: Duplicate use-statements could be diagnosed mikael at gcc dot gnu.org
2015-02-08 15:39 ` [Bug fortran/64973] " mikael at gcc dot gnu.org
@ 2015-02-13 11:50 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-13 11:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64973
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-02-13
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-13 11:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-08 15:38 [Bug fortran/64973] New: Duplicate use-statements could be diagnosed mikael at gcc dot gnu.org
2015-02-08 15:39 ` [Bug fortran/64973] " mikael at gcc dot gnu.org
2015-02-13 11:50 ` dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).