Copying collection and our ggc_collect practices

Zack Weinberg zack@codesourcery.com
Wed Sep 17 19:35:00 GMT 2003


Daniel Berlin <dberlin@dberlin.org> writes:

> Currently, gcc has a bad habit of keeping ggc_alloc'd pointers in unmarked
> local variables, and expecting the addresses not to change over a
> ggc_collect.
>
> This of course, prevents us from doing copying collection.

Could you give examples?  I cannot think of any place where this is
actually _necessary_.  I would be in favor of finding all such locals
and getting rid of them.

zw



More information about the Gcc mailing list