Re: [pph] Merge inline function definitions. (issue5677058)

2012-02-16 Thread Lawrence Crowl
On 2/16/12, Diego Novillo wrote: > With this patch, I'm getting: > > gcc/cp/pph-in.c: In function 'tree_node* pph_in_tree(pph_stream*)': > gcc/cp/pph-in.c:1694:70: error: 'decl_declared_inline' may be used > uninitialized in this function > [-Werror=maybe-uninitialized]gcc/cp/pph-in.c:1644:8: note

Re: [pph] Merge inline function definitions. (issue5677058)

2012-02-16 Thread Diego Novillo
With this patch, I'm getting: gcc/cp/pph-in.c: In function 'tree_node* pph_in_tree(pph_stream*)': gcc/cp/pph-in.c:1694:70: error: 'decl_declared_inline' may be used uninitialized in this function [-Werror=maybe-uninitialized]gcc/cp/pph-in.c:1644:8: note: 'decl_declared_inline' was declared here gc

[pph] Merge inline function definitions. (issue5677058)

2012-02-15 Thread Lawrence Crowl
This patch merges inline functions where a plain declaration is read from a pph file after an earlier pph file provides the full definition. Making this merge happen required refactoring the several pph routines. Ideally, we should have merge versions of the common tree streamer. However, we liv