PR fortran/9038, a regression in 3.3/3.4 with respect to 3.2.

Paul Brook paul@nowt.org
Tue Feb 18 21:35:00 GMT 2003


On Tuesday 18 February 2003 8:54 am, Toon Moene wrote:
> 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 ?

Apparently not. I thought I'd checked that, but when I try it now it doesn't 
work:(

You could replace '%(cc1_options)' with
'%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} \
 %{O*} %{undef}'
(taken from gcc.c, removing -f)

However this stops any -f options getting passed to the propocessor. AFAIK 
cc1 -E doesn't use any -f options anyway. Any -f options it does need could 
of course be added explicitly.

Paul



More information about the Gcc mailing list