public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/25957] -fstack-protector code on i386/x86_64 can be improved.
       [not found] <bug-25957-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-08 23:27 ` andi-gcc at firstfloor dot org
  2014-09-26 17:46 ` andi-gcc at firstfloor dot org
  1 sibling, 0 replies; 2+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-10-08 23:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-08 23:27:02 UTC ---
I just checked and the problem is still there with

 4.7.0 20111002

       xorq    %fs:40, %rax
        jne     .L4
        addq    $120, %rsp
        .cfi_remember_state
        .cfi_def_cfa_offset 8
        ret
.L4:
        .cfi_restore_state
        .p2align 4,,6
        call    __stack_chk_fail
        .cfi_endproc
.LFE0:


unnecessary wasteful alignment for the call to
abort. The basic block should be marked cold.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug middle-end/25957] -fstack-protector code on i386/x86_64 can be improved.
       [not found] <bug-25957-4@http.gcc.gnu.org/bugzilla/>
  2011-10-08 23:27 ` [Bug middle-end/25957] -fstack-protector code on i386/x86_64 can be improved andi-gcc at firstfloor dot org
@ 2014-09-26 17:46 ` andi-gcc at firstfloor dot org
  1 sibling, 0 replies; 2+ messages in thread
From: andi-gcc at firstfloor dot org @ 2014-09-26 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Problem is still there in 

gcc50 (GCC) 4.9.0 20130617 (experimental)


The stack protector edge should be cold and alignment disabled.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-26 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-25957-4@http.gcc.gnu.org/bugzilla/>
2011-10-08 23:27 ` [Bug middle-end/25957] -fstack-protector code on i386/x86_64 can be improved andi-gcc at firstfloor dot org
2014-09-26 17:46 ` andi-gcc at firstfloor dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).