https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105537
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, -fvar-tracking-uninit without -g produces the diagnostic but -fvar-tracking doesn't anymore (as expected from the finish_options hunk).