summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-14 23:10:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-14 23:10:49 +0000
commit17ebcb413294545482464792f77baf12f13efff8 (patch)
tree1a4e8676310a19ae40fb9d43769a684e9cce3ea9 /gcc/function.c
parent8beb3961cccf24d3fb7550da305302de8b8799ca (diff)
downloadgcc-17ebcb413294545482464792f77baf12f13efff8.tar.gz
* function.c (assign_parms): Initialize unsignedp before passing
its pointer to promote_mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7b273e21d09..8f29b73f418 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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