https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53372
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Georg-Johann Lay <g...@gcc.gnu.org>: https://gcc.gnu.org/g:68221c54a9752dbf131c231413edfd21046f8dad commit r14-5552-g68221c54a9752dbf131c231413edfd21046f8dad Author: Georg-Johann Lay <a...@gjlay.de> Date: Fri Nov 17 12:51:16 2023 +0100 PR target/53372: Don't ignore section attribute with address-space. gcc/ PR target/53372 * config/avr/avr.cc (avr_asm_named_section) [AVR_SECTION_PROGMEM]: Only return some .progmem*.data section if the user did not specify a section attribute. (avr_section_type_flags) [avr_progmem_p]: Unset SECTION_NOTYPE in returned section flags. gcc/testsuite/ PR target/53372 * gcc.target/avr/pr53372-1.c: New test. * gcc.target/avr/pr53372-2.c: New test.