[Bug fortran/16509] New: gfortran rejects "REAL R(2) /2*1.0/"
billingd at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 13 03:44:00 GMT 2004
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
More information about the Gcc-bugs
mailing list