Oranize the PPH tree switch into tcc_* chunks, in each of four sections:
commit480bfb2466a68b6f2f21ea03f36382f70ead291d
authorcrowl <crowl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 02:24:53 +0000 (27 02:24 +0000)
committercrowl <crowl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 02:24:53 +0000 (27 02:24 +0000)
tree7cf16f674c4e45261bdf9939eb8b120b04d23076
parent33c6aa73613ef02ed17fd9a76e5434d39a77b5c5
Oranize the PPH tree switch into tcc_* chunks, in each of four sections:
needs more work, already handled, unimplemented, and unrecognized.

Implement several C++ tree nodes.  These nodes do not get any more tests
to pass, but they do move the failures deeper into the compilation.

Index: gcc/cp/ChangeLog.pph

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

* cp-objcp-common.c (cp_tree_size): Add case TREE_BINFO.
* pph.c (pph_read_file): Also log closing of PPH files.
* pph-streamer-in.c (pph_stream_read_tree):
Organize the switch into tcc_* chunks.
Move tcc_statement case STATEMENT_LIST down.
        Implement tcc_type cases for BOUND_TEMPLATE_TEMPLATE_PARM,
DECLTYPE_TYPE, TEMPLATE_TEMPLATE_PARM, TEMPLATE_TYPE_PARM,
TYPENAME_TYPE, and TYPEOF_TYPE.
Implement tcc_exceptional case TEMPLATE_PARM_INDEX.
Add tcc_declaration case TRANSLATION_UNIT_DECL to already handled list.
        Create a section for unimplemented cases as opposed to unrecognized
cases.
* pph-streamer-out.c (pph_stream_write_tree):
Organize the switch into tcc_* chunks.
Move tcc_statement case STATEMENT_LIST down.
Implement tcc_type cases for BOUND_TEMPLATE_TEMPLATE_PARM,
        DECLTYPE_TYPE, TEMPLATE_TEMPLATE_PARM, TEMPLATE_TYPE_PARM,
TYPENAME_TYPE, and TYPEOF_TYPE.
        Move tcc_statement case STATEMENT_LIST down.
Implement tcc_exceptional case TEMPLATE_PARM_INDEX.
Add tcc_declaration case TRANSLATION_UNIT_DECL to already handled list.
        Create a section for unimplemented cases as opposed to unrecognized
cases.

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