combine: distribute_notes again (PR69567, PR64682)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 4 Feb 2016 23:09:51 +0000 (00:09 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 4 Feb 2016 23:09:51 +0000 (00:09 +0100)
commit171dc40edefb97b7bf15a7d4b4dbb9981e57987a
tree0fdcad95e5f8873a1ee2cf85e01b7094f22cdd2e
parent618d6c1c4df3b6363de8564373578a73f605f27e
combine: distribute_notes again (PR69567, PR64682)

As it happens the patch I did over a year ago for PR64682 isn't quite
correct.  This is PR69567.  This fixes it.

PR rtl-optimization/64682
PR rtl-optimization/69567
* combine.c (distribute_notes) <REG_DEAD>: Place the death note
before I2 only if the register is both used and set in I2.

From-SVN: r233159
gcc/ChangeLog
gcc/combine.c