https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97452
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to David Ledger from comment #2) > I'm happy to use this thread for the issue, I can just repost my link to the > same issue here. > > My reporting of the issue is here, but Lewis Bakers example is seperate. > > https://stackoverflow.com/questions/64348125/c20-coroutines-unexpected- > reordering-of-await-resume-return-value-and-yield > > Is there anything I can do to help this issue get resolved? I've been > throwing things at the wall trying to get something to stick (for a work > around) but so far nothing helps with this particular case. I have reproduced the problem(s) - the next thing is to do some analysis of the generated code and try to figure out where the bug is.