From: Jan Hubicka Date: Tue, 24 Jun 2003 13:31:59 +0000 (+0200) Subject: method.c (thunk_labelno): Move outside ifdef block to make garbage collector happy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cebebe72b1f06a31668a8efb9a5f2d6be590b20d;p=gcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2bc04849978..8ae7c023e9a 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 3c9ab9116ac..d02d0243f87 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. */