aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-07-28 19:54:06 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-07-28 19:54:06 +0000
commit3b0b0013f6dbe34d2e1ddeacd7e7c26752575680 (patch)
tree3dbb6e90be69d5c5eb3e51551fbd506f50407225 /gcc/function.c
parent902628047cb9763809ef2c3155cbf321e08c2656 (diff)
downloadgcc-3b0b0013f6dbe34d2e1ddeacd7e7c26752575680.zip
gcc-3b0b0013f6dbe34d2e1ddeacd7e7c26752575680.tar.gz
gcc-3b0b0013f6dbe34d2e1ddeacd7e7c26752575680.tar.bz2
target-insns.def (eh_return): New targetm instruction pattern.
gcc/ * target-insns.def (eh_return): New targetm instruction pattern. * except.c (expand_eh_return): Use it instead of HAVE_*/gen_* interface. * function.c (thread_prologue_and_epilogue_insns): Remove preprocessor condition. From-SVN: r226322
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index f9d11bf..536de19 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5936,7 +5936,6 @@ thread_prologue_and_epilogue_insns (void)
uses the flag in the meantime. */
epilogue_completed = 1;
-#ifdef HAVE_eh_return
/* Find non-fallthru edges that end with EH_RETURN instructions. On
some targets, these get split to a special version of the epilogue
code. In order to be able to properly annotate these with unwind
@@ -5960,7 +5959,6 @@ thread_prologue_and_epilogue_insns (void)
record_insns (NEXT_INSN (prev), NEXT_INSN (trial), &epilogue_insn_hash);
emit_note_after (NOTE_INSN_EPILOGUE_BEG, prev);
}
-#endif
/* If nothing falls through into the exit block, we don't need an
epilogue. */