https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 91335, which changed state.
Bug 91335 Summary: False positive "unused variable" warning with variable initialized in 'if' condition https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID