re PR rtl-optimization/78911 (Infinite loop at -O2/O3 optimization levels while tryin...
authorBernd Schmidt <bernds@redhat.com>
Fri, 10 Mar 2017 21:17:13 +0000 (21:17 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 10 Mar 2017 21:17:13 +0000 (21:17 +0000)
commit8f2f63816095c764ff6440e4c44b9cc01a649920
tree4b90adb93c4355bfc4ed7065d057804ccc5e3e4a
parentc7aee4a15c4b993b063a8a94d1b6e2825130ea72
re PR rtl-optimization/78911 (Infinite loop at -O2/O3 optimization levels while trying to compile server.c from Wine-2.0-rc2)

PR rtl-optimization/78911
* lra-assigns.c (must_not_spill_p): New function.
(spill_for): Use it.

PR rtl-optimization/78911
* gcc.target/i386/pr78911-1.c: New test.
* gcc.target/i386/pr78911-2.c: New test.

From-SVN: r246059
gcc/ChangeLog
gcc/lra-assigns.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78911-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78911-2.c [new file with mode: 0644]