From 238860155d9b48b330ead01ed61fd52371924855 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 21 Jan 1999 13:54:47 -0800 Subject: [PATCH] * emit-rtl.c (try_split): Don't try to split non-instructions. From-SVN: r24813 --- gcc/ChangeLog | 4 ++++ gcc/emit-rtl.c | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99219f614da2..7aa9b3054d79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 21 21:53:36 1999 Richard Henderson + + * emit-rtl.c (try_split): Don't try to split non-instructions. + Thu Jan 21 23:47:30 EST 1999 Andrew MacLeod * expr.c (emit_push_insn): Fix dumb typo. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 22fdaf692dbe..d58b895e7513 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -2265,12 +2265,11 @@ try_split (pat, trial, last) time control returns here that insn will be fully split, so set LAST and continue from the insn after the one returned. We can't use next_active_insn here since AFTER may be a note. - Ignore deleted insns, which can be occur if not optimizing, - and ignore BARRIERs which can occur if we split the insn - immediately before a BARRIER. */ + Ignore deleted insns, which can be occur if not optimizing. */ for (tem = NEXT_INSN (before); tem != after; tem = NEXT_INSN (tem)) - if (! INSN_DELETED_P (tem) && GET_CODE (tem) != BARRIER) + if (! INSN_DELETED_P (tem) + && GET_RTX_CLASS (GET_CODE (tem)) == 'i') tem = try_split (PATTERN (tem), tem, 1); } /* Avoid infinite loop if the result matches the original pattern. */ -- 2.43.5