]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/84860 (ICE in emit_move_insn, at expr.c:3717)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jun 2018 20:41:55 +0000 (22:41 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jun 2018 20:41:55 +0000 (22:41 +0200)
commit42e4700c955279dfd8e2689059f4140bff4923ae
tree88f0c47659ecb2001679f22144ac4473e4d627bc
parente915c604c15b18236c0d4a0109f8683b5c701150
backport: re PR target/84860 (ICE in emit_move_insn, at expr.c:3717)

Backported from mainline
2018-03-15  Jakub Jelinek  <jakub@redhat.com>

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: r261923
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr84860.c [new file with mode: 0644]