[Bug target/39118] [4.3/4.4 Regression] x86_64 red zone violation

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 11 08:24:00 GMT 2009



------- Comment #16 from ubizjak at gmail dot com  2009-02-11 08:24 -------
(In reply to comment #13)
> This test case is from Mark Heffernan.  When compiling with -O2
> -fno-omit-frame-pointer with gcc 4.3, it shows a red zone violation in the
> epilogue:
> 
>         movl    -160(%rbp), %eax
>         popq    %r15
>         leave
>         ret

This does not show redzone violation, but following does:

        popq    %rbx
        popq    %r12
        popq    %r13
        popq    %r14
        movl    -160(%rbp), %eax
        popq    %r15
        leave
        ret

Anyway, I have a patch.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
   Last reconfirmed|2009-02-08 21:00:58         |2009-02-11 08:24:28
               date|                            |


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



More information about the Gcc-bugs mailing list