This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 03/18/2015 01:59 PM, Jason Merrill wrote:
On 03/18/2015 01:03 PM, Aldy Hernandez wrote:By the way Jason, is there any reason we previously called equate_decl_number_to_die() only for abstract instances?:So that multiple concrete instances can find the abstract instance.
Ah, I see.
Why isn't DECL_ABSTRACT_P set the first time you get here for the label in question?
Oh, that part was working fine. The testcase that prompted this whole thing had nothing to do with DECL_ABSTRACT_P. I was just curious if I could remove the call to equate_decl_number_to_die, but I see it's needed.
I don't see anything else in dwarf2out.c doing a lookup_decl_die() on a LABEL_DECL, so I don't even know why the equate_decl_number_to_die() is even there.add_abstract_origin_attribute uses lookup_decl_die.
Thanks. Aldy
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |