From: Richard Henderson Date: Fri, 19 Apr 2002 03:59:51 +0000 (-0700) Subject: ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode... X-Git-Tag: releases/gcc-3.3.0~5599 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2840e66a788bf5d64db91f2817ea7e5336904cfb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index d628dea91af7..4dd6229e2392 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. */