This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r183823 - in /branches/pph/gcc/cp: ChangeLog.pp...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 02:58:00 -0000
- Subject: r183823 - in /branches/pph/gcc/cp: ChangeLog.pp...
Author: dnovillo
Date: Thu Feb 2 02:57:59 2012
New Revision: 183823
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183823
Log:
This patch extends the hack I added in
http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01031.html to pacify the
garbage collector.
I have to keep using the same fake GC root because these trees are
added to structures that I can't seem to get properly annotated for
GC. In particular, I'm having trouble with 'FILE' pointers. I will
try to figure this out at some point, but we've got bigger issues to
address at the moment.
The specific problem this time was that bitsizetype was being
GC'd out while we were reading a PPH image. This was causing
ICEs when we were trying to read many PPH images.
2012-02-01 Diego Novillo <dnovillo@google.com>
* config-lang.in (gtfiles): Remove pph-out.c. Add pph-core.c.
* pph-core.c: Include gt-cp-pph-core.h.
(pph_cached_trees): Declare.
(pph_cache_insert_at): If adding a tree to the cache, also
add it to pph_cached_trees.
(pph_streamer_init): Set pph_cached_trees to NULL.
(pph_streamer_finish): Likewise.
Call ggc_collect.
* pph-out.c (pph_decls_in_symtab): Remove. Update all users.
Modified:
branches/pph/gcc/cp/ChangeLog.pph
branches/pph/gcc/cp/config-lang.in
branches/pph/gcc/cp/pph-core.c
branches/pph/gcc/cp/pph-out.c