https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 81676, which changed state.
Bug 81676 Summary: Wrong warning with unused-but-set-parameter within 'if constexpr' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED