diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 09:43:59 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 09:43:59 +0000 |
commit | 1ebc0b9fafdce287709fdb04127f946e995ea640 (patch) | |
tree | dd1f2d3dad086f5e1ff288dfa3a8011ce6cd30b5 /gcc/target-def.h | |
parent | 56bf9283742177fc0ae31f8f10dfd87d731eb50d (diff) | |
download | gcc-1ebc0b9fafdce287709fdb04127f946e995ea640.tar.gz |
2010-05-25 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi: Document -Ofast.
* target.h (struct gcc_target): Add handle_ofast.
* target-def.h (TARGET_HANDLE_OFAST): Add.
(TARGET_INITIALIZER): Adjust.
* opts.c (decode_options): Handle -Ofast. Enable
-ffast-math with it.
* common.opt (Ofast): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index 09da722b8d9..4db3997ad11 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -431,6 +431,7 @@ #define TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE hook_void_void #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true +#define TARGET_HANDLE_OFAST hook_void_void #define TARGET_HELP NULL /* In except.c */ @@ -939,6 +940,7 @@ TARGET_DEFAULT_TARGET_FLAGS, \ TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE, \ TARGET_HANDLE_OPTION, \ + TARGET_HANDLE_OFAST, \ TARGET_HELP, \ TARGET_EH_RETURN_FILTER_MODE, \ TARGET_LIBGCC_CMP_RETURN_MODE, \ |