re PR target/84860 (ICE in emit_move_insn, at expr.c:3717)
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Mar 2018 08:35:28 +0000 (09:35 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Mar 2018 08:35:28 +0000 (09:35 +0100)
commitfa7dde7ea2e02096ab3e727b8de930c2d6678f87
treef3bb6c6e8210e683ecad13cc7a198f0e497ca0e3
parentc36b04c1461c2825f30760043fb216237d07ce39
re PR target/84860 (ICE in emit_move_insn, at expr.c:3717)

PR target/84860
* optabs.c (emit_conditional_move): Pass address of cmode's copy
rather than address of cmode as last argument to prepare_cmp_insn.

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

From-SVN: r258552
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr84860.c [new file with mode: 0644]