summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-30 14:02:06 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-30 14:02:06 -0700
commit48b710ddb7229173c0461929d966248a60a30098 (patch)
tree9ce70b33dd5ad0390c436a5dc7706869e1c6758e /gcc/bb-reorder.c
parent7ae2112bd2d03b7c35570cc76fac73321b905614 (diff)
downloadgcc-48b710ddb7229173c0461929d966248a60a30098.tar.gz
* bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
From-SVN: r34274
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;