https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107888
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
By the way this does show up in GCC itself.
in worse_state in ipa-pure-const.cc where it does MAX of bools
and for x86's internal_min_issue_delay in insn-automata.cc
The below is the similar code to what is there:
unsigned f(unsigned temp1, unsigned temp2)
{
unsigned temp, res;
temp = temp1 & 3;
res = temp;
temp = temp2 & 1;
if (temp > res)
res = temp;
return res;
}
