* more illegal code in g77 testsuite
@ 2003-05-24 22:30 Steven G. Kargl
0 siblings, 0 replies; only message in thread
From: Steven G. Kargl @ 2003-05-24 22:30 UTC (permalink / raw)
To: gcc
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.
--
Steve
http://troutmask.apl.washington.edu/~kargl/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-24 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-24 22:30 more illegal code in g77 testsuite Steven G. Kargl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).