https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 85827, which changed state.
Bug 85827 Summary: false positive for -Wunused-but-set-variable because of constexpr-if https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85827 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED