https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87065
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Aug 27 09:14:38 2018 New Revision: 263873 URL: https://gcc.gnu.org/viewcvs?rev=263873&root=gcc&view=rev Log: PR rtl-optimization/87065 * combine.c (simplify_if_then_else): Formatting fix. (if_then_else_cond): Guard MULT optimization with SCALAR_INT_MODE_P check. (known_cond): Don't return const_true_rtx for vector modes. Use CONST0_RTX instead of const0_rtx. Formatting fixes. * gcc.target/i386/pr87065.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr87065.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/combine.c branches/gcc-8-branch/gcc/testsuite/ChangeLog