https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31914 Bug 31914 depends on bug 30997, which changed state.
Bug 30997 Summary: FRE does not simplify comparisons in COND_EXPRs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30997 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED