diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97e0c9d204a..f149d33d300 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1999-06-04 Andreas Schwab + + * loop.c (check_dbra_loop): Fix change of Jan 19. + Fri Jun 4 00:12:40 1999 Marc Espie * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define. diff --git a/gcc/loop.c b/gcc/loop.c index c7047f286f0..fe49027bbc6 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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