https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78886
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'd say tree-ssa-strlen.c is not the pass that should remove the malloc. The patch is preapproved with suitable testcase and ChangeLog.