https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64682
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Thu Feb 4 23:09:51 2016 New Revision: 233159 URL: https://gcc.gnu.org/viewcvs?rev=233159&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c