summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:47:52 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:47:52 +0000
commit5b379086b4667d1a9deab9d2f7683d95bb0d5239 (patch)
tree849386badcfcf13df29ffffb2bf195a15a495470 /gcc/stmt.c
parent29fd0b7ab06e56732fcefa586b6e08937fc02633 (diff)
downloadgcc-5b379086b4667d1a9deab9d2f7683d95bb0d5239.tar.gz
* print-tree.c (print_node, indent_to): Remove redundant prototypes.
* profile.c (instrument_arcs, output_gcov_string, tablejump_entry_p): Add static prototypes. (output_gcov_string): Constify a char*. * regmove.c (replacement_quality, fixup_match_2): Add static prototypes. * resource.h (reg_dead_p): Add extern prototype. * rtl.c (trim_filename): Add static prototype. * scan-decls.c (skip_to_closing_brace): Likewise. * stmt.c (expand_decl_cleanup_no_eh): Hide definition. (expand_end_case): Initialize variable `range'. (emit_case_nodes): Remove unused prototype `rtx_fn'. * varasm.c (asm_emit_uninitialised): Add static prototype. (asm_emit_uninitialised, assemble_variable): Mark parameter with ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 265f365a8a1..9d675021cbb 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -4052,6 +4052,7 @@ expand_decl_cleanup (decl, cleanup)
/* Like expand_decl_cleanup, but suppress generating an exception handler
to perform the cleanup. */
+#if 0
int
expand_decl_cleanup_no_eh (decl, cleanup)
tree decl, cleanup;
@@ -4065,6 +4066,7 @@ expand_decl_cleanup_no_eh (decl, cleanup)
return result;
}
+#endif
/* Arrange for the top element of the dynamic cleanup chain to be
popped if we exit the current binding contour. DECL is the
@@ -5235,7 +5237,7 @@ void
expand_end_case (orig_index)
tree orig_index;
{
- tree minval = NULL_TREE, maxval = NULL_TREE, range, orig_minval;
+ tree minval = NULL_TREE, maxval = NULL_TREE, range = NULL_TREE, orig_minval;
rtx default_label = 0;
register struct case_node *n;
unsigned int count;
@@ -6065,7 +6067,6 @@ emit_case_nodes (index, node, default_label, index_type)
{
/* If INDEX has an unsigned type, we must make unsigned branches. */
int unsignedp = TREE_UNSIGNED (index_type);
- typedef rtx rtx_fn ();
enum machine_mode mode = GET_MODE (index);
/* See if our parents have already tested everything for us.