r171984 - in /trunk/gcc: ChangeLog config/rx/rx...
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Tue Apr 5 12:28:00 GMT 2011
Author: jsm28
Date: Tue Apr 5 12:28:41 2011
New Revision: 171984
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171984
Log:
* config/rx/rx-opts.h: New.
* config/rx/rx.c (rx_cpu_type): Remove.
(rx_handle_option): Don't assert that global structures are in
use. Access variables via opts pointer. Defer most handling of
OPT_mint_register_. Use error_at.
(rx_option_override): Handle deferred OPT_mint_register_ here.
* config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h.
* config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude.
(mcpu=): Use Enum and specifiy rx_cpu_type with Var.
(rx_cpu_types): New Enum and EnumValue entries.
(mint-register=): Use Defer and use Var accordingly.
Added:
trunk/gcc/config/rx/rx-opts.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rx/rx.c
trunk/gcc/config/rx/rx.h
trunk/gcc/config/rx/rx.opt
More information about the Gcc-cvs
mailing list