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/16508] New: gfortran rejects "DATA R /2*(-1)/"


The following program, derived from a case in the g77 testsuite
is accepted by g77 but not gfortran.  I am unclear if it is
standard confirming.

$ cat j.f
      REAL R(2)
      DATA R /2*(-1)/
      END

$ ../gfortran -B.. -O0 -c j.f
 In file j.f:2

      DATA R /2*(-1)/
               1
Error: Syntax error in DATA statement at (1)

-- 
           Summary: gfortran rejects "DATA R /2*(-1)/"
           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
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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