diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-01-18 08:45:12 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-01-18 08:45:12 +0100 |
commit | e7ef91dc8eb398de7b6c780b00f1360dafd84798 (patch) | |
tree | 020c8a49163b7cf9347b1c3455970378ec548bc7 /gcc/emit-rtl.c | |
parent | fb70168707ecbe4175c069f6c36baa8986a075bd (diff) | |
download | gcc-e7ef91dc8eb398de7b6c780b00f1360dafd84798.zip gcc-e7ef91dc8eb398de7b6c780b00f1360dafd84798.tar.gz gcc-e7ef91dc8eb398de7b6c780b00f1360dafd84798.tar.bz2 |
re PR rtl-optimization/47299 (Widening multiply optimization generates bad code)
PR rtl-optimization/47299
* expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
subtarget. Use normal multiplication if both operands are
constants.
* expmed.c (expand_widening_mult): Don't try to optimize constant
multiplication if op0 has VOIDmode. Convert op1 constant to mode
before using it.
* gcc.c-torture/execute/pr47299.c: New test.
From-SVN: r168944
Diffstat (limited to 'gcc/emit-rtl.c')
0 files changed, 0 insertions, 0 deletions