This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-01-25 14:43 -------
The alignment does nothing, repeat nothing even if it is not executed that
much, it does not change anything because it is last in the function.  Try
compiling more than this simple example and you will see that it always last
for the emitted asm.  Use -fno-align-jumps which is not default on x86.

And as I have mentioned before jumping directly to the other function is not
useful at all (I already filed that bug and was shot down by RTH).


-- 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]