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; 2+ 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] 2+ messages in thread
* [Bug fortran/31601] RFC: legacy-only allowed: State that code is allowed with -std=legacy ?
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 ` tobi at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-17 13:05 UTC (permalink / raw)
To: gcc-bugs
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-17 14:05:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31601
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-17 13:05 UTC | newest]
Thread overview: 2+ 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
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).