https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 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.