From: Alan Modra Date: Sat, 17 May 2003 06:52:35 +0000 (+0000) Subject: * function.c (assign_parms): Check for zero size args. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787;p=gcc.git * function.c (assign_parms): Check for zero size args. From-SVN: r66901 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7a2db97ccd..3187e09301f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-05-17 Alan Modra + + * function.c (assign_parms): Check for zero size args. + 2003-05-16 Kaveh R. Ghazi * cfgloopanal.c (test_for_iteration): Use string concatentation on diff --git a/gcc/function.c b/gcc/function.c index e2fbd9a6277..8177952a13f 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4800,6 +4800,9 @@ assign_parms (fndecl) if (GET_CODE (entry_parm) == PARALLEL) emit_group_store (mem, entry_parm, size); + else if (size == 0) + ; + /* If SIZE is that of a mode no bigger than a word, just use that mode's store operation. */ else if (size <= UNITS_PER_WORD)