在 2020/2/10 下午7:42, JunMa 写道:
Ping~

Regards
JunMa
Kindly ping.

Regards
JunMa

在 2020/2/5 下午5:17, JunMa 写道:
在 2020/2/5 下午2:14, JunMa 写道:
Hi
This patch builds co_await/yield_expr with unknown_type when we can not
know the promise type in processing_template_decl phase. it avoid to
confuse compiler when handing type deduction and conversion.

Bootstrap and test on X86_64, is it OK?

Regards
JunMa

Hi
sorry for that '}' was removed, here is the update patch:)

Regards
JunMa
gcc/cp
2020-02-05  Jun Ma <ju...@linux.alibaba.com>

        * coroutines.cc (finish_co_await_expr): Build co_await_expr
        with unknown_type_node.
        (finish_co_yield_expr): Ditto.
        *pt.c (type_dependent_expression_p): Set co_await/yield_expr
        with unknown type as dependent.

gcc/testsuite
2020-02-05  Jun Ma <ju...@linux.alibaba.com>

        * g++.dg/coroutines/torture/co-await-14-template-traits.C: New test.




Reply via email to