[Bug driver/11417] [3.4 regression] fortran options warned about in cc1 when *.F or -x f77-cpp-input

toon at moene dot indiv dot nluug dot nl gcc-bugzilla@gcc.gnu.org
Sat Jul 5 19:24:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11417



------- Additional Comments From toon at moene dot indiv dot nluug dot nl  2003-07-05 19:24 -------
Subject: Re:  [3.4 regression]  fortran options warned about
 in cc1 when *.F or -x f77-cpp-input

Neil Booth wrote:

> toon at gcc dot gnu dot org wrote:-

>>This must be Neil's doing.
> 
> Sadly there isn't a clean and simple solution to this, since the real
> problem is the driver passing down switches to cc1 that apply to
> Fortran.  This is the best I can think of.
> 
> Neil.
> 
> 	PR driver/11417
> 	* c-opts.c (permit_fortran_options): New.
> 	(c_common_init_options): Accept fortran front end options if
> 	it looks like we might be preprocessing Fortran.
> 	(c_common_handle_option): Don't reject switch if permit_fotran_options.

Thanks !



More information about the Gcc-bugs mailing list