http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54546

             Bug #: 54546
           Summary: SH: Enable -fshrink-wrap
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ch...@gcc.gnu.org


Created attachment 28169
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28169
simple-return pattern

Implement the simple_return pattern to enable shrink-wrapping, which is
beneficial on SH when the prologue/epilogue is small enough or when not
optimizing for size. Adding the sh_can_use_return_insn_p function so
refinements based on epilogue size can be further added.

However this exposes a -freorder-blocks-and-partition -fprofile-use regression
in the testsuite with that must be investigated.

Reply via email to