diff options
| author | cpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-20 00:41:52 +0000 |
|---|---|---|
| committer | cpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-20 00:41:52 +0000 |
| commit | 068a89d762d92155a2e80827d60bbca802f1826a (patch) | |
| tree | 2b2bd9b4d3ec577036742d8682a566e534b8dc7d | |
| parent | b4f769031fea5dc8b2b5ae2c9c5eabcdcb0cfdc8 (diff) | |
| download | ppe42-gcc-068a89d762d92155a2e80827d60bbca802f1826a.tar.gz ppe42-gcc-068a89d762d92155a2e80827d60bbca802f1826a.zip | |
* emit-rtl.c (try_split): Return last_insn if we split the
last_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31530 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/emit-rtl.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6118c7b8baa..d49d719ab59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-01-19 Clinton Popetz <cpopetz@cygnus.com> + + * emit-rtl.c (try_split): Return last_insn if we split the + last_insn. + Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz> * i386-protos.h (ix86_compute_frame_size): Remove prototype. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 3ade3c64c47..2c763066777 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -2258,7 +2258,9 @@ try_split (pat, trial, last) /* Return either the first or the last insn, depending on which was requested. */ - return last ? prev_active_insn (after) : next_active_insn (before); + return last + ? (after ? prev_active_insn (after) : last_insn) + : next_active_insn (before); } return trial; |

