re PR tree-optimization/53979 (((a ^ b) | a) not optimized to (a | b))
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Thu, 20 Oct 2016 07:55:28 +0000 (07:55 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Thu, 20 Oct 2016 07:55:28 +0000 (07:55 +0000)
commit2066ef6ac8cd3e04f46b9fceeb7b8d16eff62cf3
treec4c0b7c3c40fd68c97f751d828328f8ef3fc6de5
parentd480863abb1e4ed178fcc906969008c37fc68f60
re PR tree-optimization/53979 (((a ^ b) | a) not optimized to (a | b))

2016-10-20  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

PR tree-optimization/53979
* match.pd ((a ^ b) | a -> a | b): New pattern.

testsuite/
* gcc.dg/pr53979-1.c: New test-case.
* gcc.dg/pr53979-2.c: Likewise.

From-SVN: r241360
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr53979-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr53979-2.c [new file with mode: 0644]