Re: ggc_collect() discarding/reusing remap_debug_filename() output, thus producing invalid objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Thomas Otto:

> I tried to annotate `cached_wd` via GTY((..)) as on first glance it seems 
> the gc mistakenly re-uses it, but the `gengtype` generated state file never 
> picks this variable up.

Have you tried moving the variable to the top level and annotating it
with GTY ((cache))?

I believe gengtype will emit code to clear such variables during
garbage collection, avoiding the issue.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux