* tree-predcom.c (add_ref_to_chain): Remove check on distance.
From-SVN: r254955
This commit is contained in:
parent
50dec459c6
commit
90ef577378
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user