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: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Mon, 24 May 2004 21:45:58 -0700
- Subject: Re: [PATCH] PR fortran/13912: Consecutive arithmetic operators
- References: <Pine.LNX.4.44.0405242208410.28383-100000@www.eyesopen.com>
On Mon, May 24, 2004 at 10:28:20PM -0600, Roger Sayle wrote:
>
> The following patch is my proposed solution to PR fortran/13912 by
> allowing (possibly nested) unary operators after other arithmetic
> (binary and unary) operators as a GNU extension. This functionality
> is supported by g77 (when not -pedantic) and other fortran compilers
> though not strictly legal in the latest ISO fortran standards.
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.
Oh, I have no objection to your patch, but Paul needs to approve it.
--
Steve