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-Tag: releases/gcc-3.4.0~5521 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cebebe72b1f06a31668a8efb9a5f2d6be590b20d;p=thirdparty%2Fgcc.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 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. */