[Bug target/53689] [SH] GCC emits an invalid slot instruction for RTE (Return from Exception)

chrbr at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 11 12:59:00 GMT 2012


chrbr at gcc dot gnu.org changed:

           What    |Removed                     |Added
                 CC|                            |chrbr at gcc dot gnu.org

--- Comment #2 from chrbr at gcc dot gnu.org 2012-07-11 12:59:06 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > Under target (sh-elf) big-endian SuperH-2 (SH7604) (options -m2 -mb

> I've checked this case with SVN rev 189268 (GCC 4.8) and this problem is not
> present.

are you sure ? 

using sh-superh-elf-gcc -O2 a.c -S -fno-omit-frame-pointer

I also see the frame pointer restored from the delay slot. Is it only a -m2
problem ?

More information about the Gcc-bugs mailing list