aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-10-05 11:37:25 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2012-10-05 11:37:25 +0200
commit440d347233baeb164433435f63fda2093e98cb6a (patch)
tree53aad70f269552ef0dbc7184a9b6589dc2ac08d4 /gcc/tree-vect-loop.c
parent5e3e4fe8749caf4f90f41910458d094bc4519f69 (diff)
downloadgcc-440d347233baeb164433435f63fda2093e98cb6a.zip
gcc-440d347233baeb164433435f63fda2093e98cb6a.tar.gz
gcc-440d347233baeb164433435f63fda2093e98cb6a.tar.bz2
re PR tree-optimization/54810 (VRP doesn't handle comparison of narrowing cast like comparison of BIT_AND_EXPR)
PR tree-optimization/54810 * tree-vrp.c (register_edge_assert_for_2): Handle NAME = (unsigned) NAME2; if (NAME cmp CST) for narrowing casts to unsigned integral type like NAME = NAME2 & CST2; if (NAME cmp CST) where CST2 is the max value of the unsigned integral type. * gcc.dg/tree-ssa/vrp85.c: New test. From-SVN: r192115
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions