r172690 - in /branches/pph: gcc/cp/ChangeLog.pp...
crowl@gcc.gnu.org
crowl@gcc.gnu.org
Tue Apr 19 01:54:00 GMT 2011
Author: crowl
Date: Tue Apr 19 01:54:03 2011
New Revision: 172690
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172690
Log:
First stab at getting namespaces working with PPH. This change will
put top-level namespaces into the global namespace. It does not,
however, appear to their members in any place useful.
Some tuning of tracing output.
Index: gcc/cp/ChangeLog.pph
2011-04-18 Lawrence Crowl <crowl@google.com>
* pph.c (pth_save_identifiers): Fix FIXME comment.
(pph_add_names_to_namespace): Add contained namespaces to scope as
well as regular symbols.
* pph-streamer.c (enum pph_trace_type): Add a trace for refs.
(pph_stream_trace): Add the ref printing. Reduce bulk of trace
messages. Filter off uninteresting traces, primarily traces of null
pointers.
(pph_stream_trace_tree): Convert ref_p to trace value.
* pph-streamer.h: Adjust flag_pph_tracer comparisons for better traces.
(pph_stream_trace_tree): Add ref_p parameter. Propogate such
parameters at all call sites.
(pph_output_tree_lst): New. Like pph_output_tree, but for list and
chain contexts.
(pph_stream_write_tree): The callback is auxillary.
(pph_output_chain_filtered): Call pph_output_tree_lst.
Index: libcpp/ChangeLog.pph
2011-04-18 Lawrence Crowl <crowl@google.com>
* init.c: Fix spelling in comment.
Modified:
branches/pph/gcc/cp/ChangeLog.pph
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/cp/pph.c
branches/pph/libcpp/ChangeLog.pph
branches/pph/libcpp/init.c
More information about the Gcc-cvs
mailing list