Re: [PATCH] Fix DEBUG_INSN handling in lra-constraints (PR rtl-optimization/55193)

2012-12-11 Thread Vladimir Makarov
On 12/11/2012 03:21 AM, Jakub Jelinek wrote: Hi! As the testcase in the PR (unfortunately only reproduceable after reverting some inlining patch, so not including that testcase in the patch) shows, loc_equivalence_change_p isn't good enough for debug_insns, when a REG is substituted for VOIDmode

[PATCH] Fix DEBUG_INSN handling in lra-constraints (PR rtl-optimization/55193)

2012-12-11 Thread Jakub Jelinek
Hi! As the testcase in the PR (unfortunately only reproduceable after reverting some inlining patch, so not including that testcase in the patch) shows, loc_equivalence_change_p isn't good enough for debug_insns, when a REG is substituted for VOIDmode constant. In that case, the surrounding SUBRE