public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31601] New: RFC: legacy-only allowed: State that code is allowed with -std=legacy ?
@ 2007-04-17 12:20 burnus at gcc dot gnu dot org
2007-04-17 13:05 ` [Bug fortran/31601] " tobi at gcc dot gnu dot org
0 siblings, 1 reply; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-17 12:20 UTC (permalink / raw)
To: gcc-bugs
Currently, it is far from obvious that rejected code might be compilable with
-std=legacy/-fno-range-check or similar (is there anything else?). I think one
could add a note to the error message:
Examples:
"Integer too big for its kind at %C" -> "Integer too big for its kind at %C.
Use -fno-range-check to disable this check"
"Duplicate PROTECTED attribute specified at %L" -> "Duplicate PROTECTED
attribute specified at %L. Use -std=legacy to disable this check"
If one does so, one might also consider to promote some of the STD_GNU to
STD_LEGACY. My candidate would be, e.g., re-typing of used symbols ("use a,
only: sym; integer sym").
--
Summary: RFC: legacy-only allowed: State that code is allowed
with -std=legacy ?
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31601
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <bug-31601-4@http.gcc.gnu.org/bugzilla/>]
* [Bug fortran/31601] RFC: legacy-only allowed: State that code is allowed with -std=legacy ?
[not found] <bug-31601-4@http.gcc.gnu.org/bugzilla/>
@ 2014-01-12 18:34 ` dominiq at lps dot ens.fr
2015-08-29 13:39 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-01-12 18:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31601
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Examples:
> "Integer too big for its kind at %C" -> "Integer too big for its kind at %C.
> Use -fno-range-check to disable this check"
One now gets
This check can be disabled with the option -fno-range-check
since at least 4.3.1.
> "Duplicate PROTECTED attribute specified at %L" -> "Duplicate PROTECTED
> attribute specified at %L. Use -std=legacy to disable this check"
From
if (!gfc_notify_std (GFC_STD_LEGACY,
"Duplicate PROTECTED attribute specified at %L",
where))
this has not yet been implemented. If this deemed of any relevance, this is the
kind of fix I can handle, otherwise this PR can be closed as WONTFIX. It would
help me if a test case already exists, but I can do without it.
Last question, are there other cases one can think of?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/31601] RFC: legacy-only allowed: State that code is allowed with -std=legacy ?
[not found] <bug-31601-4@http.gcc.gnu.org/bugzilla/>
2014-01-12 18:34 ` dominiq at lps dot ens.fr
@ 2015-08-29 13:39 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-08-29 13:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31601
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WONTFIX
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No answer to comment 1 since over a year and a half! Closing as WONTFIX.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-29 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 12:20 [Bug fortran/31601] New: RFC: legacy-only allowed: State that code is allowed with -std=legacy ? burnus at gcc dot gnu dot org
2007-04-17 13:05 ` [Bug fortran/31601] " tobi at gcc dot gnu dot org
[not found] <bug-31601-4@http.gcc.gnu.org/bugzilla/>
2014-01-12 18:34 ` dominiq at lps dot ens.fr
2015-08-29 13:39 ` 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).