Commit 574baa64 by Doug Evans Committed by Doug Evans

decl2.c (finish_vtable_vardecl): Surround DECL_ONE_ONLY with ifdef.

	* decl2.c (finish_vtable_vardecl): Surround DECL_ONE_ONLY with ifdef.
	(finish_file): Likewise.

From-SVN: r11970
parent b4987b8c
Sat May 11 04:33:50 1996 Doug Evans <dje@canuck.cygnus.com>
* decl2.c (finish_vtable_vardecl): Surround DECL_ONE_ONLY with ifdef.
(finish_file): Likewise.
Tue May 7 20:39:57 1996 Mike Stump <mrs@cygnus.com>
* cp-tree.h (build_overload_call_maybe): Removed.
......
......@@ -2592,7 +2592,11 @@ finish_vtable_vardecl (prev, vars)
{
if (write_virtuals >= 0
&& ! DECL_EXTERNAL (vars)
&& ((TREE_PUBLIC (vars) && ! DECL_WEAK (vars) && ! DECL_ONE_ONLY (vars))
&& ((TREE_PUBLIC (vars) && ! DECL_WEAK (vars)
#ifdef DECL_ONE_ONLY
&& ! DECL_ONE_ONLY (vars)
#endif
)
|| TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (vars)))
&& ! TREE_ASM_WRITTEN (vars))
{
......@@ -3245,7 +3249,10 @@ finish_file ()
else if (DECL_INITIAL (decl) == 0)
p = &TREE_CHAIN (*p);
else if ((TREE_PUBLIC (decl) && ! DECL_WEAK (decl)
&& ! DECL_ONE_ONLY (decl))
#ifdef DECL_ONE_ONLY
&& ! DECL_ONE_ONLY (decl)
#endif
)
|| TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))
|| flag_keep_inline_functions)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment