https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109986
Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
   Last reconfirmed|                            |2023-05-26
             Status|UNCONFIRMED                 |NEW
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC does handle:
int f0(int a, int b)
{
    return (a | b) ^ a;
}

And:
int f1(int a, int b)
{
    return (a | ~b) ^ a;
}

Reply via email to