Re: [pph] Append DECL_CONTEXT of global namespace to cache in preload (issue4629081)

2011-06-28 Thread Diego Novillo
On Tue, Jun 28, 2011 at 18:37, Gabriel Charette wrote: > 2011-06-28  Gabriel Charette   > >        * pph-streamer.c (pph_preload_common_nodes): >        Append DECL_CONTEXT of global_namespace to cache. OK. Diego.

[pph] Append DECL_CONTEXT of global namespace to cache in preload (issue4629081)

2011-06-28 Thread Gabriel Charette
We need members of the global namespace to point to the global translation unit decl. Thus we will append DECL_CONTEXT of global namespace to cache in preload. This doesn't fix any tests, but helps towards making the tree nodes identicals in pph-mode. Tested with bootstrap build and pph regress