From 6186ed06d2f4294816b5514bb01383d7dc2b2045 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Mon, 6 Jul 1998 22:53:34 +0000 Subject: flow.c (find_auto_inc): Clear UNCHANGING bit of register that is changed. * flow.c (find_auto_inc): Clear UNCHANGING bit of register that is changed. From-SVN: r20974 --- gcc/flow.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/flow.c') diff --git a/gcc/flow.c b/gcc/flow.c index 43ea11d..aecd1b0 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -2386,6 +2386,10 @@ find_auto_inc (needed, x, insn) Then fall into the usual case. */ rtx insns, temp; + /* Since q is now changed, clear its UNCHANGING bit. Otherwise, + we would confuse alias.c when this pseudo ends up in a stack + slot. */ + RTX_UNCHANGING_P (q) = 0; start_sequence (); emit_move_insn (q, addr); insns = get_insns (); -- cgit v1.1