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

--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Anton Mitrokhin from comment #3)
> I see those warnings with -O3, but not with -O0. Why is that?

As the documentation says, this warning depends on optimizations. A bogus
optimization that breaks the code may thus also cause this warning.

> I also do not see what is wrong with the code.

If you manage to reduce the example a little more, with fewer lambdas, that
might help with the debugging.

Reply via email to