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]

(C++) tinfo fn tweak


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 ();
  


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