* dependence.c (build_def_use): Remove array_idx.
authorKrister Walfridsson <cato@df.lth.se>
Tue, 22 Jan 2002 21:57:22 +0000 (22:57 +0100)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 22 Jan 2002 21:57:22 +0000 (13:57 -0800)
From-SVN: r49097

gcc/ChangeLog
gcc/dependence.c

index 5cafb331906c77c7502c8289fde6296b4c60e280..a88753df6c5d6a127187fef6e7fded02929b2254 100644 (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>
            Richard Henderson  <rth@redhat.com>
 
index 5b1017eea312274b2ed0d2b2d83adf1255593874..1a5564dda9ab28698e688f952ccc214fb304b63c 100644 (file)
@@ -1,5 +1,5 @@
 /* Analyze loop dependencies
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -269,7 +269,6 @@ build_def_use (exp, du_type)
   static loop *loop_def;
   tree node = exp;
   tree array_ref;
-  int array_idx;
   def_use *du_ptr;
 
   if (du_type == init_def_use)
@@ -364,8 +363,6 @@ build_def_use (exp, du_type)
                  }
              }
            
-           array_idx -= 1;
-
            for (i = 0;
                 i < du_idx
                   && strcmp (IDENTIFIER_POINTER (DECL_NAME (array_ref)),