* function.c (assign_parms): Check for zero size args.
authorAlan Modra <amodra@bigpond.net.au>
Sat, 17 May 2003 06:52:35 +0000 (06:52 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 17 May 2003 06:52:35 +0000 (16:22 +0930)
From-SVN: r66901

gcc/ChangeLog
gcc/function.c

index c7a2db97ccd4353025bc26c6844eb69f2746b1e4..3187e09301f73587c65041f0f0c4ef68029199ff 100644 (file)
@@ -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
index e2fbd9a62773625146aadecbdc8c032f23de56fb..8177952a13fa7c73bdfc817b1463ebf52d3b4975 100644 (file)
@@ -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)