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
This commit is contained in:
Eric Botcazou 2004-06-15 08:16:48 +02:00 committed by Eric Botcazou
parent 1f28d17529
commit 4d7694fc06
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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 ();
}