(C++) tinfo fn tweak

Jason Merrill jason@cygnus.com
Fri Nov 12 14:23:00 GMT 1999


We've been emitting unneeded tinfo functions because they had TREE_USED
set.

1999-11-12  Jason Merrill  <jason@yorick.cygnus.com>

	* rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.

Index: rtti.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/rtti.c,v
retrieving revision 1.45
diff -c -p -r1.45 rtti.c
*** rtti.c	1999/10/28 23:55:28	1.45
--- rtti.c	1999/11/12 22:22:20
*************** synthesize_tinfo_fn (fndecl)
*** 1133,1138 ****
--- 1133,1139 ----
    /* Begin processing the function.  */
    start_function (NULL_TREE, fndecl, NULL_TREE, 
  		  SF_DEFAULT | SF_PRE_PARSED);
+   DECL_DEFER_OUTPUT (fndecl) = 1;
    store_parm_decls ();
    clear_last_expr ();
  


More information about the Gcc-patches mailing list