This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/59549] [SH] __builtin_return_address causes push/pop of PR
- 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: Sun, 21 Dec 2014 17:59:24 +0000
- Subject: [Bug target/59549] [SH] __builtin_return_address causes push/pop of PR
- Auto-submitted: auto-generated
- References: <bug-59549-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59549
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I haven't checked, but it could be related to this. When shifts are
expanded/combined on SH2 (no dynamic shifts), library function calls might be
intially inserted but then removed again during combine/split1. If that
happens, PR push/pop insns might appear, although a function doesn't contain
any function call.