This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/11139] New: Non-stantard code in test 980519-2.f
- 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: 10 Jun 2003 00:46:42 -0000
- Subject: [Bug fortran/11139] New: Non-stantard code in test 980519-2.f
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11139
Summary: Non-stantard code in test 980519-2.f
Product: gcc
Version: 3.4
Status: NEW
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: billingd@gcc.gnu.org
CC: gcc-bugs@gcc.gnu.org
Steven Kargl (kargl@troutmask.apl.washington.edu) reports:
980519-2.f contains illegal Fortran; yet g77 compiles
it without a warning or an error. A cut-down version
of 980519-2.f is
subroutine simul_trace(in, Xsp)
common /Idim/ jT_f, hd_T, jT_l
real Xsp
real in(jT_f-hd_T:jT_l)
in(jT_f-hd_T) = Xsp
end
The expression jT_f-hd_T is illegal because
hd_T is a real variable.