diff options
author | Eric Botcazou <ebotcazou@act-europe.fr> | 2004-06-15 08:16:48 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-06-15 06:16:48 +0000 |
commit | 4d7694fc06e9543508c3babb8e351174345b122d (patch) | |
tree | 141ff84299f366894429bf5dce5a28a1649fe4b4 | |
parent | 1f28d17529b61cbaa62098a1b00b5818e29bc600 (diff) | |
download | gcc-4d7694fc06e9543508c3babb8e351174345b122d.zip gcc-4d7694fc06e9543508c3babb8e351174345b122d.tar.gz gcc-4d7694fc06e9543508c3babb8e351174345b122d.tar.bz2 |
function.c (fixup_var_refs): Also adjust the start of sequence after fixing up the insns.
* function.c (fixup_var_refs): Also adjust the start of sequence
after fixing up the insns.
Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
From-SVN: r83166
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/function.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64c2b4b..b8a94f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-15 Eric Botcazou <ebotcazou@act-europe.fr> + Olivier Hainque <hainque@act-europe.fr> + + * function.c (fixup_var_refs): Also adjust the start of sequence + after fixing up the insns. + 2004-06-15 Giovanni Bajo <giovannibajo@gcc.gnu.org> * gccbug.in: Update optimization -> tree-optimization/rtl-optimization. diff --git a/gcc/function.c b/gcc/function.c index b59da9a..5554cbb 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1621,8 +1621,8 @@ fixup_var_refs (rtx var, enum machine_mode promoted_mode, int unsignedp, push_to_full_sequence (stack->first, stack->last); fixup_var_refs_insns (stack->first, var, promoted_mode, unsignedp, stack->next != 0, may_share); - /* Update remembered end of sequence - in case we added an insn at the end. */ + /* Update bounds of sequence in case we added insns. */ + stack->first = get_insns (); stack->last = get_last_insn (); end_sequence (); } |