diff options
| -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) |
