This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r179459 - 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: Mon, 03 Oct 2011 14:43:08 -0000
- Subject: r179459 - in /branches/pph/gcc: cp/ChangeLog.pp...
Author: dnovillo
Date: Mon Oct 3 14:43:06 2011
New Revision: 179459
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179459
Log:
* pph-streamer.h (enum pph_tag): Define.
(struct pph_cache_entry): Add field TAG.
(pph_cache_insert_at): Add new argument TAG.
Update all users.
(pph_cache_lookup): Likewise.
(pph_cache_lookup_in_includes): Likewise.
(pph_cache_add): Likewise.
(pph_out_record_marker): Likewise.
(pph_in_record_marker): Add new argument *TAG_P.
Read *TAG_P. Assert that it is a valid tag.
(pph_cache_get): Call pph_cache_get_entry.
(pph_tag_is_tree_code): New.
(pph_tree_code_to_tag): New.
(pph_tag_to_tree_code): New.
* pph-streamer-in.c (ALLOC_AND_REGISTER): Add new argument
TAG. Update all users.
(ALLOC_AND_REGISTER_ALTERNATE): Likewise.
(pph_in_start_record): Add new argument EXPECTED_TAG. Update
all users.
(pph_in_c_language_function): Inline into ...
(pph_in_language_function): ... here.
* pph-streamer-out.c (pph_get_marker_for): Add argument TAG.
Update all users.
(pph_out_reference_record): Likewise.
(pph_out_start_record): Likewise.
(pph_out_start_tree_record): Re-enable state mutation
detection.
(pph_out_c_language_function): Inline into ...
(pph_out_language_function): ... here.
testsuite/ChangeLog.pph
* g++.dg/pph/x6dynarray4.cc: Mark partially fixed.
* g++.dg/pph/x7dynarray5.cc: Mark partially fixed.
Modified:
branches/pph/gcc/cp/ChangeLog.pph
branches/pph/gcc/cp/name-lookup.c
branches/pph/gcc/cp/pph-streamer-in.c
branches/pph/gcc/cp/pph-streamer-out.c
branches/pph/gcc/cp/pph-streamer.c
branches/pph/gcc/cp/pph-streamer.h
branches/pph/gcc/testsuite/ChangeLog.pph
branches/pph/gcc/testsuite/g++.dg/pph/x6dynarray4.cc
branches/pph/gcc/testsuite/g++.dg/pph/x7dynarray5.cc