re PR rtl-optimization/87600 (Fix for PRs 86939 and 87479 causes build issues for...
authorPeter Bergner <bergner@linux.ibm.com>
Thu, 8 Nov 2018 22:39:45 +0000 (22:39 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Thu, 8 Nov 2018 22:39:45 +0000 (16:39 -0600)
commit2f0b80c7a4ab4254f57ba63de26ebb7896e3742d
tree0b641c23205b2def0563667593bc61bb7bc6e042
parent39abbb865c2363ab508bdf5dc24553e448c803b0
re PR rtl-optimization/87600 (Fix for PRs 86939 and 87479 causes build issues for several targets)

gcc/
PR rtl-optimization/87600
* cfgexpand.c (expand_asm_stmt): Catch illegal asm constraint usage.
* lra-constraints.c (process_alt_operands): Skip illegal hard
register usage.  Prefer reloading non hard register operands.

gcc/testsuite/
PR rtl-optimization/87600
* gcc.dg/pr87600.h: New file.
* gcc.dg/pr87600-1.c: New test.
* gcc.dg/pr87600-2.c: Likewise.

From-SVN: r265942
gcc/ChangeLog
gcc/cfgexpand.c
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87600-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr87600-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr87600.h [new file with mode: 0644]