re PR tree-optimization/65418 (vim miscompilation)
authorJakub Jelinek <jakub@redhat.com>
Sat, 14 Mar 2015 09:55:41 +0000 (10:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 14 Mar 2015 09:55:41 +0000 (10:55 +0100)
commitc2f41ffd2447492ac54381162abe1aceed58812d
tree0dcab7b94a93edb6c043b8c0f77d70876a60e8a2
parenta4b55f2a303636e3491250e1499e88454cb4ed2f
re PR tree-optimization/65418 (vim miscompilation)

PR tree-optimization/65418
* tree-ssa-reassoc.c (extract_bit_test_mask): If there
are casts in the first PLUS_EXPR operand, ensure tbias and
*totallowp are in the inner type.

* gcc.c-torture/execute/pr65418-1.c: New test.
* gcc.c-torture/execute/pr65418-2.c: New test.

From-SVN: r221434
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr65418-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr65418-2.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c