From cebebe72b1f06a31668a8efb9a5f2d6be590b20d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 24 Jun 2003 15:31:59 +0200 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/method.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2bc048499787..8ae7c023e9a4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 24 15:30:05 CEST 2003 Jan Hubicka + + * method.c (thunk_labelno): Move outside ifdef block to make garbage + collector happy. + Tue Jun 24 13:52:34 CEST 2003 Jan Hubicka * class.c (build_vtable): Make vtables. diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 3c9ab9116ac4..d02d0243f87d 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. */