public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51991] New: Wrong error message with variables named "SAVE*"
@ 2012-01-25 10:26 bardeau at iram dot fr
  2012-01-25 11:06 ` [Bug fortran/51991] " burnus at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bardeau at iram dot fr @ 2012-01-25 10:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51991

             Bug #: 51991
           Summary: Wrong error message with variables named "SAVE*"
    Classification: Unclassified
           Product: gcc
           Version: fortran-dev
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bardeau@iram.fr


Created attachment 26455
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26455
This file raises an error, but with wrong message

Hello,

in the attached you will find a subroutine which raises an error (on purpose).

While one expect the following message:

gfortran-error.f90:11.11:

    savej = a%j
               1
Error: 'j' at (1) is not a member of the 'mytyp' structure


gfortran (4.7.0 20111119) raises:


gfortran-error.f90:11.9:

    savej = a%j
         1
Error: Syntax error in SAVE statement at (1)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-02-08 16:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25 10:26 [Bug fortran/51991] New: Wrong error message with variables named "SAVE*" bardeau at iram dot fr
2012-01-25 11:06 ` [Bug fortran/51991] " burnus at gcc dot gnu.org
2012-01-25 11:17 ` dominiq at lps dot ens.fr
2012-01-25 12:56 ` bardeau at iram dot fr
2012-01-25 13:17 ` dominiq at lps dot ens.fr
2012-01-25 13:32 ` bardeau at iram dot fr
2012-01-25 13:37 ` bardeau at iram dot fr
2012-01-25 14:09 ` dominiq at lps dot ens.fr
2012-01-25 14:11 ` bardeau at iram dot fr
2012-01-25 16:39 ` kargl at gcc dot gnu.org
2012-02-08 10:39 ` bardeau at iram dot fr
2012-02-08 16:15 ` sgk at troutmask dot apl.washington.edu
2012-02-08 16:23 ` bardeau at iram dot 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).