From 5251b8b3505902ee4c5f49d8c58c42f2950ba6c1 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Tue, 28 Apr 2015 04:45:12 +0000 Subject: always define HAVE_epilogue gcc/ChangeLog: 2015-04-27 Trevor Saunders * defaults.h (gen_epilogue): New function. (HAVE_epilogue): Add default definition to false. * alias.c (init_alias_analysis): don't check if HAVE_epilogue is defined. * cfgrtl.c (cfg_layout_finalize): Likewise. * df-scan.c: Likewise. * function.c (thread_prologue_and_epilogue_insns): Likewise. (reposition_prologue_and_epilogue_notes): Likewise. * reorg.c (find_end_label): Likewise. * toplev.c: Likewise. From-SVN: r222506 --- gcc/function.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 561a1c5..14afc53 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6066,7 +6066,6 @@ thread_prologue_and_epilogue_insns (void) if (exit_fallthru_edge == NULL) goto epilogue_done; -#ifdef HAVE_epilogue if (HAVE_epilogue) { start_sequence (); @@ -6090,7 +6089,6 @@ thread_prologue_and_epilogue_insns (void) set_return_jump_label (returnjump); } else -#endif { basic_block cur_bb; @@ -6183,7 +6181,6 @@ epilogue_done: } #endif -#ifdef HAVE_epilogue if (epilogue_end) { rtx_insn *insn, *next; @@ -6201,7 +6198,6 @@ epilogue_done: reorder_insns (insn, insn, PREV_INSN (epilogue_end)); } } -#endif bitmap_clear (&bb_flags); @@ -6217,8 +6213,11 @@ epilogue_done: void reposition_prologue_and_epilogue_notes (void) { -#if defined (HAVE_prologue) || defined (HAVE_epilogue) \ - || defined (HAVE_sibcall_epilogue) +#if ! defined (HAVE_prologue) && ! defined (HAVE_sibcall_epilogue) + if (!HAVE_epilogue) + return; +#endif + /* Since the hash table is created on demand, the fact that it is non-null is a signal that it is non-empty. */ if (prologue_insn_hash != NULL) @@ -6315,7 +6314,6 @@ reposition_prologue_and_epilogue_notes (void) } } } -#endif /* HAVE_prologue or HAVE_epilogue */ } /* Returns the name of function declared by FNDECL. */ -- cgit v1.1