aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2011-12-22 17:35:16 +0100
committerUros Bizjak <uros@gcc.gnu.org>2011-12-22 17:35:16 +0100
commit64729d8c5d47f1d2f50f508f61303e3be0c1b64a (patch)
treef481a94f0453dc45e22e97d08e8ef95bd5251aa0
parentd002ee3980834eab0898e678339679c82eeb409b (diff)
downloadgcc-64729d8c5d47f1d2f50f508f61303e3be0c1b64a.zip
gcc-64729d8c5d47f1d2f50f508f61303e3be0c1b64a.tar.gz
gcc-64729d8c5d47f1d2f50f508f61303e3be0c1b64a.tar.bz2
re PR rtl-optimization/27468 (sign-extending Alpha instructions not exploited)
PR target/27468 * common/config/alpha/alpha-common.c (alpha_option_optimization_table): Enable flag_ree at -O2 or higher. From-SVN: r182626
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/common/config/alpha/alpha-common.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d60eb0e..bf631f5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-22 Uros Bizjak <ubizjak@gmail.com>
+
+ 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 <rguenther@suse.de>
PR lto/51650
diff --git a/gcc/common/config/alpha/alpha-common.c b/gcc/common/config/alpha/alpha-common.c
index 8a366b6..1cbd167 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 }
};