This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] PR fortran/13912: Consecutive arithmetic operators
- From: Roger Sayle <roger at eyesopen dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, <fortran at gcc dot gnu dot org>
- Date: Tue, 25 May 2004 08:24:38 -0600 (MDT)
- Subject: Re: [PATCH] PR fortran/13912: Consecutive arithmetic operators
On Mon, 24 May 2004, Steve Kargl wrote:
> First, nice work. But a minor correction. AFAIK, this feature has
> never been permitted by any of the Fortran standards. The Fortran
> committees have tried to maintain a high degree of backwards compatibility.
>
> BTW, if you're interesting in obtaining a PDF copy of the Fortran
> 77 standard, then search google for ansi-x3dot-1978-Fortran77.pdf.
> Fortran 66 can be obtained with an analogous search.
Hi Steve,
Thanks. My mistake. I didn't mean to imply by the phrase "isn't valid
in the latest fortran standards", that this was valid previously. Your
pointer to the recent draft of ISO/IEC 1539-1 yesterday afternoon (many
thanks) was the first fortran standard I'd had the pleasure to read, so I
didn't want to make assumptions about previous versions.
Thanks also for the f77 pointer. For interested others the google
search is "ansi-x3dot9-1978-Fortran77.pdf". And indeed "X = Y * -1"
isn't valid.
Roger
--