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:
parent
5cf63e3f08
commit
2840e66a78
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue