https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91239
Rui Ueyama <rui314 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rui314 at gmail dot com --- Comment #6 from Rui Ueyama <rui314 at gmail dot com> --- I can add a support to mold so that mold works for this test case. I'm not 100% sure what's the correct behavior though. It looks like we should redirect references to dead comdat members to prevailing ones. But is there any guarantee that all COMDAT members have the exact same set of members? We deduplicate COMDAT groups just by looking at their group names and don't compare their members. Or, can we just leave `.debug_macros` sections even if they are in deduplicated COMDAT groups?