method.c (make_alias_for_thunk): Remove preprocessor guard on declaration and definition.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 10 Apr 2004 14:44:14 +0000 (14:44 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Sat, 10 Apr 2004 14:44:14 +0000 (14:44 +0000)
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

gcc/cp/ChangeLog
gcc/cp/method.c

index bfb3191e53472ef73b15a9b35b6831b4f7ceefc7..984d5de61542a297d564cfc42975ac768ed752ec 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR c++/14808
index 49ba9834d990a55188cebe789cc115bc9e2a016c..d1ce575cae00b8c531da256ffc5c5630848189c3 100644 (file)
@@ -62,9 +62,7 @@ static tree synthesize_exception_spec (tree, tree (*) (tree, void *), void *);
 static tree locate_dtor (tree, void *);
 static tree locate_ctor (tree, void *);
 static tree locate_copy (tree, void *);
-#ifdef ASM_OUTPUT_DEF
 static tree make_alias_for_thunk (tree);
-#endif
 
 /* Called once to initialize method.c.  */
 
@@ -273,10 +271,7 @@ thunk_adjust (tree ptr, bool this_adjusting,
   return ptr;
 }
 
-/* Garbage collector tables contains thunk_labelno even when places
-   inside ifdef block.  */
 static GTY (()) int thunk_labelno;
-#ifdef ASM_OUTPUT_DEF
 
 /* Create a static alias to function.  */
 
@@ -322,7 +317,6 @@ make_alias_for_thunk (tree function)
     assemble_alias (alias, DECL_ASSEMBLER_NAME (function));
   return alias;
 }
-#endif
 
 /* Emit the definition of a C++ multiple inheritance or covariant
    return vtable thunk.  If EMIT_P is nonzero, the thunk is emitted