diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d985ed55658..80f2afae697 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 Kazu Hirata * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c464b6c0674..53df0892172 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2468,6 +2468,9 @@ function_arg (cum, mode, type, named) break; case BLKmode: + if (bytes < 0) + break; + /* FALLTHRU */ case DImode: case SImode: case HImode: