loop.c (check_dbra_loop): Fix change of Jan 19.
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Fri, 4 Jun 1999 01:32:21 +0000 (01:32 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 4 Jun 1999 01:32:21 +0000 (19:32 -0600)
1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * loop.c (check_dbra_loop): Fix change of Jan 19.

From-SVN: r27345

gcc/ChangeLog
gcc/loop.c

index 97e0c9d..f149d33 100644 (file)
@@ -1,3 +1,7 @@
+1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * loop.c (check_dbra_loop): Fix change of Jan 19.
+
 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
 
        * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
index c7047f2..fe49027 100644 (file)
@@ -7777,7 +7777,7 @@ check_dbra_loop (loop_end, insn_count, loop_start, loop_info)
 
              reversible_mem_store
                = (! unknown_address_altered
-                  && ! invariant_p (XEXP (loop_store_mems, 0)));
+                  && ! invariant_p (XEXP (XEXP (loop_store_mems, 0), 0)));
 
              /* If the store depends on a register that is set after the
                 store, it depends on the initial value, and is thus not