[Bug target/54546] New: SH: Enable -fshrink-wrap
chrbr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 11 08:45:00 GMT 2012
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: unassigned@gcc.gnu.org
ReportedBy: chrbr@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.
More information about the Gcc-bugs
mailing list