[Bug testsuite/124548] [16 Regression] g++.dg/coroutines/torture/func-params-07.C at -O3 failed since r16-372

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 17 21:15:15 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124548

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63962
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63962&action=edit
Patch to fix the testcase

This patch fixes the testcase for me. the rvalue reference liftime is now
extended past the original call and "forwarded" on to the call.


More information about the Gcc-bugs mailing list