aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorChristian Bruel <chrbr@gcc.gnu.org>2012-11-09 15:32:55 +0100
committerChristian Bruel <chrbr@gcc.gnu.org>2012-11-09 15:32:55 +0100
commit962e3ae2aa51b4e2024c6fc3b9bf0ade8c64de7d (patch)
treea22bed2572844cec8400117fb4767accc5525660 /gcc/config
parent4c3ee1f9188e2cb3f6906b321236433c20b83957 (diff)
downloadgcc-962e3ae2aa51b4e2024c6fc3b9bf0ade8c64de7d.zip
gcc-962e3ae2aa51b4e2024c6fc3b9bf0ade8c64de7d.tar.gz
gcc-962e3ae2aa51b4e2024c6fc3b9bf0ade8c64de7d.tar.bz2
sh.c (sh_can_use_simple_return_p): Enable with -freorder-blocks-and-partition.
* config/sh/sh.c (sh_can_use_simple_return_p): Enable with -freorder-blocks-and-partition. From-SVN: r193362
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sh/sh.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index ae671a2..cf0abb4 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -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);