This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r174680 - 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: Mon, 06 Jun 2011 03:21:17 -0000
- Subject: r174680 - in /branches/pph/gcc: cp/ChangeLog.pp...
Author: crowl
Date: Mon Jun 6 03:21:16 2011
New Revision: 174680
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174680
Log:
We were not streaming the TS_COMMON field change. This patch adds
a functions to stream TS_COMMON. It adds calls to them in existing
code that handles trees. It also implements streaming of other
C++-specific trees that inherit TS_COMMON. This patch fixes some
ICEs, but the test still fail on later ICEs.
Tests adjusted to reflect new reality.
Index: gcc/testsuite/ChangeLog.pph
2011-06-05 Lawrence Crowl <crowl@google.com>
* g++.dg/pph/x1special.cc: Change to new ICE.
* g++.dg/pph/x1template.cc: Change old ICE to new location.
* g++.dg/pph/x1tmplfunc.cc: Change to new ICE.
Index: gcc/cp/ChangeLog.pph
2011-06-05 Lawrence Crowl <crowl@google.com>
* pph-streamer.c (pph_trace): Clean up trace formatting.
* pph-streamer-in.c (pph_in_tree_common): New for TS_COMMON chain.
(pph_read_tree): Call pph_in_tree_common in existing readers for trees.
Implement readers for C++-specific trees that need pph_in_tree_common.
* pph-streamer-out.c (pph_out_tree_common): New for TS_COMMON chain.
(pph_write_tree): Call pph_out_tree_common in existing writers for
trees. Implement readers for C++-specific trees that need
pph_out_tree_common.
Modified:
branches/pph/gcc/cp/ChangeLog.pph
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/testsuite/ChangeLog.pph
branches/pph/gcc/testsuite/g++.dg/pph/x1special.cc
branches/pph/gcc/testsuite/g++.dg/pph/x1template.cc
branches/pph/gcc/testsuite/g++.dg/pph/x1tmplfunc.cc