re PR rtl-optimization/62151 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
authorBin Cheng <bin.cheng@arm.com>
Mon, 22 Dec 2014 10:25:10 +0000 (10:25 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Mon, 22 Dec 2014 10:25:10 +0000 (10:25 +0000)
commitae9f434509517d4c6671bc197d0d64ef7cf74cde
tree96ccd894bdb7db0c83347fac0667e0bdc3dff18f
parent86a8ba5b7527ae5df4165567535e67099ab6c52c
re PR rtl-optimization/62151 (wrong code at -O2 and -O3 on x86_64-linux-gnu)

PR rtl-optimization/62151
* combine.c (try_combine): New local variables local_elim_i1
and local_elim_i0.  Set elim_i1 and elim_i0 using the local
version variables.  Distribute notes from i0notes or i1notes
using the local variables.

gcc/testsuite/ChangeLog
PR rtl-optimization/62151
* gcc.c-torture/execute/pr62151.c: New test.

From-SVN: r219008
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr62151.c [new file with mode: 0644]