From: Alan Modra Date: Tue, 29 Jun 2004 03:54:07 +0000 (+0000) Subject: function.c (assign_parms): Don't abort with zero size stack parm failing the PARM_BOU... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afc066ef359fbce1d44025e59c67eeb08aa87a44;p=gcc.git function.c (assign_parms): Don't abort with zero size stack parm failing the PARM_BOUNDARY check. * function.c (assign_parms): Don't abort with zero size stack parm failing the PARM_BOUNDARY check. From-SVN: r83840 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64cca62c739..7403553b171 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 Alan Modra + + * function.c (assign_parms): Don't abort with zero size stack + parm failing the PARM_BOUNDARY check. + 2004-06-28 Diego Novillo * common.opt (ftree-fre): New flag. diff --git a/gcc/function.c b/gcc/function.c index ea092838519..080345f02bd 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4821,7 +4821,7 @@ assign_parms (tree fndecl) } else if (GET_CODE (entry_parm) == PARALLEL) ; - else if (PARM_BOUNDARY % BITS_PER_WORD != 0) + else if (size != 0 && PARM_BOUNDARY % BITS_PER_WORD != 0) abort (); mem = validize_mem (stack_parm);