https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98970
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Also, for -Wuninitialized: Note that there may be no warning about a variable that is used only to compute a value that itself is never used, because such computations may be deleted by data flow analysis before the warnings are printed.