https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90187
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 30 21:09:20 2019 New Revision: 270756 URL: https://gcc.gnu.org/viewcvs?rev=270756&root=gcc&view=rev Log: Backported from mainline 2019-04-24 Jakub Jelinek <ja...@redhat.com> PR target/90187 * config/i386/i386.c (ix86_expand_sse_fp_minmax): Force if_true into a register if both if_true and if_false are MEMs. * g++.dg/opt/pr90187.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr90187.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog