re PR tree-optimization/71636 (Missed optimization in variable alignment test)
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 17 Oct 2016 08:48:43 +0000 (08:48 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Mon, 17 Oct 2016 08:48:43 +0000 (08:48 +0000)
commit89b80c429a4e09fa8f3ccc1dfc2c2ec17f663d88
tree2f792ea3c5eed724349f041f4fc4bb764d9f5cdb
parentd6b1fea25cf97d8f766dbebc092f4d7b388fc313
re PR tree-optimization/71636 (Missed optimization in variable alignment test)

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

PR tree-optimization/71636
* match.pd (x & ((1 << b) - 1) -> x & ~(~0 << b)): New pattern.

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

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