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
This commit is contained in:
Richard Henderson 2002-04-18 20:59:51 -07:00
parent 5cf63e3f08
commit 2840e66a78

View file

@ -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. */