Commit 5be957a2 by Richard Stallman

(expand_inline_function): Use convert_modes.

From-SVN: r5303
parent 94a6c46f
...@@ -1245,7 +1245,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add ...@@ -1245,7 +1245,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
if (GET_MODE (loc) != TYPE_MODE (TREE_TYPE (arg))) if (GET_MODE (loc) != TYPE_MODE (TREE_TYPE (arg)))
/* The mode if LOC and ARG can differ if LOC was a variable /* The mode if LOC and ARG can differ if LOC was a variable
that had its mode promoted via PROMOTED_MODE. */ 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_expr (arg, NULL_RTX, mode,
EXPAND_SUM), EXPAND_SUM),
TREE_UNSIGNED (TREE_TYPE (formal))); TREE_UNSIGNED (TREE_TYPE (formal)));
......
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