https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88563
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 30 11:22:27 2019 New Revision: 275081 URL: https://gcc.gnu.org/viewcvs?rev=275081&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-7-branch/gcc/testsuite/gcc.dg/pr88563.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/expr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog