https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24568 Bug 24568 depends on bug 24574, which changed state.
Bug 24574 Summary: a!=0?a/10:0 is not reduced to a/10 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24574 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED