summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-30 21:02:06 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-30 21:02:06 +0000
commit66d9dc73c26051e6cdc0e3bfa32ad6309ac5ec59 (patch)
tree9ce70b33dd5ad0390c436a5dc7706869e1c6758e /gcc/bb-reorder.c
parentcb11a2dee85f97b26720e10aa508d9159b024c70 (diff)
downloadgcc-66d9dc73c26051e6cdc0e3bfa32ad6309ac5ec59.tar.gz
* bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index e5c5efc80ab..11624181e44 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -501,12 +501,16 @@ emit_jump_to_block_after (bb, after)
}
else
{
+#ifdef HAVE_return
if (! HAVE_return)
abort ();
jump = emit_jump_insn_after (gen_return (), after);
if (rtl_dump_file)
fprintf (rtl_dump_file, "Emitting return\n");
+#else
+ abort ();
+#endif
}
return jump;