https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
--- Comment #8 from Milo Brandt ---
I was trying to fix this and, from my work, I have a precise diagnosis of the
bug and a hack that *mostly* fixes things, but leaves a more subtle bug
unfixed. Debugging this is getting over my head, but the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
--- Comment #7 from Milo Brandt ---
Created attachment 52075
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52075=edit
A proposed testcase for a more subtle variant of the same bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
--- Comment #6 from Milo Brandt ---
Created attachment 52074
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52074=edit
A proposed testcase for the original bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
--- Comment #1 from Milo Brandt ---
Created attachment 49812
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49812=edit
A zipped copy of the preprocessed source (main.ii) - which is slightly larger
than the 1000 KB file size limit alone
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
Bug ID: 98401
Summary: Temporaries passed to co_await sometimes cause an
extraneous call to destructor at incorrect address
Product: gcc
Version: 10.2.0
Status: