public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47191] New: Misleading error message if part-ref starts with DATA
@ 2011-01-06 14:55 burnus at gcc dot gnu.org
  2013-09-04  8:21 ` [Bug fortran/47191] " dominiq at lps dot ens.fr
  0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-06 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Misleading error message if part-ref starts with DATA
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


Reported at http://gcc.gnu.org/ml/fortran/2011-01/msg00006.html

Like always: Choosing which error the user made, is a bit difficult; however,
the message below is a bit confusing. If a different variable name than DATA is
used, the "correct" error message is printed. (Whatever "correct" means ;-)

    type(parameters)    :: data
    data % result = 0.0
        1
Error: Syntax error in DATA statement at (1)


Expected:
    data % result = 0.0
                 1
Error: 'result' at (1) is not a member of the 'parameters' structure


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

* [Bug fortran/47191] Misleading error message if part-ref starts with DATA
  2011-01-06 14:55 [Bug fortran/47191] New: Misleading error message if part-ref starts with DATA burnus at gcc dot gnu.org
@ 2013-09-04  8:21 ` dominiq at lps dot ens.fr
  0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-09-04  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-04
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Still present at revision 202232.


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

end of thread, other threads:[~2013-09-04  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 14:55 [Bug fortran/47191] New: Misleading error message if part-ref starts with DATA burnus at gcc dot gnu.org
2013-09-04  8:21 ` [Bug fortran/47191] " 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).