diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 53ea0d2fe25ca1f6e758d0e5c4ad7eff1bf91ef5..8385c3443168a0d9fd809389752f7efdbe5febfe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 84b5c110c23a4423b5654b0b2dabc6ca71d39bf1..807bded61fcf0d97f1686dc4992b849075ea35ff 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -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