Re: Get rid of warning in dwarf2out.c

2011-04-28 Thread Eric Botcazou
> Shouldn't there be a warning from newer gcc, i.e. from trunk? The code in GCC 4.3 reads: /* Inline declaration after use or definition. ??? Should we still warn about this now we have unit-at-a-time mode and can get it right? Definitely don't complain if the dec

Re: Get rid of warning in dwarf2out.c

2011-04-25 Thread Hans-Peter Nilsson
On Mon, 18 Apr 2011, Eric Botcazou wrote: > Compiling dwarf2out.c with older versions of GCC yields a warning because > is_redundant_typedef has a prototype without the 'inline' keyboard and a > declaration with it, and is called from another function in-between. Shouldn't there be a warning from

Get rid of warning in dwarf2out.c

2011-04-18 Thread Eric Botcazou
Compiling dwarf2out.c with older versions of GCC yields a warning because is_redundant_typedef has a prototype without the 'inline' keyboard and a declaration with it, and is called from another function in-between. The attached patchlet adds 'inline' to the prototype, as is done for other func