This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Copying collection and our ggc_collect practices


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]