https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118946
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- This happens when all uses of the stack var are elided during RTL optimization where we cannot get rid of the allocation anymore. There are some duplicate bugreports tracking this already.