Index: alpha.c
===================================================================
--- alpha.c	(revision 182615)
+++ alpha.c	(working copy)
@@ -412,6 +412,10 @@ alpha_option_override (void)
     alpha_memory_latency = lat;
   }
 
+  /* Enable redundant extension instructions removal at -O2 and higher.  */
+  if (optimize >= 2 && !global_options_set.x_flag_ree)
+    flag_ree = 1;
+
   /* Default the definition of "small data" to 8 bytes.  */
   if (!global_options_set.x_g_switch_value)
     g_switch_value = 8;
