diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index aed4c60fa0c..3308dbba564 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4638,7 +4638,7 @@ assign_parms (fndecl) push_to_sequence (conversion_insns); - if (TYPE_SIZE (type) == 0 + if (!COMPLETE_TYPE_P (type) || TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST) /* This is a variable sized object. */ copy = gen_rtx_MEM (BLKmode, |