re PR rtl-optimization/82913 (ICE: Segmentation fault in try_merge_compare)
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Nov 2017 23:58:51 +0000 (00:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Nov 2017 23:58:51 +0000 (00:58 +0100)
commite9b8a6284773c0043fe160db62fa834c9b6a5cab
treebfc2910581648bb0cec45bb071249e0816346648
parent89759031c533742283a5dbad7674563dca663ec3
re PR rtl-optimization/82913 (ICE: Segmentation fault in try_merge_compare)

PR rtl-optimization/82913
* compare-elim.c (try_merge_compare): Punt if def_insn is not
single set.

* gcc.c-torture/compile/pr82913.c: New test.

From-SVN: r254614
gcc/ChangeLog
gcc/compare-elim.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr82913.c [new file with mode: 0644]