[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 11 15:58:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list