summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-11 08:20:42 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-11 08:20:42 +0000
commit38c95e2fe36f30cbf78d159e17b8ee482065ef1a (patch)
tree079b6c74f8f28cdd969feec97bfb776803d6ac17 /gcc/bb-reorder.c
parent9bfbd4c42e77ad667a51fb862be504073f030e5b (diff)
downloadgcc-38c95e2fe36f30cbf78d159e17b8ee482065ef1a.tar.gz
2004-04-11 Andreas Tobler <a.tobler@schweiz.ch>
* bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap failure on solaris. Place ifdef HAVE_return around gen_ret call. * cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef HAVE_return and place it around the place where it is needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index ae335c1d74b..022cb33eb2e 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -1684,9 +1684,11 @@ fix_crossing_conditional_branches (void)
(old_label),
BB_END (new_bb));
}
+#ifdef HAVE_return
else if (GET_CODE (old_label) == RETURN)
new_jump = emit_jump_insn_after (gen_return (),
BB_END (new_bb));
+#endif
else
abort ();