diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-29 16:44:02 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-29 16:44:02 +0000 |
commit | 4bec06b342e6165f527b4d8b6e5c8645d3e12888 (patch) | |
tree | 4c4f74fb7f7c6c8fe0a62100be5c7ce3bf5175c4 /gcc/target-def.h | |
parent | 42a868cd5053099a2780f28969be964fabf9e8bc (diff) | |
download | gcc-4bec06b342e6165f527b4d8b6e5c8645d3e12888.tar.gz |
2009-10-29 Steve Ellcey <sje@cup.hp.com>
PR middle-end/37565
PR target/38018
* doc/tm.texi (OVERRIDE_OPTIONS): Update.
(TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* optc-gen.awk (cl_target_option_restore): Include call to
targetm.override_options_after_change.
* target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* target.h (override_options_after_change): New.
* c-common.c (parse_optimize_options): Call
targetm.override_options_after_change.
* config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
(ia64_override_options_after_change): New.
(ia64_override_options) Add call to above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index c5a73216780..e76e8621175 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -410,6 +410,8 @@ #define TARGET_DEFAULT_TARGET_FLAGS 0 +#define TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE hook_void_void + #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true #define TARGET_HELP NULL @@ -905,6 +907,7 @@ TARGET_SCHED, \ TARGET_VECTORIZE, \ TARGET_DEFAULT_TARGET_FLAGS, \ + TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE, \ TARGET_HANDLE_OPTION, \ TARGET_HELP, \ TARGET_EH_RETURN_FILTER_MODE, \ |