re PR rtl-optimization/52573 (regrename creates overlapping register allocations...
authorJeff Law <law@gcc.gnu.org>
Fri, 18 Jan 2013 07:54:47 +0000 (00:54 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 18 Jan 2013 07:54:47 +0000 (00:54 -0700)
commitc664546f0e9d12d8f3249b67982e0b192e112bef
treeeeafc6e254984b4679789b0594673c47e2dc2585
parent1f8b0400aa92a00ab1fd022d9e3eb3e0c7526f38
re PR rtl-optimization/52573 (regrename creates overlapping register allocations for output operands)

PR rtl-optimization/52573
        * regrename.c (build_def_use): Ignore REG_DEAD notes if there is
        a REG_UNUSED for the same register.

* gcc.dg/pr52573.c: New test.

From-SVN: r195288
gcc/ChangeLog
gcc/regrename.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr52573.c [new file with mode: 0644]