From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Andreas Schwab Cc: Daniel Berlin , Mark Mitchell , wilson@cygnus.com, gcc@gcc.gnu.org Subject: Re: Bootstrap failure of gcc-ss-20010409 in ia64 Date: Fri, 13 Apr 2001 12:20:00 -0000 Message-id: References: <200104111947.MAA23080@wilson.cygnus.com> <20010411174320Q.mitchell@codesourcery.com> <20010411183411J.mitchell@codesourcery.com> X-SW-Source: 2001-04/msg00621.html 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.