[PATH] PR C++/12047

Jan Hubicka hubicka@ucw.cz
Sun Sep 28 09:31:00 GMT 2003


Hi,
this is apparently another missing mark_used on eh type.  I remember
myself adding this one already, but apparently it got lost.  OK?

Honza

Sun Sep 28 10:36:34 CEST 2003  Jan Hubicka  <jh@suse.cz>
	PR C++/12047
	* except.c (build_eh_type_type): Call mark_used on the type.
*** ../../gcc.old/cp/except.c	Sat Sep 27 23:30:13 2003
--- except.c	Sun Sep 28 10:33:32 2003
*************** build_eh_type_type (tree type)
*** 143,148 ****
--- 143,150 ----
    if (!exp)
      return NULL;
  
+   mark_used (exp);
+ 
    return build1 (ADDR_EXPR, ptr_type_node, exp);
  }
  



More information about the Gcc-patches mailing list