Commit 405a98aa by Steve Ellcey Committed by Steve Ellcey

stmt.c (tail_recursion_args): Call promote_mode to set unsignedp flag correctly…

stmt.c (tail_recursion_args): Call promote_mode to set unsignedp flag correctly before calling convert_move.

	* stmt.c (tail_recursion_args): Call promote_mode to set
	unsignedp flag correctly before calling convert_move.

From-SVN: r64501
parent df86c7e2
2003-03-17 Steve Ellcey <sje@cup.hp.com>
* stmt.c (tail_recursion_args): Call promote_mode to set
unsignedp flag correctly before calling convert_move.
2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* loop-unroll.c (decide_peel_completely, * loop-unroll.c (decide_peel_completely,
......
...@@ -3350,15 +3350,15 @@ tail_recursion_args (actuals, formals) ...@@ -3350,15 +3350,15 @@ tail_recursion_args (actuals, formals)
else else
{ {
rtx tmp = argvec[i]; rtx tmp = argvec[i];
int unsignedp = TREE_UNSIGNED (TREE_TYPE (TREE_VALUE (a)));
promote_mode(TREE_TYPE (TREE_VALUE (a)), GET_MODE (tmp),
&unsignedp, 0);
if (DECL_MODE (f) != GET_MODE (DECL_RTL (f))) if (DECL_MODE (f) != GET_MODE (DECL_RTL (f)))
{ {
tmp = gen_reg_rtx (DECL_MODE (f)); tmp = gen_reg_rtx (DECL_MODE (f));
convert_move (tmp, argvec[i], convert_move (tmp, argvec[i], unsignedp);
TREE_UNSIGNED (TREE_TYPE (TREE_VALUE (a))));
} }
convert_move (DECL_RTL (f), tmp, convert_move (DECL_RTL (f), tmp, unsignedp);
TREE_UNSIGNED (TREE_TYPE (TREE_VALUE (a))));
} }
} }
......
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