https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124311
Nathaniel Shead <nshead at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Target Milestone|16.0 |15.3
CC| |nshead at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2026-03-02
Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot
gnu.org
--- Comment #4 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
Confirmed. The set_instantiating_module is correct, we still want to provide
the definition of this (inline) definition if it wasn't provided yet. Rather I
think the problem is that we enter the 'is_new' branches in module streaming at
all; it looks like in 'key_mergeable' we should be checking for
DECL_DEFAULTED_FN rather than just DECL_ARTIFICIAL I think.