Commit c051cc7e by Danny Smith Committed by R. Kelley Cook

method.c (make_alias_for_thunk): Remove preprocessor guard on declaration and definition.


2004-04-09  Danny Smith  <dannysmith@users.sourceforge.net>

	* method.c (make_alias_for_thunk): Remove preprocessor guard on
	declaration and definition.

From-SVN: r80581
parent df1a3b73
2004-04-09 Danny Smith <dannysmith@users.sourceforge.net>
* method.c (make_alias_for_thunk): Remove preprocessor guard on
declaration and definition.
2004-04-08 Danny Smith <dannysmith@users.sourceforge.net> 2004-04-08 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/14808 PR c++/14808
......
...@@ -62,9 +62,7 @@ static tree synthesize_exception_spec (tree, tree (*) (tree, void *), void *); ...@@ -62,9 +62,7 @@ static tree synthesize_exception_spec (tree, tree (*) (tree, void *), void *);
static tree locate_dtor (tree, void *); static tree locate_dtor (tree, void *);
static tree locate_ctor (tree, void *); static tree locate_ctor (tree, void *);
static tree locate_copy (tree, void *); static tree locate_copy (tree, void *);
#ifdef ASM_OUTPUT_DEF
static tree make_alias_for_thunk (tree); static tree make_alias_for_thunk (tree);
#endif
/* Called once to initialize method.c. */ /* Called once to initialize method.c. */
...@@ -273,10 +271,7 @@ thunk_adjust (tree ptr, bool this_adjusting, ...@@ -273,10 +271,7 @@ thunk_adjust (tree ptr, bool this_adjusting,
return ptr; return ptr;
} }
/* Garbage collector tables contains thunk_labelno even when places
inside ifdef block. */
static GTY (()) int thunk_labelno; static GTY (()) int thunk_labelno;
#ifdef ASM_OUTPUT_DEF
/* Create a static alias to function. */ /* Create a static alias to function. */
...@@ -322,7 +317,6 @@ make_alias_for_thunk (tree function) ...@@ -322,7 +317,6 @@ make_alias_for_thunk (tree function)
assemble_alias (alias, DECL_ASSEMBLER_NAME (function)); assemble_alias (alias, DECL_ASSEMBLER_NAME (function));
return alias; return alias;
} }
#endif
/* Emit the definition of a C++ multiple inheritance or covariant /* Emit the definition of a C++ multiple inheritance or covariant
return vtable thunk. If EMIT_P is nonzero, the thunk is emitted return vtable thunk. If EMIT_P is nonzero, the thunk is emitted
......
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