From: Kai Tietz Date: Thu, 4 Aug 2011 19:12:57 +0000 (+0200) Subject: i386.c (setup_incoming_varargs_ms_64): Set ix86_varargs_gpr_size and ix86_varargs_fpr... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1ea7f07d93e5d06b31585c49e001892a56dff45;p=gcc.git i386.c (setup_incoming_varargs_ms_64): Set ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero. 2011-08-04 Kai Tietz * config/i386/i386.c (setup_incoming_varargs_ms_64): Set ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero. From-SVN: r177412 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c46be35cf0..9fa4a4f2757 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-04 Kai Tietz + + * config/i386/i386.c (setup_incoming_varargs_ms_64): Set + ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero. + 2011-08-04 Ira Rosen * tree-vectorizer.h (struct _stmt_vec_info): Add new field for diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a7f8ee5bdf3..2d1e83a6de8 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;