[pph] Buffer overrun in preprocessor symbol replay

2011-03-09 Thread Lawrence Crowl
, which is was no longer large enough to hold the definition string. Split cpp_idents_used::max_length and cpp_lookaside::max_length into max_ident_len and max_value_len. In cpp_lt_replay, allocate the buffer based on the sum of max_ident_len and max_value_len. -- Lawrence Crowl src.change

[pph] Fix release compilation failure

2011-04-05 Thread Lawrence Crowl
The current state of PPH uses cp_lexer_dump_tokens and cp_lexer_debug_tokens even in non-checking mode, so always generate them. We will probably reconsider at a future time. Index: gcc/cp/ChangeLog.pph 2011-04-05 Lawrence Crowl * parser.c (cp_lexer_dump_tokens): Remove #ifdef

[pph] Macro Validation (issue4379044)

2011-04-07 Thread Lawrence Crowl
. Adjust tests to reflect changes. There is still one unexpected failure, p1mean.cc does not compare equal in assembly. Not yet investigated. gcc/testsuite/ChangeLog.pph 2011-04-06 Lawrence Crowl * g++.dg/pph/p1mean.cc: Now pass validation. * g++.dg/pph/p1stdlib.cc: Likewise

Re: [pph] Macro Validation (issue4379044)

2011-04-08 Thread Lawrence Crowl
On 4/8/11, Diego Novillo wrote: > On Thu, Apr 7, 2011 at 13:54, Lawrence Crowl wrote: >> *** pth_save_token_cache (cp_token_cache *ca >> *** 448,453 >> --- 448,454 >>pph_output_uint (f, num); >>for (i = 0, tok

[pph] Debug Cleanup (issue4380046)

2011-04-08 Thread Lawrence Crowl
, and pph_output_tree_aux is the internal (recursive) auxillary, which is used for function bodies. Add a unsigned integer parameter to -fpph-tracer with the semantics 1=external 2=trees/chains 3=auxillary(statments) 4=strings/ints. Index: gcc/c-family/ChangeLog.pph 2011-04-08 Lawrence

<    1   2   3   4