[Bug c++/105373] miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 28 18:59:36 GMT 2022


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

--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #8)
> Hoping this is a duplicate of PR105287. Checking.

I doubt it, it would seem more likely that the temporary value representing the
non-coroutine lambda object is not being promoted to a frame copy.  The
additional tightening of constraints in the PR105287 fix (which I've now made a
patch to back out of) could well be the cause of the earlier fails you now see.


More information about the Gcc-bugs mailing list