From 64729d8c5d47f1d2f50f508f61303e3be0c1b64a Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 22 Dec 2011 17:35:16 +0100 Subject: [PATCH] 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 --- 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 d60eb0e096d2..bf631f554ec5 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 8a366b687c9e..1cbd167c3f86 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 } };