aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-05-17 06:52:35 +0000
committerAlan Modra <amodra@gcc.gnu.org>2003-05-17 16:22:35 +0930
commit5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787 (patch)
treedb21fe50681e622d4b7ed8ebd46ed3596788fde4 /gcc/function.c
parent90ff44cfd6d1cd20ebb9716d32fb821ca94560b7 (diff)
downloadgcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.zip
gcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.tar.gz
gcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.tar.bz2
* function.c (assign_parms): Check for zero size args.
From-SVN: r66901
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index e2fbd9a..8177952 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)