This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: PR fortran/9038, a regression in 3.3/3.4 with respect to 3.2.


Paul,

> Wouldn't it be easiest to simply stop the g77 driver passing 
> -ffixed-* to cc1 -E, using %<fixed-*.

> The patch below works for me, it prevents -ffixed-* being passed 
> to cc1 -E, but still passes them to f771.
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Are you sure that's true ?

When I tried that approach (which Steven Bosscher pointed out to me), I
couldn't get the -ffixed-<blah> being passed to f771.

Try this source:

$ cat aap.F
      PROGRAM AAP
#define PI 3.1415926535897932
      PARAMETER (PYECUBE = PI * PI * PI)
      END
$ g77 -ffixed-line-length-none aap.F

[note that we exceed the standard line end of column 72 here]

Thanks in advance,

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam
--------------------------------------------------------------
Zie ook/see also: http://www.knmi.nl/maildisclaimer.html 


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