https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342
--- Comment #24 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Segher Boessenkool from comment #4) > Btw, try > > int h(int a, int b, int c, int d) > { > return (c & -(a==b)) | (d & -(a!=b)); > } > > to see we have some way to go here. I filed that as PR 103354 which I will handle after I submit the patches for this one.