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
This commit is contained in:
Kazu Hirata 2005-03-09 11:30:36 +00:00 committed by Kazu Hirata
parent 5e35992a78
commit 1d846d0d40
2 changed files with 3 additions and 4 deletions

View File

@ -19,6 +19,9 @@
* function.c (thread_prologue_and_epilogue_insns): Remove i
and newinsn.
* tree-data-ref.c (array_base_name_differ_p): Remove ta and
tb.
2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed

View File

@ -109,14 +109,10 @@ array_base_name_differ_p (struct data_reference *a,
{
tree base_a = DR_BASE_NAME (a);
tree base_b = DR_BASE_NAME (b);
tree ta, tb;
if (!base_a || !base_b)
return false;
ta = TREE_TYPE (base_a);
tb = TREE_TYPE (base_b);
/* Determine if same base. Example: for the array accesses
a[i], b[i] or pointer accesses *a, *b, bases are a, b. */
if (base_a == base_b)