From 2840e66a788bf5d64db91f2817ea7e5336904cfb Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 18 Apr 2002 20:59:51 -0700 Subject: [PATCH] ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls. * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls. From-SVN: r52508 --- gcc/config/ia64/ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index d628dea91af..4dd6229e239 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -3211,7 +3211,7 @@ ia64_function_arg_pass_by_reference (cum, mode, type, named) tree type; int named ATTRIBUTE_UNUSED; { - return TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST; + return type && TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST; } /* Implement va_start. */ -- 2.30.2