On 1/29/20 10:39 AM, Iain Sandoe wrote:
Hi Nathan,
Nathan Sidwell wrote:
Made the function type error recorded per function too.
OK now?
Still some things to address ...
diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc
index e8a6a4033f6..3ad80699ca0 100644
--- a/gcc/cp/coroutine
Hi Nathan,
Nathan Sidwell wrote:
> On 1/28/20 11:14 AM, Iain Sandoe wrote:
>> + if (!error_emitted &&
>> + (traits_decl == NULL_TREE || traits_decl == error_mark_node))
>> {
>>error_at (kw, "cannot find % template");
>> + error_emitted = true;
>>return NULL_TREE;