]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ggc-page.c (struct free_object): Pull definition out ...
authorDave Korn <dave.korn.cygwin@gmail.com>
Thu, 3 Dec 2009 02:04:16 +0000 (02:04 +0000)
committerDave Korn <davek@gcc.gnu.org>
Thu, 3 Dec 2009 02:04:16 +0000 (02:04 +0000)
* ggc-page.c (struct free_object): Pull definition out ...
(struct globals): .. from here.

From-SVN: r154933

gcc/ChangeLog
gcc/ggc-page.c

index 53ea0d2fe25ca1f6e758d0e5c4ad7eff1bf91ef5..8385c3443168a0d9fd809389752f7efdbe5febfe 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-03  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * ggc-page.c (struct free_object): Pull definition out ...
+       (struct globals): .. from here.
+
 2009-12-02  Richard Guenther  <rguenther@suse.de>
 
        * fold-const.c (div_if_zero_remainder): Honor that sizetypes
index 84b5c110c23a4423b5654b0b2dabc6ca71d39bf1..807bded61fcf0d97f1686dc4992b849075ea35ff 100644 (file)
@@ -335,6 +335,16 @@ typedef struct page_table_chain
 
 #endif
 
+#ifdef ENABLE_GC_ALWAYS_COLLECT
+/* List of free objects to be verified as actually free on the
+   next collection.  */
+struct free_object
+{
+  void *object;
+  struct free_object *next;
+};
+#endif
+
 /* The rest of the global variables.  */
 static struct globals
 {
@@ -421,11 +431,7 @@ static struct globals
 #ifdef ENABLE_GC_ALWAYS_COLLECT
   /* List of free objects to be verified as actually free on the
      next collection.  */
-  struct free_object
-  {
-    void *object;
-    struct free_object *next;
-  } *free_object_list;
+  struct free_object *free_object_list;
 #endif
 
 #ifdef GATHER_STATISTICS