On 01/21/2015 08:16 AM, Segher Boessenkool wrote:
> 2015-01-21 Segher Boessenkool
>
> gcc/
> PR rtl-optimization/64682
> * combine.c (distribute_notes): When moving a death note for
> a register that is set in the new I2, make sure to put it
> before that new I2.
>
> gc
If we are combining insns like
I1: (... r90) REG_DEAD r90
I2: (set r90 ...)
I3: (...)
resulting in
I2: (set r90 ...)
I3: (...)
distribute_notes for that REG_DEAD r90 wil start searching (backwards)
for r90 starting from I3. Then it will find I2, and be