diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-06-07 09:41:18 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-06-07 09:41:18 +0200 |
commit | ca6b7410ddb84f2131a1754981a26238f3a6bf9f (patch) | |
tree | d71f8f027abe5bec0af61bcbb8445227c585517f /gcc/config.gcc | |
parent | b2bf82589273884743923aa780c9479965609070 (diff) | |
download | gcc-ca6b7410ddb84f2131a1754981a26238f3a6bf9f.zip gcc-ca6b7410ddb84f2131a1754981a26238f3a6bf9f.tar.gz gcc-ca6b7410ddb84f2131a1754981a26238f3a6bf9f.tar.bz2 |
re PR tree-optimization/69615 (0 to limit signed range checks don't always use unsigned compare)
PR tree-optimization/69615
* tree-ssa-reassoc.c (optimize_range_tests_var_bound): If rhs2 is lhs
of a cast from a same precision integral SSA_NAME in a bb dominated
by first_bb, retry with rhs2 set to the rhs1 of the cast. Don't emit
cast to utype if rhs2 has already a compatible type.
* gcc.dg/tree-ssa/pr69615.c: New test.
From-SVN: r261264
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions