Daniel Berlin writes: |> Change the gen_decl_die (origin, die->die_parent) to dwarf2out_decl |> (origin), and see if it goes away. That didn't help either. context_die.die_tag is now DW_TAG_compile_unit, but no difference otherwise. Andreas. -- Andreas Schwab "And now for something SuSE Labs completely different." Andreas.Schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5