public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16509] New: gfortran rejects "REAL R(2) /2*1.0/"
@ 2004-07-13  3:44 billingd at gcc dot gnu dot org
  2004-07-13  4:31 ` [Bug fortran/16509] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-13  3:44 UTC (permalink / raw)
  To: gcc-bugs

The following program, derived from a case in the g77 testsuite
is accepted by g77 but not gfortran.  I doubt it is standard confirming, 
I looked in the Fortran 77 standard but couldn't see the construct.

Another g77 extension to support?

$ cat k.f
      REAL R(2) /2*1.0/
      END

$ ../gfortran -B.. -O0 -c k.f
 In file k.f:1

      REAL R(2) /2*1.0/
              1
Error: Syntax error in data declaration at (1)

-- 
           Summary: gfortran rejects "REAL R(2) /2*1.0/"
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-07-14  3:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-13  3:44 [Bug fortran/16509] New: gfortran rejects "REAL R(2) /2*1.0/" billingd at gcc dot gnu dot org
2004-07-13  4:31 ` [Bug fortran/16509] " pinskia at gcc dot gnu dot org
2004-07-13  4:42 ` sgk at troutmask dot apl dot washington dot edu
2004-07-13  5:09 ` david dot billinghurst at comalco dot riotinto dot com dot au
2004-07-13 16:32 ` pinskia at gcc dot gnu dot org
2004-07-14  1:00 ` billingd at gcc dot gnu dot org
2004-07-14  3:21 ` bdavis at gcc dot gnu dot org
2004-07-14  3:23 ` pinskia 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).