aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-05-25 09:43:59 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-05-25 09:43:59 +0000
commitbe6d3f0e89340dc7f7c2281aa747aa6560c05715 (patch)
treedd1f2d3dad086f5e1ff288dfa3a8011ce6cd30b5 /gcc/target.h
parentac5eda130d2cb1948a618873440e67216806e5d9 (diff)
downloadgcc-be6d3f0e89340dc7f7c2281aa747aa6560c05715.zip
gcc-be6d3f0e89340dc7f7c2281aa747aa6560c05715.tar.gz
gcc-be6d3f0e89340dc7f7c2281aa747aa6560c05715.tar.bz2
invoke.texi: Document -Ofast.
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. From-SVN: r159815
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 7447900..6f045da 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -531,6 +531,9 @@ struct gcc_target
form was. Return true if the switch was valid. */
bool (* handle_option) (size_t code, const char *arg, int value);
+ /* Handle target-specific parts of specifying -Ofast. */
+ void (* handle_ofast) (void);
+
/* Display extra, target specific information in response to a
--target-help switch. */
void (* target_help) (void);