* tree-predcom.c (add_ref_to_chain): Remove check on distance.

From-SVN: r254955
This commit is contained in:
Bin Cheng 2017-11-20 14:15:30 +00:00 committed by Bin Cheng
parent 50dec459c6
commit 90ef577378
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2017-11-20 Bin Cheng <bin.cheng@arm.com>
* tree-predcom.c (add_ref_to_chain): Remove check on distance.
2017-11-20 Marc Glisse <marc.glisse@inria.fr>
* vr-values.c (extract_range_from_binary_expr): Use a full range

View File

@ -1063,11 +1063,6 @@ add_ref_to_chain (chain_p chain, dref ref)
gcc_assert (wi::les_p (root->offset, ref->offset));
widest_int dist = ref->offset - root->offset;
if (wi::leu_p (MAX_DISTANCE, dist))
{
free (ref);
return;
}
gcc_assert (wi::fits_uhwi_p (dist));
chain->refs.safe_push (ref);