Commit 2840e66a by Richard Henderson

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
parent 5cf63e3f
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment