This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16509] New: gfortran rejects "REAL R(2) /2*1.0/"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]