Commit 15324f8c authored by geoffk's avatar geoffk
Browse files

* expr.c (expand_expr): Call convert_modes when turning a large

multiply into a small one.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35662 138bc75d-0d04-0410-961f-82ee72b054a4
parent acd9c5f5
2000-05-13 Geoffrey Keating <geoffk@cygnus.com>
2000-08-13 Geoff Keating <geoffk@cygnus.com>
* expr.c (expand_expr): Call convert_modes when turning a large
multiply into a small one.
2000-08-12 Geoff Keating <geoffk@cygnus.com>
* tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
the tree structure an exponent rather than an explicit alignment
......
......@@ -7473,8 +7473,10 @@ expand_expr (exp, target, tmode, modifier)
op0 = expand_expr (TREE_OPERAND (TREE_OPERAND (exp, 0), 0),
NULL_RTX, VOIDmode, 0);
if (TREE_CODE (TREE_OPERAND (exp, 1)) == INTEGER_CST)
op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX,
VOIDmode, 0);
op1 = convert_modes (innermode, mode,
expand_expr (TREE_OPERAND (exp, 1),
NULL_RTX, VOIDmode, 0),
unsignedp);
else
op1 = expand_expr (TREE_OPERAND (TREE_OPERAND (exp, 1), 0),
NULL_RTX, VOIDmode, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment