On Mon, Jun 6, 2011 at 18:08, Gabriel Charette <gch...@google.com> wrote:
> Removed all of the pth code with the exception of pth_save_token_cache
> and pth_load_token_cache and their respective closure.
>
> The renaming of the remaining functions to pph will be done in a separate 
> patch.
>
> The patch was tested with a full bootstrap build and regression testing.
>
> Note: There might be header files that are now unused due to the code removed.
>
> 2011-06-06  Gabriel Charette  <gch...@google.com>
>
>        * gcc/c-family/c.opt (fpth): Remove. Update all users.
>        (fpth-debug): Likewise.
>        (fpth-stats). Likewise.
>        (fpth-md5). Likewise.
>        * gcc/cp/pph.c (pth_stats): Remove field. Update all users.
>        (pth_get_state): Remove. Update all users.
>        (pth_debug_identifiers): Likewise.
>        (pth_debug_token_hunks): Likewise.
>        (pth_debug_state): Likewise.
>        (pth_image_lookup): Likewise.
>        (pth_init): Likewise.
>        (pth_print_stats): Likewise.
>        (pth_finish): Likewise.
>        * gcc/cp/pph.h (struct pth_include): Likewise.
>        (struct pth_image): Likewise.
>        (struct pth_state): Likewise.
>        (PTH_STATS_INCR): Likewise.
>        * gcc/timevar.def (TV_PTH_DEPENDENCY): Likewise.
>        (TV_PTH_MANAGE): Likewise.
>        (TV_PTH_MD5): Likewise.
>        (TV_PTH_LOAD): Likewise.
>        (TV_PTH_SAVE): Likewise.
>        (TV_PTH_SKIP_TOKENS): Likewise.
>        (TV_PTH_INIT): Likewise.

You also need to remove all the pth support in the testsuite.  You'd
be getting tons of errors from pth.exp.  Essentially, everything in
gcc/testsuite/* that references pth can go.  This includes
gcc/testsuite/lib/dg-pth.exp, gcc/testsuite/g++.dg/pth/* and also
you'll have to edit gcc/testsuite/g++.dg/dg.exp to remove the code
that tries to execute pth.exp.

OK with that change.

Diego.

Reply via email to