This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r165891 - in /trunk/gcc: ChangeLog gcc.c
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 23 Oct 2010 22:26:09 -0000
- Subject: r165891 - in /trunk/gcc: ChangeLog gcc.c
Author: jsm28
Date: Sat Oct 23 22:26:08 2010
New Revision: 165891
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165891
Log:
* gcc.c (n_switches_alloc_debug_check): New.
(set_option_handlers): New.
(process_command): Use set_option_handlers.
(do_self_spec): Pass spec-generated options through option
handlers.
(main): Also save and restore n_switches_alloc when swapping
switch arrays.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c