https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118140
--- Comment #3 from Patrick O'Neill <patrick at rivosinc dot com> --- (In reply to Andrew Pinski from comment #2) > I suspect if you rewrite it to be: > int h = f[g - 1] ? 2 : 0; > int i = f[g - 1] ? f_3 : 0; > > d = d || h > i; > You run into the same issue and my patch won't show up in the bisect. I just tried that rewritten version - no dice. It passes on trunk.