On Fri, 22 Dec 2017, Jakub Jelinek wrote:

> Hi!
> 
> Starting with GCC6 we emit for C (C++ is correct) incorrect DW_AT_decl_*
> location for structs which are forward declared, then have some incomplete
> var defined with it and finally defined.
> 
> The problem is that we process incomplete_vars before actually updating
> DECL_SOURCE_LOCATION (TYPE_STUB_DECL (t)) with the location of the
> definition, we find the type is onw complete and fill in debug info for it
> using the old locus.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk/release branches?

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to