mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 19:25:24 +08:00
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:
parent
5e35992a78
commit
1d846d0d40
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user