Re: Assembling pending decls before writing their debug info

2005-08-25 Thread Tom Tromey
> "Jim" == James E Wilson <[EMAIL PROTECTED]> writes: Jim> The interface between the front ends and cgraph really needs to be Jim> worked out here. Currently, the C and C++ front ends are calling some Jim> cgraph functions in different orders, and we are having lots of debug Jim> related prob

Re: Assembling pending decls before writing their debug info

2005-08-24 Thread Daniel Berlin
On Wed, 2005-08-24 at 12:33 -0700, James E Wilson wrote: > Nick Clifton wrote: > > The reason for this behaviour is that the debug information is being > > written out before the variables have been fully resolved. In > > particular DECL_SET() for the second and third observer functions is >

Re: Assembling pending decls before writing their debug info

2005-08-24 Thread James E Wilson
Nick Clifton wrote: > The reason for this behaviour is that the debug information is being > written out before the variables have been fully resolved. In > particular DECL_SET() for the second and third observer functions is > NULL when the debug info is generated, which is why they are b

Re: Assembling pending decls before writing their debug info

2005-08-23 Thread Andrew Pinski
> > Hi Guys, > > There is a problem with unit-at-a-time compilation and DWARF debug > info generation. Consider this small test case which has been > derived from GDB's observer.c source file: There was even more issues with uninitialized variables a month ago. This was all caused by Mark

Assembling pending decls before writing their debug info

2005-08-23 Thread Nick Clifton
Hi Guys, There is a problem with unit-at-a-time compilation and DWARF debug info generation. Consider this small test case which has been derived from GDB's observer.c source file: int observer_test_first_observer = 0; int observer_test_second_observer = 0; int observer_test_th