aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-16 22:57:50 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-16 16:57:50 -0600
commit242c13b000c85528a7bc8db97ad9a1bc325ce022 (patch)
tree39818443f85a5e9bf37760f29433bdab6032e0e6 /gcc
parent1ad4f46be6e110470125bb53ad87661afe776fbe (diff)
downloadgcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.zip
gcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.tar.gz
gcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.tar.bz2
except.c (push_eh_entry): Add prototype.
* except.c (push_eh_entry): Add prototype. (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise. (call_get_eh_context, start_dynamic_cleanup): Likewise. (start_dynamic_handler, can_throw): Likewise. (output_exception_table_entry, scan_region): Likewise. (eh_regs, set_insn_eh_region): Likewise. Also fix typo in previous dwarfout change. From-SVN: r19249
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dwarfout.c3
-rw-r--r--gcc/except.c17
3 files changed, 25 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e586b3d..3bf2f87 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
+ * except.c (push_eh_entry): Add prototype.
+ (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
+ (call_get_eh_context, start_dynamic_cleanup): Likewise.
+ (start_dynamic_handler, can_throw): Likewise.
+ (output_exception_table_entry, scan_region): Likewise.
+ (eh_regs, set_insn_eh_region): Likewise.
+
* dwarfout.c (decl_class_context): Add prototype.
(output_inheritance_die, type_ok_for_scope): Likewise.
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 0f1e62b..8e1f206 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -311,6 +311,7 @@ static char *dwarf_fmt_byte_name PROTO((unsigned));
static char *dwarf_fund_type_name PROTO((unsigned));
static tree decl_ultimate_origin PROTO((tree));
static tree block_ultimate_origin PROTO((tree));
+static tree decl_class_context PROTO((tree));
static void output_unsigned_leb128 PROTO((unsigned long));
static void output_signed_leb128 PROTO((long));
static inline int is_body_block PROTO((tree));
@@ -402,6 +403,7 @@ static void output_reference_type_die PROTO((void *));
static void output_ptr_to_mbr_type_die PROTO((void *));
static void output_compile_unit_die PROTO((void *));
static void output_string_type_die PROTO((void *));
+static void output_inheritance_die PROTO((void *));
static void output_structure_type_die PROTO((void *));
static void output_local_subroutine_die PROTO((void *));
static void output_subroutine_type_die PROTO((void *));
@@ -413,6 +415,7 @@ static void output_die PROTO((void (*) (), void *));
static void end_sibling_chain PROTO((void));
static void output_formal_types PROTO((tree));
static void pend_type PROTO((tree));
+static int type_ok_for_scope PROTO((tree, tree));
static void output_pending_types_for_scope PROTO((tree));
static void output_type PROTO((tree, tree));
static void output_tagged_type_instantiation PROTO((tree));
diff --git a/gcc/except.c b/gcc/except.c
index 1b4c411..a434b27 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -482,9 +482,21 @@ struct label_node *outer_context_label_stack = NULL;
struct label_node *false_label_stack = NULL;
-rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx));
+static void push_eh_entry PROTO((struct eh_stack *));
+static struct eh_entry * pop_eh_entry PROTO((struct eh_stack *));
+static void enqueue_eh_entry PROTO((struct eh_queue *, struct eh_entry *));
+static struct eh_entry * dequeue_eh_entry PROTO((struct eh_queue *));
+static rtx call_get_eh_context PROTO((void));
+static void start_dynamic_cleanup PROTO((tree, tree));
+static void start_dynamic_handler PROTO((void));
static void expand_rethrow PROTO((rtx));
+static void output_exception_table_entry PROTO((FILE *, int));
+static int can_throw PROTO((rtx));
+static rtx scan_region PROTO((rtx, int, int *));
+static void eh_regs PROTO((rtx *, rtx *, int));
+static void set_insn_eh_region PROTO((rtx *, int));
+rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx));
/* Various support routines to manipulate the various data structures
used by the exception handling code. */
@@ -2170,7 +2182,8 @@ expand_builtin_set_eh_regs (handler, offset)
static int *insn_eh_region = (int *)0;
static int maximum_uid;
-static void set_insn_eh_region (first, region_num)
+static void
+set_insn_eh_region (first, region_num)
rtx *first;
int region_num;
{