This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR fortran/13912: Consecutive arithmetic operators


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]