https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82728 Bug 82728 depends on bug 85963, which changed state.
Bug 85963 Summary: [8/9 Regression] false positive "set but not used" warning [-Wunused-but-set-variable] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85963 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED