aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-06-24 15:31:59 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-06-24 13:31:59 +0000
commitcebebe72b1f06a31668a8efb9a5f2d6be590b20d (patch)
tree58ab87b73bc9c8296a7049f0cb03d221e9ab6d5f /gcc/cp/method.c
parentd35543c0dd3d5377461d7a1d2902b89543b65276 (diff)
downloadgcc-cebebe72b1f06a31668a8efb9a5f2d6be590b20d.zip
gcc-cebebe72b1f06a31668a8efb9a5f2d6be590b20d.tar.gz
gcc-cebebe72b1f06a31668a8efb9a5f2d6be590b20d.tar.bz2
method.c (thunk_labelno): Move outside ifdef block to make garbage collector happy.
* method.c (thunk_labelno): Move outside ifdef block to make garbage collector happy. From-SVN: r68419
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 3c9ab91..d02d024 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -354,8 +354,10 @@ thunk_adjust (tree ptr, bool this_adjusting,
return ptr;
}
-#ifdef ASM_OUTPUT_DEF
+/* 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. */