https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119994
--- Comment #7 from anlauf at gcc dot gnu.org --- Created attachment 61582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61582&action=edit Exploratory patch This patch tries to improve upon the determination of whether a symbol is host-associated or not. It works in some situations, but does not in others. Particularly, if "this" is used in the body of the function, it gets attr.use_assoc set. I haven't figured out yet how to handle this. On the positive side, it (still) regtests fine... :-)