aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-08-04 21:12:57 +0200
committerKai Tietz <ktietz@gcc.gnu.org>2011-08-04 21:12:57 +0200
commitc1ea7f07d93e5d06b31585c49e001892a56dff45 (patch)
tree3ac42dcc7cda9dbb4b6e2ce337993628a55a8cae /gcc/config
parent1107f3ae0a154985113aa392e451aa5fa9fe7f0a (diff)
downloadgcc-c1ea7f07d93e5d06b31585c49e001892a56dff45.zip
gcc-c1ea7f07d93e5d06b31585c49e001892a56dff45.tar.gz
gcc-c1ea7f07d93e5d06b31585c49e001892a56dff45.tar.bz2
i386.c (setup_incoming_varargs_ms_64): Set ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero.
2011-08-04 Kai Tietz <ktietz@redhat.com> * config/i386/i386.c (setup_incoming_varargs_ms_64): Set ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero. From-SVN: r177412
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index a7f8ee5..2d1e83a 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -7502,6 +7502,11 @@ setup_incoming_varargs_64 (CUMULATIVE_ARGS *cum)
static void
setup_incoming_varargs_ms_64 (CUMULATIVE_ARGS *cum)
{
+ /* Reset to zero, as there might be a sysv vaarg used
+ before. */
+ ix86_varargs_gpr_size = 0;
+ ix86_varargs_fpr_size = 0;
+
alias_set_type set = get_varargs_alias_set ();
int i;