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/>]

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).