Preprocessing source files.

Toon Moene toon@moene.indiv.nluug.nl
Thu Jan 15 19:14:00 GMT 2004


Paul Brook wrote:

> On Thursday 15 January 2004 6:33 am, Toon Moene wrote:
> 
>>I tried the following patch to lang-specs.h (succesfully bootstrapped
>>and reg-tested on powerpc-unknown-linux-gnu), but the resulting compiles
>>failed because of:
>>
>>  In file /tmp/ccMmhgm6.f:1
>>
>># 1 "<built-in>"
>>1
>>Error: Non-numeric character in statement label at (1)
>>
>>etc.
>>
>>So something has to be done in the parser to complete this.
> 
> Yes.
> 
>>Should I apply the patch nevertheless ?
> 
> Add -P to the preprocessor invocation.

Done- see the attached patch.

I also filed a bug report (13702) to remind us that we still have to fix 
this (for debugging purposes).

Thanks,

-- 
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/20040115/8d283a36/attachment.ksh>


More information about the Gcc-patches mailing list