sh.c (sh_can_use_simple_return_p): Enable with -freorder-blocks-and-partition.
authorChristian Bruel <chrbr@gcc.gnu.org>
Fri, 9 Nov 2012 14:32:55 +0000 (15:32 +0100)
committerChristian Bruel <chrbr@gcc.gnu.org>
Fri, 9 Nov 2012 14:32:55 +0000 (15:32 +0100)
        * config/sh/sh.c (sh_can_use_simple_return_p): Enable with
        -freorder-blocks-and-partition.

From-SVN: r193362

gcc/ChangeLog
gcc/config/sh/sh.c

index c94d07bae07d6767dd23241df0fb8829d66c6954..651c083c5ea5e74b07f596828709bb411d92c48c 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-09  Christian Bruel  <christian.bruel@st.com>
+
+       * config/sh/sh.c (sh_can_use_simple_return_p): Enable with
+       -freorder-blocks-and-partition.
+
 2012-11-09  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * rtl.h (CONST_SCALAR_INT_P): New macro.
@@ -39,6 +44,7 @@
        * config/i386/i386.c (release_scratch_register_on_entry): Also adjust
        sp_offset manually.
 
+>>>>>>> .r193360
 2012-11-08  Christian Bruel  <christian.bruel@st.com>
 
        * tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count.
index ae671a29a855c029db89525d134be3029237d195..cf0abb474be1a98c77b6b01721ca77f5a866f53c 100644 (file)
@@ -13330,10 +13330,6 @@ sh_can_use_simple_return_p (void)
   if (optimize_function_for_size_p (cfun))
     return false;
 
-  /* Can't optimize CROSSING_JUMPS for now.  */
-  if (flag_reorder_blocks_and_partition)
-    return false;
-
   /* Finally, allow for pr save.  */
   d = calc_live_regs (&live_regs_mask);