Andreas Schwab writes: > 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. Darn it, this sucks. It thinks it's not a declaration, so it never equates the number. I'm curious, in gen_variable_die, is the local "declaration" getting set to 1? If so, modify the class_scope_p test that before equate_decl_number_with_die to if (declaration || DECL_ABSTRACT (decl)) equate_decl_number_to_die (decl, var_die); At least we know why it doesn't happen in the head, however. It's because the exception handling stuff changed, so we don't hit this particular type anymore. > > 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 -- I went to the cinema, and the prices were: Adults $5.00, children $2.50. So I said, "Give me two boys and a girl."