* gcc.c (n_switches_alloc_debug_check): New.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Oct 2010 22:26:08 +0000 (22:26 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Oct 2010 22:26:08 +0000 (22:26 +0000)
commit4ff887c594396a9a889db4ba873fd8259fd6f50a
treecec1ca5db689c679dbfef96c06ba4fe30f41099a
parent4a0163aed2336991b59dab2c397672ce61623ad2
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165891 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c