function.c (assign_parms): Initialize unsignedp before passing its pointer to promote_mode.

* function.c (assign_parms): Initialize unsignedp before passing
        its pointer to promote_mode.

From-SVN: r19215
This commit is contained in:
John Carr 1998-04-14 23:10:49 +00:00 committed by Jeff Law
parent 6703abc459
commit 7940255dd6
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
* function.c (assign_parms): Initialize unsignedp before passing
its pointer to promote_mode.
* genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
(write_test_expr): Allow MATCH_INSN.

View File

@ -3780,6 +3780,7 @@ assign_parms (fndecl, second_time)
#ifdef PROMOTE_FUNCTION_ARGS
/* Compute the mode in which the arg is actually extended to. */
unsignedp = TREE_UNSIGNED (passed_type);
promoted_mode = promote_mode (passed_type, promoted_mode, &unsignedp, 1);
#endif