[C++ coroutines] Initial implementation pushed to master.

Richard Biener richard.guenther@gmail.com
Mon Jan 20 08:31:00 GMT 2020


On Sat, Jan 18, 2020 at 2:02 PM Iain Sandoe <iain@sandoe.co.uk> wrote:
>
> Hi Jakub,
>
> Jakub Jelinek <jakub@redhat.com> wrote:
>
> > On Sat, Jan 18, 2020 at 12:53:48PM +0000, Iain Sandoe wrote:
> > Thanks.
> >
> > Shouldn't this be mentioned in https://gcc.gnu.org/projects/cxx-status.html
> > ?
> >
> >> * This is not enabled by default (even for -std=c++2a), it needs
> >> -fcoroutines.
> >
> > And, if this is the planned case even for GCC 10 release, I think the
> > -fcoroutines option needs to be mentioned there too.
>
> Yes, (and I also need to update the wiki), just didn’t want to delay the
> commit any
> more.
>
> I will get onto those (on Monday probably).

It also deserves a changes.html entry in the C++ parts.  Does the compiler
hint at using -fcoroutines when the user tries to use those and specifies
-std=c++2a?  (I'm curious about the -fcoroutines requirement, is that because
the implementation might still become incompatible with the actual c++2a?)

Richard.

> Iain
>



More information about the Libstdc++ mailing list