From: Richard Henderson Date: Wed, 26 Feb 2003 01:29:09 +0000 (-0800) Subject: i386.c (function_arg): Pass variable sized structures correctly on the stack. X-Git-Tag: releases/gcc-3.2.3~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c9b4e63ae9310ad3b165d524b823e7ce06d9f6;p=thirdparty%2Fgcc.git i386.c (function_arg): Pass variable sized structures correctly on the stack. * config/i386/i386.c (function_arg): Pass variable sized structures correctly on the stack. From-SVN: r63444 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97638d9d0f81..938a11068cfc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-02-25 Richard Henderson + + * config/i386/i386.c (function_arg): Pass variable sized + structures correctly on the stack. + 2003-02-25 Franz Sirl PR target/9732 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 054a925e390d..779d89b0c9f1 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2232,6 +2232,9 @@ function_arg (cum, mode, type, named) break; case BLKmode: + if (bytes < 0) + break; + /* FALLTHRU */ case DImode: case SImode: case HImode: