This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25957] -fstack-protector code on i386/x86-64 can be improved.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2006 13:21:39 -0000
- Subject: [Bug middle-end/25957] -fstack-protector code on i386/x86-64 can be improved.
- References: <bug-25957-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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