This is the mail archive of the
mailing list for the GCC project.
r180759 - in /branches/pph/gcc/cp: ChangeLog.pp...
- From: crowl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2011 03:24:00 -0000
- Subject: r180759 - in /branches/pph/gcc/cp: ChangeLog.pp...
Date: Wed Nov 2 03:23:59 2011
New Revision: 180759
Add merging of static_decls in bindings. Due to the current
structure, this change is currently only effective at namespace scope.
Consequently, there are no changes to test status. We may need to
make all bindings merged by default.
2011-11-01 Lawrence Crowl <firstname.lastname@example.org>
* pph-streamer-out.c (pph_out_binding_level_1): Remove streaming of
(pph_out_binding_level): Add streaming of static_decls.
* pph-streamer-in.c (pph_is_tree_element_of_vec): New.
(pph_in_binding_level_1): Remove streaming of static_decls.
(pph_in_binding_level): Add streaming of static_decls.
(pph_in_binding_merge_bodies): Add merging of static_decls from
streamer into existing binding. Needs new function parameter.
(pph_in_merge_key_tree): Preallocate namespace cp_binding_level.
(pph_in_global_binding): Update call to pph_in_binding_merge_bodies.