[PATCH] Fix up my recent PR59501 i?86 changes (PR target/59644)
Richard Henderson
rth@redhat.com
Mon Jan 6 21:28:00 GMT 2014
On 01/06/2014 01:07 PM, Jakub Jelinek wrote:
> 2014-01-06 Jakub Jelinek <jakub@redhat.com>
>
> PR target/59644
> * config/i386/i386.h (struct machine_function): Add
> no_drap_save_restore field.
> * config/i386/i386.c (ix86_save_reg): Use
> !cfun->machine->no_drap_save_restore instead of
> crtl->stack_realign_needed.
> (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
> this function clears frame_pointer_needed. Set
> cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
> and DRAP reg is needed.
>
> * gcc.target/i386/pr59644.c: New test.
Ok.
r~
More information about the Gcc-patches
mailing list