]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lra.c
ira.c (update_equiv_regs): Only call set_paradoxical_subreg for non-debug insns.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 8 Sep 2013 18:15:49 +0000 (18:15 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 8 Sep 2013 18:15:49 +0000 (18:15 +0000)
commitc34c46dd820d32d7317f31125c32591935d6c576
tree69f099305b134fbef5cfa2d3f7762f5f23cbda38
parent3462aa02a699dc716bd366fee8fc1c85f7f94541
ira.c (update_equiv_regs): Only call set_paradoxical_subreg for non-debug insns.

gcc/
* ira.c (update_equiv_regs): Only call set_paradoxical_subreg
for non-debug insns.
* lra.c (new_insn_reg): Take the containing insn as a parameter.
Only modify lra_reg_info[].biggest_mode if it's non-debug insn.
(collect_non_operand_hard_regs, add_regs_to_insn_regno_info): Update
accordingly.

gcc/testsuite/
* g++.dg/debug/ra1.C: New test.

From-SVN: r202369
gcc/ChangeLog
gcc/ira.c
gcc/lra.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/ra1.C [new file with mode: 0644]