https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117760

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|pinskia at gcc dot gnu.org         |unassigned at gcc dot 
gnu.org

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The opposite is true, `(a|b) != 0` implies `a != b`
```
int g(int a, int b)
{
  if ((a | b) != 0)
    return a != b;
  return 0;
}
```
  • [Bug tree-optimization/1177... pinskia at gcc dot gnu.org via Gcc-bugs

Reply via email to