diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2011-12-22 15:39:35 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-12-22 15:39:35 +0100 |
commit | 95c6483002b6849c855db603b44b7e9972bf2292 (patch) | |
tree | a57ba7f597a54f5a25291bcf95309b49ea966431 /gcc/common/config | |
parent | 50c9d049978e096b754415819c521c9d9504173e (diff) | |
download | gcc-95c6483002b6849c855db603b44b7e9972bf2292.zip gcc-95c6483002b6849c855db603b44b7e9972bf2292.tar.gz gcc-95c6483002b6849c855db603b44b7e9972bf2292.tar.bz2 |
i386-common.c (ix86_option_optimization_table): Move OPT_free processing from ...
* common/config/i386/i386-common.c (ix86_option_optimization_table):
Move OPT_free processing from ...
* config/i386/i386.c (ix86_option_override_internal): ... here.
From-SVN: r182623
Diffstat (limited to 'gcc/common/config')
-rw-r--r-- | gcc/common/config/i386/i386-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/i386-common.c index 99643d6..ac4232f 100644 --- a/gcc/common/config/i386/i386-common.c +++ b/gcc/common/config/i386/i386-common.c @@ -599,6 +599,8 @@ ix86_handle_option (struct gcc_options *opts, static const struct default_options ix86_option_optimization_table[] = { + /* Enable redundant extension instructions removal at -O2 and higher. */ + { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 }, /* Turn off -fschedule-insns by default. It tends to make the problem with not enough registers even worse. */ { OPT_LEVELS_ALL, OPT_fschedule_insns, NULL, 0 }, |