]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: ira.c (update_equiv_regs): Only call set_paradoxical_subreg for non-debug...
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 20 Feb 2015 07:07:00 +0000 (08:07 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 20 Feb 2015 07:07:00 +0000 (08:07 +0100)
commit821bc6b07a03a03a5c14f2423d313a9a98ab8503
tree828788af40801769752d40cc3b473d340d2dc26f
parentc7f6c53ce1d8dc1786d396a55518f69008fb5648
backport: ira.c (update_equiv_regs): Only call set_paradoxical_subreg for non-debug insns.

Backport from mainline
2013-09-08  Richard Sandiford  <rdsandiford@googlemail.com>

* 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.

testsuite/ChangeLog:

Backport from mainline
2013-09-08  Richard Sandiford  <rdsandiford@googlemail.com>

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

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