https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 91915, which changed state.
Bug 91915 Summary: New warning for duplicate if condition in if-elseif-elseif chain https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91915 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED