combine: distribute_notes again (PR69567, PR64682)
commit81c08ac38543d80cdcb2601ce2d00e72ab946490
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 2016 23:09:51 +0000 (4 23:09 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 2016 23:09:51 +0000 (4 23:09 +0000)
tree0fdcad95e5f8873a1ee2cf85e01b7094f22cdd2e
parentf7ef53928bc90411d40404ce42dc2c3dfc33c2fb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233159 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c