OSDN Git Service

* method.c (thunk_labelno): Move outside ifdef block to make garbage
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jun 2003 13:31:59 +0000 (13:31 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jun 2003 13:31:59 +0000 (13:31 +0000)
collector happy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68419 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/method.c

index 2bc0484..8ae7c02 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jun 24 15:30:05 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * method.c (thunk_labelno): Move outside ifdef block to make garbage
+       collector happy.
+
 Tue Jun 24 13:52:34 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * class.c (build_vtable): Make vtables.
index 3c9ab91..d02d024 100644 (file)
@@ -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.  */