[Bug middle-end/126742] [17 Regression] Wrong code for a != b | (a|b) != 0

kaelfandrew at gmail dot com via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126742

--- Comment #3 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Kael Franco from comment #2)
> r17-2886.

Regtest missed this because gcc.dg/int-bwise-opt-2.c only test:

 /* { dg-final { scan-tree-dump-times "a == b" 0 "optimized" } } */
 /* { dg-final { scan-tree-dump-times "a != b" 0 "optimized" } } */

I will modify this test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.