This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r170705 - in /branches/pph: gcc/ChangeLog.pph g...
- From: crowl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 05 Mar 2011 22:59:49 -0000
- Subject: r170705 - in /branches/pph: gcc/ChangeLog.pph g...
Author: crowl
Date: Sat Mar 5 22:59:48 2011
New Revision: 170705
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170705
Log:
Add preprocessor symbol verification to PPH.
Write the used symbol table instead of a dummy PPH file.
Reuse PTH code for verifying these symbols are correct.
Modify verfication to allow a preprocessor symbol to match the PPH
file's after value as well as its before value.
Stop storing the macro name redundantly within its value.
Mark three tests as expected failures as a result.
There are 2 unexpected failures and 2 unexpected passes to be fixed.
Add three different PPH output formats,
the regular object file, the pretty printed form, and the full dump form.
These formats are more stubs than anything else.
Make pretty printing closer to compilable code.
Add new flag TDF_VISDEF to request display of visible definitions.
For now, they are most particularly struct definitions.
Turn off visible definitions for bases of arrays and pointers.
Modified:
branches/pph/gcc/ChangeLog.pph
branches/pph/gcc/c-family/c.opt
branches/pph/gcc/cp/ChangeLog.pph
branches/pph/gcc/cp/pph.c
branches/pph/gcc/testsuite/ChangeLog.pph
branches/pph/gcc/testsuite/g++.dg/pph/d1chained.cc
branches/pph/gcc/testsuite/g++.dg/pph/d2dupguard.cc
branches/pph/gcc/testsuite/g++.dg/pph/p1mean.cc
branches/pph/gcc/testsuite/g++.dg/pph/p1stdlib.cc
branches/pph/gcc/tree-pass.h
branches/pph/gcc/tree-pretty-print.c
branches/pph/libcpp/ChangeLog.pph
branches/pph/libcpp/include/symtab.h
branches/pph/libcpp/symtab.c