[Bug c++/84824] DCE fails to remove dead code of std::function constructor

manjian2006 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 12 05:54:00 GMT 2018


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

--- Comment #1 from linzj <manjian2006 at gmail dot com> ---
According to the tree generated, the problem is sourced from fail to remove the
lambda function call. But the constant value is deduced and propagated. In case
of the side effect?


More information about the Gcc-bugs mailing list