This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16508] New: gfortran rejects "DATA R /2*(-1)/"
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2004 03:40:24 -0000
- Subject: [Bug fortran/16508] New: gfortran rejects "DATA R /2*(-1)/"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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