re PR tree-optimization/77856 (wrong code at -O2 on x86_64-linux-gnu in 32-bit mode)
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 30 Nov 2016 17:35:40 +0000 (17:35 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 30 Nov 2016 17:35:40 +0000 (17:35 +0000)
commitf7abdf36e580423f00d974704f5e8ae5e34ded32
treef80d2afbb2f124af6664421a6fc4f97b0bf8b676
parentde683d58cfb792650c2549bf1522f45b03397bd7
re PR tree-optimization/77856 (wrong code at -O2 on x86_64-linux-gnu in 32-bit mode)

2016-11-30  Vladimir Makarov  <vmakarov@redhat.com>

PR tree-optimization/77856
* lra-constraints.c (inherit_in_ebb): Check original regno for
invalid invariant regs too.  Set only clobbered hard regs for the
invalid invariant regs.

2016-11-30  Vladimir Makarov  <vmakarov@redhat.com>

PR tree-optimization/77856
* gcc.target/i386.c (pr77856.c): New.

From-SVN: r243038
gcc/ChangeLog
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77856.c [new file with mode: 0644]