[Bug tree-optimization/119930] [16 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 7 19:08:40 GMT 2026


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

--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63846
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63846&action=edit
Non-lambda version

It is easier to see by doing un-lambdaifying it:
```
#ifdef WORKING
        auto t = a{coroutine_A};
        task coroutine_B = t();
#else
        task coroutine_B = a{coroutine_A}();
#endif
```


More information about the Gcc-bugs mailing list