function.c (assign_parms): Don't abort with zero size stack parm failing the PARM_BOU...
authorAlan Modra <amodra@bigpond.net.au>
Tue, 29 Jun 2004 03:54:07 +0000 (03:54 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 29 Jun 2004 03:54:07 +0000 (13:24 +0930)
* function.c (assign_parms): Don't abort with zero size stack
parm failing the PARM_BOUNDARY check.

From-SVN: r83840

gcc/ChangeLog
gcc/function.c

index 64cca62c739e1f632f6f13576bdeb03b41522992..7403553b1710fff0eb11a85063e9799fb81e071e 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * function.c (assign_parms): Don't abort with zero size stack
+       parm failing the PARM_BOUNDARY check.
+
 2004-06-28  Diego Novillo  <dnovillo@redhat.com>
 
        * common.opt (ftree-fre): New flag.
index ea092838519782c2bfb0111a265cace07b6396ae..080345f02bda648ce3bba502b590eb343cdb7a88 100644 (file)
@@ -4821,7 +4821,7 @@ assign_parms (tree fndecl)
                }
              else if (GET_CODE (entry_parm) == PARALLEL)
                ;
-             else if (PARM_BOUNDARY % BITS_PER_WORD != 0)
+             else if (size != 0 && PARM_BOUNDARY % BITS_PER_WORD != 0)
                abort ();
 
              mem = validize_mem (stack_parm);