function.c (assign_parms): Don't abort with zero size stack parm failing the PARM_BOUNDARY check.

* function.c (assign_parms): Don't abort with zero size stack
	parm failing the PARM_BOUNDARY check.

From-SVN: r83840
This commit is contained in:
Alan Modra 2004-06-29 03:54:07 +00:00 committed by Alan Modra
parent e440ec5747
commit afc066ef35
2 changed files with 6 additions and 1 deletions

View 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.

View 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);