diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-24 05:44:45 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-24 05:44:45 +0000 |
commit | fee0876999ad5bf7644136808e582335af99de38 (patch) | |
tree | b2dc22332eba8d3331326f7743c17d50a3f660c1 /gcc | |
parent | 345efedaa7f22b0339cbf18ffafc7a2d463723fa (diff) | |
download | gcc-fee0876999ad5bf7644136808e582335af99de38.tar.gz |
* method.c: add prototype for make_alias_for_thunk.
(thunk_labelno, make_alias_for_thunk): only define
if ASM_OUTPUT_DEF is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68405 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/method.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ee9027446b8..b99ae526649 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2003-06-23 Andrew Pinski <pinskia@physics.uc.edu> + + * method.c: add prototype for make_alias_for_thunk. + (thunk_labelno, make_alias_for_thunk): only define + if ASM_OUTPUT_DEF is defined. + 2003-06-23 Jakub Jelinek <jakub@redhat.com> * method.c (thunk_labelno): New variable. diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 9e00fff70c0..3c9ab9116ac 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -62,6 +62,9 @@ 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. */ @@ -351,6 +354,7 @@ thunk_adjust (tree ptr, bool this_adjusting, return ptr; } +#ifdef ASM_OUTPUT_DEF static GTY (()) int thunk_labelno; /* Create a static alias to function. */ @@ -397,6 +401,7 @@ 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 |