On 05/18/12 03:48, Chung-Lin Tang wrote: > Hi, > > I found a few changes were needed to the dwarf2 pass when trying to > implement epilogue unwind for SH, mainly that the current handling of > annulled-taken branches does not seem correct; the delay slot insn > should be handled in a manner similar to an insn in the fallthru block. > > Cross-tested on SH and MIPS, and bootstrapped/tested on x86_64. > > Thanks, > Chung-Lin > > 2012-05-18 Chung-Lin Tang <clt...@codesourcery.com> > > * dwarf2cfi.c (scan_trace): Update CFA before exiting scan. > Handle annulled-taken branch (!INSN_FROM_TARGET_P) case. >
Do you have a test case for this? r~