OSDN Git Service

* except.c (push_eh_entry): Add prototype.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 1998 22:57:50 +0000 (22:57 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 1998 22:57:50 +0000 (22:57 +0000)
        (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19249 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarfout.c
gcc/except.c

index e586b3d..3bf2f87 100644 (file)
@@ -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.
 
index 0f1e62b..8e1f206 100644 (file)
@@ -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));
index 1b4c411..a434b27 100644 (file)
@@ -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));
 \f
 /* 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;
 {