Re: [PATCH] [C++] Fix read of uninitialized value in make_pack_expansion()

2015-12-21 Thread Jason Merrill
OK, thanks. Jason

[PATCH] [C++] Fix read of uninitialized value in make_pack_expansion()

2015-12-21 Thread Patrick Palka
Here we have forgotten to set the type_pack_expansion_p field of the local variable "ppd" before handing it over to cp_walk_tree / find_parameter_packs_r, which can then read this uninitialized field. This error was spotted when compiling boost under valgrind. >From what I can tell by the comments