[patch, fortran] PR36376: -cpp -save-temps passes unknown options to f951

Daniel Franke franke.daniel@gmail.com
Sun Dec 7 19:20:00 GMT 2008


This cumulative patch (together with [1]) also avoids that -fpch-preprocess is 
added to the arguments for f951 if -save-temps is specified. 


2008-12-07  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/36376
        PR fortran/37468
	* lang-specs.h: Pass on -i* options to f951 to (probably)
	report them as unknown. Duplicate gcc.c (cpp_options), but
	omit -fpch-preprocess on -save-temps.


Bootstrapped and regression tested on i686-pc-linux-gnu.

Ok for trunk?

	Daniel


[1] http://gcc.gnu.org/ml/fortran/2008-12/msg00071.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36376.diff
Type: text/x-patch
Size: 2817 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081207/8c3a0f3a/attachment.bin>


More information about the Fortran mailing list