diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-04-10 14:44:14 +0000 |
---|---|---|
committer | R. Kelley Cook <kcook@gcc.gnu.org> | 2004-04-10 14:44:14 +0000 |
commit | c051cc7e0a20bcc8f65cc2d4e0d21f2263f548f7 (patch) | |
tree | 3636451759f60d28b3b0712f2c655afaa985b21c | |
parent | df1a3b7369d90b4f2c9428590707b0df60973fff (diff) | |
download | gcc-c051cc7e0a20bcc8f65cc2d4e0d21f2263f548f7.zip gcc-c051cc7e0a20bcc8f65cc2d4e0d21f2263f548f7.tar.gz gcc-c051cc7e0a20bcc8f65cc2d4e0d21f2263f548f7.tar.bz2 |
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
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/method.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bfb3191..984d5de 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 49ba983..d1ce575 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -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 |