https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59167 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59167&action=edit Semi reduced with some includes added back This is the best I could get but I decided to add back tuple and coroutine headers since I could not get rid of the depedency on std::tuple<Ts &> there. I tried a normal struct but you need the std::get and friends really otherwise it would just work it seems.