Re: [PATCH 3/6] sel-sched-ir: Add missing call to `onlyjump_p'

2020-12-03 Thread Jeff Law via Gcc-patches
On 12/3/20 4:34 AM, Maciej W. Rozycki wrote: > Do not try to remove a conditional jump if it has side effects. > > gcc/ > * sel-sched-ir.c (maybe_tidy_empty_bb): Only try to remove a > conditional jump if `onlyjump_p'. OK jeff

[PATCH 3/6] sel-sched-ir: Add missing call to `onlyjump_p'

2020-12-03 Thread Maciej W. Rozycki
Do not try to remove a conditional jump if it has side effects. gcc/ * sel-sched-ir.c (maybe_tidy_empty_bb): Only try to remove a conditional jump if `onlyjump_p'. --- gcc/sel-sched-ir.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) gcc-sel-sched-ir-empty-bb