Save and restored globals keyed_classes and unemitted_tinfo_decls.
commitb2fe1f6107ea3d20203f2420f5ca1d21e0b11406
authorcrowl <crowl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2011 21:31:16 +0000 (5 21:31 +0000)
committercrowl <crowl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2011 21:31:16 +0000 (5 21:31 +0000)
tree8aa0040da427f6ed9dbca192e17d11a7f0217e66
parentfe587981d48a6cf5ddd849aeb2a4fe076e66f87f
Save and restored globals keyed_classes and unemitted_tinfo_decls.
Save and restore member TYPE_BINFO.

Index: gcc/cp/ChangeLog.pph

2011-05-05  Lawrence Crowl <crowl@google.com>

        * pph.c (pph_write_file_contents): Save keyed_classes and
        unemitted_tinfo_decls.
        (pph_read_file_contents): Restore keyed_classes and
        unemitted_tinfo_decls.
* pph-streamer.h (pph_stream_write_tree_vec): Make extern.
(pph_stream_read_tree_vec): Make extern.
(pph_output_tree_array): Archive for future need.
(pph_output_tree_VEC): Archive for future need.
(pph_input_tree_array): Archive for future need.
(pph_input_tree_VEC): Archive for future need.
* pph-streamer-in.c (pph_stream_read_tree): Make extern.
(pph_stream_read_tree): Restore TYPE_BINFO.
* pph-streamer-out.c (pph_stream_write_tree_vec): Make extern.
(pph_stream_write_tree): Save TYPE_BINFO.
* name-lookup.c (pushdecl_into_namespace): Add leading comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/pph@173456 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog.pph
gcc/cp/name-lookup.c
gcc/cp/pph-streamer-in.c
gcc/cp/pph-streamer-out.c
gcc/cp/pph-streamer.h
gcc/cp/pph.c