https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117760
Kang-Che Sung <Explorer09 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Explorer09 at gmail dot com
--- Comment #11 from Kang-Che Sung <Explorer09 at gmail dot com> ---
(In reply to Drea Pinski from comment #2)
> The opposite is true, `(a|b) != 0` implies `a != b`
I know this issue is fixed and closed, but I think it's worth correcting this
statement for future readers.
No, `(a|b) != 0` does NOT imply `a != b`.
(Counterexample: `(1|1) != 0` but `1 == 1`)
The correct statement is `(a|b) == 0` implies `a == b`.