[pph] Fix cxx_binding streaming logic (issue4646041)

Diego Novillo dnovillo@google.com
Fri Jun 17 12:26:00 GMT 2011

On Thu, Jun 16, 2011 at 18:57, Gabriel Charette <gchare@google.com> wrote:

> At the end of pph_out_cxx_binding I could also simply do
> pph_out_uchar (stream, PPH_RECORD_END);
> instead of
> pph_out_cxx_binding_1 (stream, NULL, ref_p);
> which has the exact same effect.

That's fine.  I kind of prefer the way you did it.

> 2011-06-16  Gabriel Charette  <gchare@google.com>
>        * gcc/cp/pph-streamer-in.c (pph_in_cxx_binding): Fix streaming logic.
>        * gcc/cp/pph-streamer-out.c (pph_out_cxx_binding): Fix streaming logic.

OK, committed in rev 175143.


More information about the Gcc-patches mailing list