diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 06:55:16 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 06:55:16 +0000 |
| commit | dbb9cd191a23b3c107ace3cdd3097966a9d2dd17 (patch) | |
| tree | 7331573cf0aa23df8cd523a0e0d5aa960e5da357 /gcc | |
| parent | 95898760e0afc3ec79fc2e43920a13f4036b2652 (diff) | |
| download | ppe42-gcc-dbb9cd191a23b3c107ace3cdd3097966a9d2dd17.tar.gz ppe42-gcc-dbb9cd191a23b3c107ace3cdd3097966a9d2dd17.zip | |
* combine.c (try_combine): Handle a SEQUENCE of one insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46177 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 9 | ||||
| -rw-r--r-- | gcc/combine.c | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b06df2be1d..90ff4bc645b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2001-10-10 Richard Henderson <rth@redhat.com> + + * combine.c (try_combine): Handle a SEQUENCE of one insn. + +2001-10-10 Richard Henderson <rth@redhat.com> + + * langhooks.c: Include langhooks.h. + * Makefile.in (langhooks.o): Depend on it. + Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com) * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note diff --git a/gcc/combine.c b/gcc/combine.c index 43b1b9e9a19..12225db3c12 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -2132,6 +2132,12 @@ try_combine (i3, i2, i1, new_direct_jump_p) } } + /* If we've split a jump pattern, we'll wind up with a sequence even + with one instruction. We can handle that below, so extract it. */ + if (m_split && GET_CODE (m_split) == SEQUENCE + && XVECLEN (m_split, 0) == 1) + m_split = PATTERN (XVECEXP (m_split, 0, 0)); + if (m_split && GET_CODE (m_split) != SEQUENCE) { insn_code_number = recog_for_combine (&m_split, i3, &new_i3_notes); |

