From 347d11699fa8adeae77235f79558e56f4b20340b Mon Sep 17 00:00:00 2001 From: chrbr Date: Fri, 9 Nov 2012 14:32:55 +0000 Subject: [PATCH] * config/sh/sh.c (sh_can_use_simple_return_p): Enable with -freorder-blocks-and-partition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193362 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/sh.c | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c94d07b..651c083 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-11-09 Christian Bruel + + * config/sh/sh.c (sh_can_use_simple_return_p): Enable with + -freorder-blocks-and-partition. + 2012-11-09 Kenneth Zadeck * 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 * tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count. 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); -- 2.7.4