[Patch, Fortran] Fix CPP <include_path> (PR 37821)
Tobias Burnus
burnus@net-b.de
Wed Oct 15 06:21:00 GMT 2008
Daniel Franke wrote:
> On Wed, Oct 15, 2008 at 12:24:51AM +0200, Tobias Burnus wrote:
> > There is one harmless problem left: gfortran -I dir passes the -I twice
> > to f951 for -cpp (but only once for -nocpp). I think it is due to:
>
> How about:
> #define F951_OPTIONS "%(cc1_options) %{J*} %{!cpp: %{I*}}\
That works for "-cpp" but not for "gfortran file.F90"; I included it
nonetheless. At the moment I don't see an easy method to fix it.
Shall I open a PR? Or shall we simply ignore the double-path warning?
OK for the trunk? (Bootstrapping and regtesting currently under the way.)
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpp.diff
Type: text/x-patch
Size: 1941 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081015/2e6e65ad/attachment.bin>
More information about the Fortran
mailing list