This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] Minor EH tweak



We need access to check_handled in the tree CFG buildler.

	* except.c (check_handled): No longer static.
	* except.h (check_handled): Prototype.

Index: except.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.c,v
retrieving revision 1.227.2.9
diff -c -3 -p -r1.227.2.9 except.c
*** except.c	9 Apr 2003 19:27:29 -0000	1.227.2.9
--- except.c	21 Apr 2003 22:42:11 -0000
*************** enum reachable_code
*** 329,335 ****
    RNL_BLOCKED
  };
  
- static int check_handled			PARAMS ((tree, tree));
  static void add_reachable_handler
       PARAMS ((struct reachable_info *, struct eh_region *,
  	      struct eh_region *));
--- 329,334 ----
*************** struct reachable_info GTY(())
*** 2602,2608 ****
  /* A subroutine of reachable_next_level.  Return true if TYPE, or a
     base class of TYPE, is in HANDLED.  */
  
! static int
  check_handled (handled, type)
       tree handled, type;
  {
--- 2601,2607 ----
  /* A subroutine of reachable_next_level.  Return true if TYPE, or a
     base class of TYPE, is in HANDLED.  */
  
! int
  check_handled (handled, type)
       tree handled, type;
  {
Index: except.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.h,v
retrieving revision 1.64.2.3
diff -c -3 -p -r1.64.2.3 except.h
*** except.h	9 Apr 2003 19:27:29 -0000	1.64.2.3
--- except.h	21 Apr 2003 22:42:11 -0000
*************** extern void expand_eh_return			PARAMS ((
*** 119,124 ****
--- 119,126 ----
  extern rtx get_exception_pointer		PARAMS ((struct function *));
  extern int duplicate_eh_regions			PARAMS ((struct function *,
  						 struct inline_remap *));
+ extern int check_handled			PARAMS ((tree, tree));
+ 
  
  extern void sjlj_emit_function_exit_after	PARAMS ((rtx));
  



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]