summaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-22 16:35:16 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-22 16:35:16 +0000
commit79202d0a8d9b1874969854e8175b2529c385930d (patch)
treef481a94f0453dc45e22e97d08e8ef95bd5251aa0 /gcc/common
parent69fe045c77cea4d8a84171f97c261fe69ed63db2 (diff)
downloadgcc-79202d0a8d9b1874969854e8175b2529c385930d.tar.gz
PR target/27468
* common/config/alpha/alpha-common.c (alpha_option_optimization_table): Enable flag_ree at -O2 or higher. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/alpha/alpha-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/alpha/alpha-common.c b/gcc/common/config/alpha/alpha-common.c
index 8a366b687c9..1cbd167c3f8 100644
--- a/gcc/common/config/alpha/alpha-common.c
+++ b/gcc/common/config/alpha/alpha-common.c
@@ -33,6 +33,8 @@ along with GCC; see the file COPYING3. If not see
static const struct default_options alpha_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 }
};