re PR rtl-optimization/27468 (sign-extending Alpha instructions not exploited)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 22 Dec 2011 16:35:16 +0000 (17:35 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 22 Dec 2011 16:35:16 +0000 (17:35 +0100)
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
gcc/common/config/alpha/alpha-common.c

index d60eb0e096d201fffe671efd78eaa2de2dcb5d35..bf631f554ec58e1e54225d0855d81dd50bc6844c 100644 (file)
@@ -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
index 8a366b687c9e1684fccd0914ec93efa320a15420..1cbd167c3f8616ee8566f9c10e054ad9dabaf887 100644 (file)
@@ -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 }
   };