This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84824] DCE fails to remove dead code of std::function constructor
- From: "manjian2006 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2018 06:15:33 +0000
- Subject: [Bug c++/84824] DCE fails to remove dead code of std::function constructor
- Auto-submitted: auto-generated
- References: <bug-84824-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84824
--- Comment #2 from linzj <manjian2006 at gmail dot com> ---
Okay, it's std::_Function_base::_Base_manager<getFunc(int)::<lambda(int, int)>
>::_M_manager(std::_Any_data &, const std::_Any_data &,
std::_Manager_operation) (__dest=..., __source=...,
__op=std::__destroy_functor)
function that dce fails to remove.