re PR tree-optimization/71563 (Regression in GCC-7.0.0's optimizer.)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Jan 2017 09:07:33 +0000 (10:07 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2017 09:07:33 +0000 (10:07 +0100)
commit165ba2e9c7a6a86dbb12182486359edefba1dd9d
treed78796e6ef7e1c02730ddfb11baba76c91a0303e
parent8f56cb5163063ec7871db11c52c700065886d448
re PR tree-optimization/71563 (Regression in GCC-7.0.0's optimizer.)

PR tree-optimization/71563
* match.pd: Simplify X << Y into X if Y is known to be 0 or
out of range value - has low bits known to be zero.

* gcc.dg/tree-ssa/pr71563.c: New test.

From-SVN: r244050
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr71563.c [new file with mode: 0644]