https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > Well, 7.2 certainly doesn't have any special casing for address spaces in > categorize_decl_for_section etc., so before claiming it is a regression > you'd better bisect what change actually changed it. avr already implemented TARGET_ASM_SELECT_SECTION (it just didn't handle STRING_CSTs) so that default_elf_select_section is not used -- and thereby dito for the logic in categorize_decl_for_section. Or more precisely, it's only used for non-address-space cases in avr_asm_select_section.