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 target/39146] Unnecessary stack alignment



------- Comment #8 from hjl dot tools at gmail dot com  2009-02-12 02:33 -------
(In reply to comment #7)
> Created an attachment (id=17283)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17283&action=view) [edit]
> A patch to fix this problem
> 
> Impact to other test unknown. Test undergoing.
> 
> HJ, can you also help to verify and test this patch?
> 

With your patch, I got

.globl bar
        .type   bar, @function
bar:
        pushq   %rbp
        movq    %rsp, %rbp
        leave
        ret

We still have push and mov. I guess it may be the best we can do.
But please run full 32 and 64bit testsuite with your patch as well
as under emx-avx-sim.


-- 


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


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