aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2000-02-08 06:09:17 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-02-08 06:09:17 +0000
commit73ef99fbd69bd98a448230741e76397b8f17e7ef (patch)
treeb6b9142136f0d3baf9e4074ca966b41467b41bde /gcc/function.c
parent3fd64b5a09de7b7128482bb764c9250b474ac78f (diff)
downloadgcc-73ef99fbd69bd98a448230741e76397b8f17e7ef.zip
gcc-73ef99fbd69bd98a448230741e76397b8f17e7ef.tar.gz
gcc-73ef99fbd69bd98a448230741e76397b8f17e7ef.tar.bz2
* function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
From-SVN: r31847
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 6945b6b..8f383f0 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -271,7 +271,9 @@ static int all_blocks PARAMS ((tree, tree *));
can always export `prologue_epilogue_contains'. */
static int *record_insns PARAMS ((rtx)) ATTRIBUTE_UNUSED;
static int contains PARAMS ((rtx, int *));
+#ifdef HAVE_return
static void emit_return_into_block PARAMS ((basic_block));
+#endif
static void put_addressof_into_stack PARAMS ((rtx, struct hash_table *));
static boolean purge_addressof_1 PARAMS ((rtx *, rtx, int, int,
struct hash_table *));
@@ -6581,6 +6583,7 @@ prologue_epilogue_contains (insn)
return 0;
}
+#ifdef HAVE_return
/* Insert gen_return at the end of block BB. This also means updating
block_for_insn appropriately. */
@@ -6601,6 +6604,7 @@ emit_return_into_block (bb)
}
bb->end = end;
}
+#endif /* HAVE_return */
/* Generate the prologue and epilogue RTL if the machine supports it. Thread
this into place with notes indicating where the prologue ends and where