diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57f512cf602..f4ed61d0b04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 18 14:23:18 2000 Richard Kenner + + * function.c (fixup_var_refs_1, case MEM): Update CODE after + updating X. + Fri 18-Aug-2000 18:33:45 BST Neil Booth * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. diff --git a/gcc/function.c b/gcc/function.c index 7601c94ef36..8687bcdba6a 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1976,6 +1976,7 @@ fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements) replacement->new = copy_most_rtx (x, var); *loc = x = replacement->new; + code = GET_CODE (x); } break;