aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2011-04-05 15:54:13 +0000
committerTom de Vries <vries@gcc.gnu.org>2011-04-05 15:54:13 +0000
commit170d8157ba1edcc212bc9186eaf23b488ebaa258 (patch)
tree0aa43a109b10fbf781e9714855282bfd8b127ffa /gcc/function.c
parentc5911a55ec63f545d6cc0a27d3be08b1992bca6c (diff)
downloadgcc-170d8157ba1edcc212bc9186eaf23b488ebaa258.zip
gcc-170d8157ba1edcc212bc9186eaf23b488ebaa258.tar.gz
gcc-170d8157ba1edcc212bc9186eaf23b488ebaa258.tar.bz2
re PR middle-end/48461 (function.c:5268:1: error: emit_use_return_register_into_block defined but not used)
2011-04-05 Tom de Vries <tom@codesourcery.com> PR middle-end/48461 * function.c (emit_use_return_register_into_block): Only define if HAVE_return. From-SVN: r171990
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7c500a6..63ecd7c3 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5262,6 +5262,7 @@ prologue_epilogue_contains (const_rtx insn)
return 0;
}
+#ifdef HAVE_return
/* Insert use of return register before the end of BB. */
static void
@@ -5275,7 +5276,6 @@ emit_use_return_register_into_block (basic_block bb)
emit_insn_before (seq, BB_END (bb));
}
-#ifdef HAVE_return
/* Insert gen_return at the end of block BB. This also means updating
block_for_insn appropriately. */