re PR tree-optimization/63302 (Code with 64-bit long long constants is miscompiled...
authorJakub Jelinek <jakub@redhat.com>
Fri, 17 Oct 2014 10:50:16 +0000 (12:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 17 Oct 2014 10:50:16 +0000 (12:50 +0200)
commit4eb4a256cd4a39555f4d834c47cabc2e136ed02a
tree57d50dcdf67827495420438304dc1e393caa452f
parent9d4ded759a1367ebe6588be36d0ea1410e24e3ca
re PR tree-optimization/63302 (Code with 64-bit long long constants is miscompiled on 32-bit host)

PR tree-optimization/63302
* tree-ssa-reassoc.c (optimize_range_tests_xor,
optimize_range_tests_diff): Use !integer_pow2p () instead of
tree_log2 () < 0.

* gcc.c-torture/execute/pr63302.c: New test.

From-SVN: r216391
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr63302.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c