[Bug target/56165] Missed optimization for 'noreturn' functions

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 3 02:19:00 GMT 2013


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-03 02:18:59 UTC ---
(In reply to comment #8)
> 1) I agree for "push rbx" seves reg. But "sub rsp,8" is completely trash,
> because stack frame do not used at all, not for save reg, nor anything other.

Alignment of the stack register is needed to be kept 16byte aligned.

Still a dup of bug 10837.(In reply to comment #8)

> 2) (request feature) I want __attribute__((interrupt)), especial for
> eliminating epilog/prolog.

File a different bug report but really you should be writing first stage
handlers interrupt in assembler

*** This bug has been marked as a duplicate of bug 10837 ***



More information about the Gcc-bugs mailing list