* params.c (set_param_value_internal): New. (set_param_value): Use set_param_value_internal. (maybe_set_param_value, set_default_param_value): New. * params.h (PARAM_VALUE, PARAM_SET_P): Make into rvalues. (maybe_set_param_value, set_default_param_value): Declare. * config/arm/arm.c (arm_option_override): Use maybe_set_param_value. * config/i386/i386.c (ix86_option_override_internal): Use maybe_set_param_value. * config/ia64/ia64.c (ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): New. (ia64_option_optimization): Move some code to ia64_option_default_params. * config/picochip/picochip.c (picochip_option_override): Use maybe_set_param_value. * config/rs6000/rs6000.c (rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): New. (rs6000_option_override_internal): Use maybe_set_param_value. (rs6000_option_optimization): Move some code to rs6000_option_default_params. * config/s390/s390.c (s390_option_override): Use maybe_set_param_value. * config/sh/sh.c (sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): New. (sh_option_optimization): Move some code to sh_option_default_params. * config/sparc/sparc.c (sparc_option_override): Use maybe_set_param_value. * config/spu/spu.c (spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): New. (spu_option_optimization): Move some code to spu_option_default_params. (spu_option_override): Use maybe_set_param_value. * doc/tm.texi.in (TARGET_OPTION_DEFAULT_PARAMS): New @hook. * doc/tm.texi: Regenerate. * ggc-common.c (init_ggc_heuristics): Use set_default_param_value. * opts.c (init_options_once): Use PARAM_VALUE not direct access to compiler_params. (default_options_optimization): Use maybe_set_param_value. (finish_options): Use maybe_set_param_value. * target.def (target_option.default_params): New hook. * toplev.c (general_init): Call targetm.target_option.default_params. From-SVN: r165303
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
constraints.md | Loading commit data... | |
crt1.asm | Loading commit data... | |
crti.asm | Loading commit data... | |
crtn.asm | Loading commit data... | |
divcost-analysis | Loading commit data... | |
divtab-sh4-300.c | Loading commit data... | |
divtab-sh4.c | Loading commit data... | |
divtab.c | Loading commit data... | |
elf.h | Loading commit data... | |
embed-elf.h | Loading commit data... | |
lib1funcs-4-300.asm | Loading commit data... | |
lib1funcs-Os-4-200.asm | Loading commit data... | |
lib1funcs.asm | Loading commit data... | |
lib1funcs.h | Loading commit data... | |
libgcc-excl.ver | Loading commit data... | |
libgcc-glibc.ver | Loading commit data... | |
linux-atomic.asm | Loading commit data... | |
linux-unwind.h | Loading commit data... | |
linux.h | Loading commit data... | |
little.h | Loading commit data... | |
netbsd-elf.h | Loading commit data... | |
newlib.h | Loading commit data... | |
predicates.md | Loading commit data... | |
rtems.h | Loading commit data... | |
rtemself.h | Loading commit data... | |
sh-c.c | Loading commit data... | |
sh-modes.def | Loading commit data... | |
sh-protos.h | Loading commit data... | |
sh-symbian.h | Loading commit data... | |
sh.c | Loading commit data... | |
sh.h | Loading commit data... | |
sh.md | Loading commit data... | |
sh.opt | Loading commit data... | |
sh1.md | Loading commit data... | |
sh4-300.md | Loading commit data... | |
sh4.md | Loading commit data... | |
sh4a.md | Loading commit data... | |
sh64.h | Loading commit data... | |
shmedia.h | Loading commit data... | |
shmedia.md | Loading commit data... | |
sshmedia.h | Loading commit data... | |
superh.h | Loading commit data... | |
superh.opt | Loading commit data... | |
superh64.h | Loading commit data... | |
symbian-base.c | Loading commit data... | |
symbian-c.c | Loading commit data... | |
symbian-cxx.c | Loading commit data... | |
symbian-post.h | Loading commit data... | |
symbian-pre.h | Loading commit data... | |
t-elf | Loading commit data... | |
t-linux | Loading commit data... | |
t-linux64 | Loading commit data... | |
t-netbsd | Loading commit data... | |
t-netbsd-sh5-64 | Loading commit data... | |
t-rtems | Loading commit data... | |
t-sh | Loading commit data... | |
t-sh64 | Loading commit data... | |
t-superh | Loading commit data... | |
t-symbian | Loading commit data... | |
t-vxworks | Loading commit data... | |
ushmedia.h | Loading commit data... | |
vxworks.h | Loading commit data... |