Re: [PATCH] PR51271. Fix handling of frame-related insn in delay slot of annulled branch

2012-01-09 Thread Richard Henderson
On 01/08/2012 11:50 PM, Tom de Vries wrote: > * dwarf2cfi.c (scan_trace): Save and restore cur_row->reg_save when > handling annulled branch. Ok. r~

[PATCH] PR51271. Fix handling of frame-related insn in delay slot of annulled branch

2012-01-08 Thread Tom de Vries
Richard, this patch fixes PR51271. It fixes the handling in scan_trace of an insn in the delay slot of an annulled branch that annuls the insn when the branch is not taken. The way the insn is handled, is that: - the insn is applied to the state - the updated state is registered at the jump targ