Andreas Schwab writes: > Daniel Berlin writes: > > |> Can you see why gen_decl_die isn't generating the die? (IE what case > |> it's breaking/returning on) This should give you a large clue as to > |> what is wrong. > > The condition `(class_scope_p (context_die) || DECL_ABSTRACT (decl))' in > gen_variable_die is false (context_die.die_tag == DW_TAG_subprogram). > This is the value of decl: Oh, then this is because it's putting the die in the wrong context, which is the thing i said was wrong with the patch. Doh. Change the gen_decl_die (origin, die->die_parent) to dwarf2out_decl (origin), and see if it goes away. > > 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 hardware store and bought some used paint. It was in the shape of a house. I also bought some batteries, but they weren't included. So I had to buy them again.