r146756 - in /trunk/gcc: ChangeLog config/avr/a...
aesok@gcc.gnu.org
aesok@gcc.gnu.org
Sat Apr 25 04:34:00 GMT 2009
Author: aesok
Date: Sat Apr 25 04:34:27 2009
New Revision: 146756
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146756
Log:
* target.h (struct gcc_target): Add case_values_threshold field.
* target-def.h (TARGET_CASE_VALUES_THRESHOLD): New.
(TARGET_INITIALIZER): Use TARGET_CASE_VALUES_THRESHOLD.
* targhooks.c (default_case_values_threshold): New function.
* targhooks.h (default_case_values_threshold): Declare function.
* stmt.c (expand_case): Use case_values_threshold target hook.
* expr.h (case_values_threshold): Remove declartation.
* expr.c (case_values_threshold): Remove function.
* doc/tm.texi (CASE_VALUES_THRESHOLD): Revise documentation.
* config/avr/avr.h (CASE_VALUES_THRESHOLD): Remove macro.
* config/avr/avr.c (TARGET_CASE_VALUES_THRESHOLD): Define macro.
(avr_case_values_threshold): Declare as static.
* config/avr/avr-protos.h (avr_case_values_threshold): Remove.
* config/avr/mn10300.h (CASE_VALUES_THRESHOLD): Remove macro.
* config/avr/mn10300.c (TARGET_CASE_VALUES_THRESHOLD): Define macro.
(mn10300_case_values_threshold): New function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
trunk/gcc/config/mn10300/mn10300.c
trunk/gcc/config/mn10300/mn10300.h
trunk/gcc/doc/tm.texi
trunk/gcc/expr.c
trunk/gcc/expr.h
trunk/gcc/stmt.c
trunk/gcc/target-def.h
trunk/gcc/target.h
trunk/gcc/targhooks.c
trunk/gcc/targhooks.h
More information about the Gcc-cvs
mailing list