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

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 15 20:30:00 GMT 2012


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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-15 20:30:22 UTC ---
The issue is handled by the following code in sh.md:

;; Define additional pop for SH1 and SH2 so it does not get 
;; placed in the delay slot.
(define_insn "*movsi_pop"

I've checked the 4.6 and 4.7 branch sources and they have the code in question
in place.  Since 4.5 is no longer supported this won't be fixed for 4.5.



More information about the Gcc-bugs mailing list