diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2019-10-21 20:44:16 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozefl@gcc.gnu.org> | 2019-10-21 20:44:16 +0000 |
commit | c01d9cfe840a1b9c5e6fa68f5af4fe321263bc7f (patch) | |
tree | 67258b14e427fcd02c3fd20a5555a32becd85329 /gcc/expr.c | |
parent | debf1662d1f0cbe54198119f1a74baf46ad6a41a (diff) | |
download | gcc-c01d9cfe840a1b9c5e6fa68f5af4fe321263bc7f.zip gcc-c01d9cfe840a1b9c5e6fa68f5af4fe321263bc7f.tar.gz gcc-c01d9cfe840a1b9c5e6fa68f5af4fe321263bc7f.tar.bz2 |
expr.c (expand_expr_real_2): Don't widen constant op1 when expanding widening multiplication.
2019-10-21 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* expr.c (expand_expr_real_2): Don't widen constant op1 when expanding
widening multiplication.
From-SVN: r277271
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -8954,9 +8954,6 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode, != INTEGER_CST check. Handle it. */ if (GET_MODE (op0) == VOIDmode && GET_MODE (op1) == VOIDmode) goto widen_mult_const; - if (TREE_CODE (treeop1) == INTEGER_CST) - op1 = convert_modes (mode, word_mode, op1, - TYPE_UNSIGNED (TREE_TYPE (treeop1))); temp = expand_binop (mode, other_optab, op0, op1, target, unsignedp, OPTAB_LIB_WIDEN); hipart = gen_highpart (word_mode, temp); |