https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123376
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE is in cst_pool_loc_descr, so when trying to look up if we have such a CONSTRUCTOR emitted already, so that one in theory could be also handled by passing some argument that no new mangling should be done. But looking at loc_list_from_tree_1 for CONSTRUCTOR, it then goes on trying to call loc_descriptor_from_tree on the values for FIELD_DECLs in RECORD_TYPE, so I agree that we should mangle_referenced_decls even for aggregate types. Maybe even without the initializer_constant_valid_p check.
