https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 88660, which changed state.
Bug 88660 Summary: [9 Regression] Invalid report of "set but used variable" with -O https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED