From f93b21e270ba3f0e583593280e5f2a42e0273a92 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 5 Aug 2011 15:15:33 -0400 Subject: [PATCH] i386.c (setup_incoming_varargs_ms_64): Move declarations to beginning of function. * config/i386/i386.c (setup_incoming_varargs_ms_64): Move declarations to beginning of function. From-SVN: r177481 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba172aa6dce..b9c089da34f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-05 Jason Merrill + + * config/i386/i386.c (setup_incoming_varargs_ms_64): Move + declarations to beginning of function. + 2011-08-05 Bernd Schmidt PR rtl-optimization/49900 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5d995ab1760..f1d6430f079 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -7507,14 +7507,14 @@ setup_incoming_varargs_64 (CUMULATIVE_ARGS *cum) static void setup_incoming_varargs_ms_64 (CUMULATIVE_ARGS *cum) { + alias_set_type set = get_varargs_alias_set (); + int i; + /* 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; - for (i = cum->regno; i < X86_64_MS_REGPARM_MAX; i++) { rtx reg, mem; -- 2.30.2