This is the mail archive of the gcc-bugs@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]

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


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 !


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