This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/58615] [SH] Optimize simple function returns
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Sep 2014 16:00:20 +0000
- Subject: [Bug target/58615] [SH] Optimize simple function returns
- Auto-submitted: auto-generated
- References: <bug-58615-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58615
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
>
> In cases where the prologue is trivial or consists of only a few
> instructions, it would be better to return from the function directly,
> instead of branching to the returning basic block.
I meant epilogue, not prologue.