1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jun 1999 01:32:21 +0000 (01:32 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jun 1999 01:32:21 +0000 (01:32 +0000)
        * loop.c (check_dbra_loop): Fix change of Jan 19.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27345 138bc75d-0d04-0410-961f-82ee72b054a4

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