[Bug debug/87443] GCC mixes abstract and concrete instances in abstract origins for inlines
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 26 11:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87443
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-09-26
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 44756
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44756&action=edit
patch I am testing
Patch for both issues. We shouldn't equate the BLOCK to concrete instance DIEs
we create. And we should attach abstract origins to the concrete instance
BLOCKs (origin == stmt, see set_decl_origin_self - which I hoped to get rid of
at some point).
Slightly nicer solution would be to go for TREE_DIE_REF in DECL_ABSTRACT_ORIGIN
refering to the abstract DIEs we created for a decl. I'll give that a try
anyways.
More information about the Gcc-bugs
mailing list