public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34325]  New: Wrong error message for syntax error
@ 2007-12-03 12:27 terry at chem dot gu dot se
  2007-12-06  3:52 ` [Bug fortran/34325] " jvdelisle at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: terry at chem dot gu dot se @ 2007-12-03 12:27 UTC (permalink / raw)
  To: gcc-bugs

This is similar to PR 32151

$ gfortran --version
GNU Fortran (GCC) 4.3.0 20071109 (experimental)  <snip>

$cat aa.f90 
program aa
implicit none
real(kind=8)::r1=0
if ((3*r1)**2)<0) stop
end

$ gfortran -c aa.f90
aa.f90:4.14:

if ((3*r1)**2)<0) stop
             1
Error: Cannot assign to a named constant at (1)


It's an extra parenthesis (or, arguably, a missing parenthesis ;-).  Who's
trying to assign anything??!


-- 
           Summary: Wrong error message for syntax error
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: terry at chem dot gu dot se
  GCC host triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2008-05-16 16:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-03 12:27 [Bug fortran/34325] New: Wrong error message for syntax error terry at chem dot gu dot se
2007-12-06  3:52 ` [Bug fortran/34325] " jvdelisle at gcc dot gnu dot org
2007-12-10  3:15 ` jvdelisle at gcc dot gnu dot org
2007-12-14 19:22 ` jvdelisle at gcc dot gnu dot org
2007-12-19  5:55 ` jvdelisle at gcc dot gnu dot org
2007-12-19  5:59 ` jvdelisle at gcc dot gnu dot org
2007-12-19  5:59 ` jvdelisle at gcc dot gnu dot org
2007-12-21 22:17 ` dfranke at gcc dot gnu dot org
2008-01-23 22:32 ` terry at chem dot gu dot se
2008-01-23 23:21 ` terry at chem dot gu dot se
2008-02-16  5:15 ` jvdelisle at gcc dot gnu dot org
2008-05-16 16:45 ` jvdelisle at gcc dot gnu dot org
2008-05-16 16:48 ` jvdelisle 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).