[Bug rtl-optimization/88563] [7/8/9 Regression] wrong code with -O2 -fno-code-hoisting -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-forwprop -fno-tree-fre -fno-tree-pre -fno-tree-vrp
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 21 15:55:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88563
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 21 15:54:55 2018
New Revision: 267326
URL: https://gcc.gnu.org/viewcvs?rev=267326&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.dg/pr88563.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list