re PR rtl-optimization/64682 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 22 Jan 2015 00:35:44 +0000 (01:35 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 22 Jan 2015 00:35:44 +0000 (01:35 +0100)
commitc8b90a13c729f6fb33a97c4f4cd8116e5ef7fdf1
treec47c1b96b38857c0eb607f3b89455c8b7cd40939
parenta393438f272e85f4ec2b69dce9e82448312d4bce
re PR rtl-optimization/64682 (wrong code at -O2 and -O3 on x86_64-linux-gnu)

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.

PR rtl-optimization/64682
* gcc.c-torture/execute/pr64682.c: New file.

From-SVN: r219981
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog