Re: [PATCH] Fix -fcompare-debug failure in fwprop (PR rtl-optimization/54294)

2012-08-20 Thread Richard Sandiford
Jakub Jelinek writes: > 2012-08-17 Jakub Jelinek > > PR rtl-optimization/54294 > * fwprop.c (all_uses_available_at): Ignore debug insns in between > def_insn and target_insn when checking whether the shortcut is > possible. OK, thanks. Richard

Re: [PATCH] Fix -fcompare-debug failure in fwprop (PR rtl-optimization/54294)

2012-08-18 Thread Paolo Bonzini
Il 17/08/2012 22:00, Jakub Jelinek ha scritto: > Hi! > > As discussed in the PR, this patch, originally posted for PR42728, > makes sure the shortcut in all_uses_available_at is used on the same insns > in between -g and -g0, it is the second time a -fcompare-debug failure > resulted from NEXT_INS

[PATCH] Fix -fcompare-debug failure in fwprop (PR rtl-optimization/54294)

2012-08-17 Thread Jakub Jelinek
Hi! As discussed in the PR, this patch, originally posted for PR42728, makes sure the shortcut in all_uses_available_at is used on the same insns in between -g and -g0, it is the second time a -fcompare-debug failure resulted from NEXT_INSN being something different with -g, so IMHO it is desirabl