diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-05-17 06:52:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2003-05-17 16:22:35 +0930 |
commit | 5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787 (patch) | |
tree | db21fe50681e622d4b7ed8ebd46ed3596788fde4 | |
parent | 90ff44cfd6d1cd20ebb9716d32fb821ca94560b7 (diff) | |
download | gcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.zip gcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.tar.gz gcc-5c07bd7a3c5ad78260ad8c53e0f2e003f3df0787.tar.bz2 |
* function.c (assign_parms): Check for zero size args.
From-SVN: r66901
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/function.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7a2db9..3187e09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-05-17 Alan Modra <amodra@bigpond.net.au> + + * function.c (assign_parms): Check for zero size args. + 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * cfgloopanal.c (test_for_iteration): Use string concatentation on 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) |