On Wed, Feb 28, 2018 at 7:06 AM, Alexandre Oliva <aol...@redhat.com> wrote: > We ICEd when returning a stmt expr that ends with an overloaded > function. It's ill-formed when we can't convert the function name to > the return type, but we should say that, not ICE.
Hmm, what about the case where we could convert the function name to the return type? I think it should still be ill-formed for a statement-expression to have an unresolved overload as its value. So finish_stmt_expr_expr should check type_unknown_p. Jason