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

Re: Fix PR c/4988


Neil Booth wrote:-

> --target-help (and --help) print out the information from the main
> compiler twice.  This is because the driver passes the option twice on
> its command line.
> 
> This is fixed by the patch below.  As it is also a 2.95.x regression,
> and IMO obvious, it should go on the branch too.  Is that OK Mark?
> 
> 22 lines bite the dust.  OK to commit?
> 
> Neil.
> 
> 	PR c/4988
> 	* gcc.c (cc1_options): Remove --target-help and --help.
> 	(process_command): Don't preseve the options for passing
> 	to cc1; passing them to the preprocessor suffices.	

Scrap this; not quite as obvious as I thought.  New version coming up.

Neil.


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