This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(C++) tinfo fn tweak
- To: gcc-patches at gcc dot gnu dot org
- Subject: (C++) tinfo fn tweak
- From: Jason Merrill <jason at cygnus dot com>
- Date: Fri, 12 Nov 1999 14:23:47 -0800
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 ();