From 79202d0a8d9b1874969854e8175b2529c385930d Mon Sep 17 00:00:00 2001 From: uros Date: Thu, 22 Dec 2011 16:35:16 +0000 Subject: [PATCH 1/1] 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 --- gcc/ChangeLog | 6 ++++++ gcc/common/config/alpha/alpha-common.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d60eb0e096d..bf631f554ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-12-22 Uros Bizjak + + PR target/27468 + * common/config/alpha/alpha-common.c (alpha_option_optimization_table): + Enable flag_ree at -O2 or higher. + 2011-12-22 Richard Guenther PR lto/51650 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 } }; -- 2.11.0