On 02/06/2012 05:06 AM, Jakub Jelinek wrote:
> 2012-02-06 Jakub Jelinek
>
> PR debug/52132
> * reg-stack.c (subst_stack_regs_in_debug_insn): Don't use
> get_true_reg.
>
> * gcc.dg/pr52132.c: New test.
Ok.
r~
Hi!
On the following testcase we ICE in dwarf2out, because
apparently reg-stack changed a
(var_location:SI D#1 (subreg:SI (reg:SF 8) 0))
into
(var_location:SI D#1 (reg:SF 8))
(note the subreg is gone and mismatching mode). The problem seems
to be in get_true_reg function that subst_stack_regs_in_