re PR tree-optimization/71423 (wrong code at -Os and above on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Tue, 7 Jun 2016 07:30:47 +0000 (07:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 7 Jun 2016 07:30:47 +0000 (07:30 +0000)
commit0f3f94375a989a45df3c315789f0fc62bbf39989
tree4acd58ee5cf0f663525e480405a65346172abaf2
parentdf32c0b335a41c8ca522433d6df04c647cc6d495
re PR tree-optimization/71423 (wrong code at -Os and above on x86_64-linux-gnu)

2016-06-07  Richard Biener  <rguenther@suse.de>

PR middle-end/71423
* match.pd ((X | ~Y) -> Y <= X): Properly invert the comparison
for signed ops.

* gcc.dg/torture/pr71423.c: New testcase.

From-SVN: r237166
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71423.c [new file with mode: 0644]