diff options
author | Richard Henderson <rth@cygnus.com> | 1999-01-21 13:54:47 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-01-21 13:54:47 -0800 |
commit | 238860155d9b48b330ead01ed61fd52371924855 (patch) | |
tree | e83a31b79920ab95f96d2ba962835b2a9a7a6470 /gcc | |
parent | 7bdbfa05dba783697d330f283a8427002667408f (diff) | |
download | gcc-238860155d9b48b330ead01ed61fd52371924855.zip gcc-238860155d9b48b330ead01ed61fd52371924855.tar.gz gcc-238860155d9b48b330ead01ed61fd52371924855.tar.bz2 |
* emit-rtl.c (try_split): Don't try to split non-instructions.
From-SVN: r24813
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99219f6..7aa9b305 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 21 21:53:36 1999 Richard Henderson <rth@cygnus.com> + + * emit-rtl.c (try_split): Don't try to split non-instructions. + Thu Jan 21 23:47:30 EST 1999 Andrew MacLeod <amacleod@cygnus.com> * expr.c (emit_push_insn): Fix dumb typo. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 22fdaf6..d58b895 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. */ |