diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 15:30:17 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 15:30:17 +0000 |
commit | dd6283b43cd45ca5e76498b65f644983167a1ebf (patch) | |
tree | 60a991d2053ed8ebeab1b44f7a44ee9d1e4273e8 /gcc/common/config | |
parent | 5c921deca362cec43fd0485e25c8efd53fc486c0 (diff) | |
download | gcc-dd6283b43cd45ca5e76498b65f644983167a1ebf.tar.gz |
* common/config/sparc/sparc-common.c (sparc_option_optimization_table):
Enable REE at -O2 and higher.
* config/sparc/sparc.c (sparc_option_override): Disable it by default
in 32-bit mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242841 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common/config')
-rw-r--r-- | gcc/common/config/sparc/sparc-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/sparc/sparc-common.c b/gcc/common/config/sparc/sparc-common.c index 3958b7ec5e8..721c8b355c2 100644 --- a/gcc/common/config/sparc/sparc-common.c +++ b/gcc/common/config/sparc/sparc-common.c @@ -28,6 +28,8 @@ along with GCC; see the file COPYING3. If not see static const struct default_options sparc_option_optimization_table[] = { { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, + /* Enable redundant extension instructions removal at -O2 and higher. */ + { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 }, { OPT_LEVELS_NONE, 0, NULL, 0 } }; |