https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104407
--- Comment #15 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 7 Feb 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104407 > > --- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Ah, you're right, I thought the rtl is used in the native_encode_initializer > case but it is not. > So, if the point of r11-2834 was to mangle the referenced symbols, then we > shouldn't call rtl_for_decl_init but instead do STRIP_NOPS + if > (initializer_constant_valid_p) walk_tree with a callback that will > DECL_ASSEMBLER_NAME on the decls. Yeah, I guess so, using assign_assembler_name_if_needed ()