[gfortran] Proposed fix for PR fortran/12912

Toon Moene toon@moene.indiv.nluug.nl
Tue Jan 13 17:42:00 GMT 2004


Paul Brook wrote:

> On Monday 12 January 2004 7:28 am, Toon Moene wrote:
> 
>>Somewhat different from the proposed fix, due to the addition of
>>-ffixed-form when compiling .f files.
>>
>>Bootstrapped and regression tested on powerpc-unknown-linux-gnu.
>>
>>OK to apply ?
> 
>>{"@f77", "%{!E:f951 %i -ffixed-form %(cc1_options) %{J*} %{I*}\
> 
> I think this should be %{!ffree-form:-ffixed-form} (untested). Other than 
> that, ok.

I changed that part, retested on powerpc-unknown-linux-gnu and applied 
the resulting patch (attached).

> You might also want to look at removing form_from_filename from scanner.c, it 
> seems redundant now.

I'll leave that for another patch, as this wasn't clear to me 
immediately.  I also make another patch to support .F and .F9{0|5} 
extensions for (to be) preprocessed Fortran 77 and Fortran 90/95 files.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dotf.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040113/9b910e31/attachment.ksh>


More information about the Gcc-patches mailing list