* dependence.c (build_def_use): Remove array_idx.
From-SVN: r49097
This commit is contained in:
parent
d8086cbb53
commit
f66a004637
@ -1,3 +1,7 @@
|
|||||||
|
2002-01-22 Krister Walfridsson <cato@df.lth.se>
|
||||||
|
|
||||||
|
* dependence.c (build_def_use): Remove array_idx.
|
||||||
|
|
||||||
2002-01-22 Roger Sayle <roger@eyesopen.com>
|
2002-01-22 Roger Sayle <roger@eyesopen.com>
|
||||||
Richard Henderson <rth@redhat.com>
|
Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Analyze loop dependencies
|
/* Analyze loop dependencies
|
||||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
@ -269,7 +269,6 @@ build_def_use (exp, du_type)
|
|||||||
static loop *loop_def;
|
static loop *loop_def;
|
||||||
tree node = exp;
|
tree node = exp;
|
||||||
tree array_ref;
|
tree array_ref;
|
||||||
int array_idx;
|
|
||||||
def_use *du_ptr;
|
def_use *du_ptr;
|
||||||
|
|
||||||
if (du_type == init_def_use)
|
if (du_type == init_def_use)
|
||||||
@ -364,8 +363,6 @@ build_def_use (exp, du_type)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
array_idx -= 1;
|
|
||||||
|
|
||||||
for (i = 0;
|
for (i = 0;
|
||||||
i < du_idx
|
i < du_idx
|
||||||
&& strcmp (IDENTIFIER_POINTER (DECL_NAME (array_ref)),
|
&& strcmp (IDENTIFIER_POINTER (DECL_NAME (array_ref)),
|
||||||
|
Loading…
Reference in New Issue
Block a user