https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84860
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jun 22 20:41:55 2018 New Revision: 261923 URL: https://gcc.gnu.org/viewcvs?rev=261923&root=gcc&view=rev Log: Backported from mainline 2018-03-15 Jakub Jelinek <ja...@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. Added: branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr84860.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/optabs.c branches/gcc-7-branch/gcc/testsuite/ChangeLog