Commit 5e208e74 by Ian Lance Taylor

Don't crash when adding function calls that return multiple results.

From-SVN: r168487
parent bdc4349d
......@@ -401,6 +401,11 @@ Type::are_identical(const Type* t1, const Type* t2, bool errors_are_identical,
return t1->interface_type()->is_identical(t2->interface_type(),
errors_are_identical);
case TYPE_CALL_MULTIPLE_RESULT:
if (reason != NULL)
*reason = "invalid use of multiple value function call";
return false;
default:
gcc_unreachable();
}
......
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