projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50dec45
)
* tree-predcom.c (add_ref_to_chain): Remove check on distance.
author
Bin Cheng
<bin.cheng@arm.com>
Mon, 20 Nov 2017 14:15:30 +0000
(14:15 +0000)
committer
Bin Cheng
<amker@gcc.gnu.org>
Mon, 20 Nov 2017 14:15:30 +0000
(14:15 +0000)
From-SVN: r254955
gcc/ChangeLog
patch
|
blob
|
history
gcc/tree-predcom.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 11e515ef84df907cd37eaf2dfaf580a9979a7e83..900fa2e658355c03ce91754e487f227431a38494 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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
diff --git
a/gcc/tree-predcom.c
b/gcc/tree-predcom.c
index 747c1b82d3724c284f9dd68328acbc0ec7938db6..499cedbf2c24a18447c9e3ec9af5863eecd2f361 100644
(file)
--- a/
gcc/tree-predcom.c
+++ b/
gcc/tree-predcom.c
@@
-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);