https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827
Michael Duggan <mwd at md5i dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55648|0 |1
is obsolete| |
--- Comment #7 from Michael Duggan <mwd at md5i dot com> ---
Created attachment 55812
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55812&action=edit
Better example
This example has both a coroutine and a non-coroutine with the same contents.
Rather than using cout, it calls an empty function that is designed to not be
optimized away.