https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99677
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- I think Andrew is correct. Note we can't elide "unused" not statically initialized variables (since the initialization is seen as use).