From: law Date: Tue, 11 Jun 2002 23:51:24 +0000 (+0000) Subject: * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a88241606b49bc47f8befb959d9aaa4f2df2298;p=thirdparty%2Fgcc.git * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the last insn created by the splitter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54535 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 995ee28869cf..1e1174d67ca9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -112,6 +112,9 @@ Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka 2002-06-11 Jeffrey Law + * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the + last insn created by the splitter. + * caller-save.c (init_caller_save): Move creation of SAVEINSN and RESTINSN into into the scope of the sequence. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index bdcd1cd03ccf..2af1bae86cf2 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3222,7 +3222,7 @@ try_split (pat, trial, last) usage count so we don't delete the label. */ if (GET_CODE (trial) == INSN) { - insn = last_insn; + insn = insn_last; while (insn != NULL_RTX) { if (GET_CODE (insn) == INSN)