* dependence.c (build_def_use): Remove array_idx.

From-SVN: r49097
This commit is contained in:
Krister Walfridsson 2002-01-22 22:57:22 +01:00 committed by Richard Henderson
parent d8086cbb53
commit f66a004637
2 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -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)),