https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=99912 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://gcc.gnu.org/pipermail/gcc-patches/2021-April/567744.html I have decided now to go down the "maybe we should unconditionally do so" route and add TODO_remove_unused_locals to pass_dse. This will definitely show up more and more with many C++ code which GCC was not worried about before.