https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87138
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Sep 5 07:23:00 2018 New Revision: 264108 URL: https://gcc.gnu.org/viewcvs?rev=264108&root=gcc&view=rev Log: Backported from mainline 2018-08-31 Jakub Jelinek <ja...@redhat.com> PR middle-end/87138 * expmed.c (expand_mult_const): Use immed_wide_int_const instead of gen_int_mode. Formatting fixes. * gcc.target/i386/avx512bw-pr87138.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr87138.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/expmed.c branches/gcc-8-branch/gcc/testsuite/ChangeLog