Re: [PATCH] Fix unwind info on leave insn when stack is realigned (PR target/51354)

2011-12-06 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/06/11 05:21, Jakub Jelinek wrote: > Hi! > > IMNSHO we want .cfi_restore rbp on leave insn even when that insn > isn't setting cfa (on the shrink-wrapped testcase below already the > previous load of %r10 sets cfa, but there is no .cfi_restore rb

Re: [PATCH] Fix unwind info on leave insn when stack is realigned (PR target/51354)

2011-12-06 Thread Richard Henderson
On 12/06/2011 04:21 AM, Jakub Jelinek wrote: > PR target/51354 > * config/i386/i386.c (ix86_emit_leave): Call ix86_add_cfa_restore_note > unconditionally. > > * gcc.c-torture/compile/pr51354.c: New test. Ok. r~