summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-29 03:54:07 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-29 03:54:07 +0000
commitcbf596b8cad9e18f4ebfa83d65d8f7efc72e77ec (patch)
tree596aa71fb86a4dd5200d74ab55be36672d4422ea /gcc/function.c
parent0519c5ffe0ec60f719904c24ccb19675a88a614e (diff)
downloadgcc-cbf596b8cad9e18f4ebfa83d65d8f7efc72e77ec.tar.gz
* function.c (assign_parms): Don't abort with zero size stack
parm failing the PARM_BOUNDARY check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index ea092838519..080345f02bd 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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);