Commit ec97b83a by Kaveh R. Ghazi Committed by Kaveh Ghazi

function.c (record_insns, contains): Always declare and define.

       * function.c (record_insns, contains): Always declare and define.
       (record_insns): Mark with ATTRIBUTE_UNUSED.

From-SVN: r30121
parent ec8aac6f
Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* function.c (record_insns, contains): Always declare and define.
(record_insns): Mark with ATTRIBUTE_UNUSED.
Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk> Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
* config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
......
...@@ -263,10 +263,10 @@ static tree round_down PROTO((tree, int)); ...@@ -263,10 +263,10 @@ static tree round_down PROTO((tree, int));
static rtx round_trampoline_addr PROTO((rtx)); static rtx round_trampoline_addr PROTO((rtx));
static tree blocks_nreverse PROTO((tree)); static tree blocks_nreverse PROTO((tree));
static int all_blocks PROTO((tree, tree *)); static int all_blocks PROTO((tree, tree *));
#if defined (HAVE_prologue) || defined (HAVE_epilogue) /* We always define `record_insns' even if its not used so that we
static int *record_insns PROTO((rtx)); can always export `prologue_epilogue_contains'. */
static int *record_insns PROTO((rtx)) ATTRIBUTE_UNUSED;
static int contains PROTO((rtx, int *)); static int contains PROTO((rtx, int *));
#endif /* HAVE_prologue || HAVE_epilogue */
static void put_addressof_into_stack PROTO((rtx, struct hash_table *)); static void put_addressof_into_stack PROTO((rtx, struct hash_table *));
static void purge_addressof_1 PROTO((rtx *, rtx, int, int, static void purge_addressof_1 PROTO((rtx *, rtx, int, int,
struct hash_table *)); struct hash_table *));
...@@ -6424,7 +6424,6 @@ expand_function_end (filename, line, end_bindings) ...@@ -6424,7 +6424,6 @@ expand_function_end (filename, line, end_bindings)
/* Create an array that records the INSN_UIDs of INSNS (either a sequence /* Create an array that records the INSN_UIDs of INSNS (either a sequence
or a single insn). */ or a single insn). */
#if defined (HAVE_prologue) || defined (HAVE_epilogue)
static int * static int *
record_insns (insns) record_insns (insns)
rtx insns; rtx insns;
...@@ -6486,7 +6485,6 @@ prologue_epilogue_contains (insn) ...@@ -6486,7 +6485,6 @@ prologue_epilogue_contains (insn)
return 1; return 1;
return 0; return 0;
} }
#endif /* HAVE_prologue || HAVE_epilogue */
/* Generate the prologue and epilogue RTL if the machine supports it. Thread /* Generate the prologue and epilogue RTL if the machine supports it. Thread
this into place with notes indicating where the prologue ends and where this into place with notes indicating where the prologue ends and where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment