(expand_inline_function): Use convert_modes.

From-SVN: r5303
This commit is contained in:
Richard Stallman 1993-09-10 13:47:31 +00:00
parent 94a6c46f8c
commit 5be957a209

View File

@ -1245,7 +1245,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
if (GET_MODE (loc) != TYPE_MODE (TREE_TYPE (arg)))
/* The mode if LOC and ARG can differ if LOC was a variable
that had its mode promoted via PROMOTED_MODE. */
arg_vals[i] = convert_to_mode (GET_MODE (loc),
arg_vals[i] = convert_modes (GET_MODE (loc),
TYPE_MODE (TREE_TYPE (arg)),
expand_expr (arg, NULL_RTX, mode,
EXPAND_SUM),
TREE_UNSIGNED (TREE_TYPE (formal)));