Re: PR 59137: Incorrect liveness info during dbr_schedule

2014-01-09 Thread Richard Biener
On Wed, Jan 8, 2014 at 8:46 PM, Steven Bosscher wrote: > On Wed, Jan 8, 2014 at 8:27 PM, Richard Sandiford wrote: >> gcc/ >> PR rtl-optimization/59137 >> * reorg.c (steal_delay_list_from_target): Call update_block for >> elided insns. >> (steal_delay_list_from_fallt

Re: PR 59137: Incorrect liveness info during dbr_schedule

2014-01-08 Thread Steven Bosscher
On Wed, Jan 8, 2014 at 8:27 PM, Richard Sandiford wrote: > gcc/ > PR rtl-optimization/59137 > * reorg.c (steal_delay_list_from_target): Call update_block for > elided insns. > (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise. > > gcc/testsuite/ >

PR 59137: Incorrect liveness info during dbr_schedule

2014-01-08 Thread Richard Sandiford
PR 59137 is another case where dbr_schedule gets confused about liveness. We start out with: A: $2 = x B: if $4 == $2 goto L1 [REG_DEAD: $2] C: if $4 < 0 goto L2 ... L1: D: $2 = y E: goto L3 L2: F: $2 = x G: goto L3 ... L3: ... r