Commit 1d846d0d by Kazu Hirata Committed by Kazu Hirata

tree-data-ref.c (array_base_name_differ_p): Remove ta and tb.

	* tree-data-ref.c (array_base_name_differ_p): Remove ta and
	tb.

From-SVN: r96183
parent 5e35992a
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
* function.c (thread_prologue_and_epilogue_insns): Remove i * function.c (thread_prologue_and_epilogue_insns): Remove i
and newinsn. and newinsn.
* tree-data-ref.c (array_base_name_differ_p): Remove ta and
tb.
2005-03-08 Jeff Law <law@redhat.com> 2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed * tree-cfg.c (cleanup_control_flow): If removal of a computed
......
...@@ -109,14 +109,10 @@ array_base_name_differ_p (struct data_reference *a, ...@@ -109,14 +109,10 @@ array_base_name_differ_p (struct data_reference *a,
{ {
tree base_a = DR_BASE_NAME (a); tree base_a = DR_BASE_NAME (a);
tree base_b = DR_BASE_NAME (b); tree base_b = DR_BASE_NAME (b);
tree ta, tb;
if (!base_a || !base_b) if (!base_a || !base_b)
return false; return false;
ta = TREE_TYPE (base_a);
tb = TREE_TYPE (base_b);
/* Determine if same base. Example: for the array accesses /* Determine if same base. Example: for the array accesses
a[i], b[i] or pointer accesses *a, *b, bases are a, b. */ a[i], b[i] or pointer accesses *a, *b, bases are a, b. */
if (base_a == base_b) if (base_a == base_b)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment