diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-16 18:34:06 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-16 18:34:06 +0000 |
commit | 68948913dd4be157b58465a75d3ce2602db121e6 (patch) | |
tree | 00d992b683be990b7bb05309658786a723e841c4 /gcc/calls.c | |
parent | 31df18a3867dfa4863e1c84be237eb7d2f926e86 (diff) | |
download | gcc-68948913dd4be157b58465a75d3ce2602db121e6.tar.gz |
(emit_library_call_value): Initialize all argvec elements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14463 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 52d5cd7684e..c510a33a11b 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2837,7 +2837,7 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, library functions shouldn't have many args. */ argvec = (struct arg *) alloca ((nargs + 1) * sizeof (struct arg)); - bzero ((char *) argvec, nargs * sizeof (struct arg)); + bzero ((char *) argvec, (nargs + 1) * sizeof (struct arg)); INIT_CUMULATIVE_ARGS (args_so_far, NULL_TREE, fun, 0); |