https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88563
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 8 10:26:39 2019 New Revision: 267714 URL: https://gcc.gnu.org/viewcvs?rev=267714&root=gcc&view=rev Log: Backported from mainline 2018-12-21 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/88563 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Swap innermode and mode arguments to convert_modes. Likewise swap mode and word_mode arguments. Handle both arguments with VOIDmode before convert_modes of one of them. Formatting fixes. * gcc.dg/pr88563.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr88563.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/expr.c branches/gcc-8-branch/gcc/testsuite/ChangeLog