https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104718
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, you can use -fno-tree-dce to make it appear again even with current trunk. Though perhaps we can say that it is user's fault in that case. After all, the testcase does leak memory, because it never deletes those pointers, we just normally don't complain about it because the pointer is still reachable in mut2. But if mut2 isn't actually used, it isn't live anywhere.