[Bug middle-end/25957] -fstack-protector code on i386/x86-64 can be improved.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 25 13:22:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-25 13:21 -------
Nope and Nope.
The alignment is because well -falign-jumps is default.

__stack_chk_fail is a noreturn function so we don't sib call it because it
would be too hard for debugging.
Second jumping directly via an indirect branch is wrong as jumps only have a
certain range.


-- 

pinskia at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list