https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86869
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e00c00730912cd6072954cd2c29ca44e33dbb598 commit r14-6133-ge00c00730912cd6072954cd2c29ca44e33dbb598 Author: Richard Biener <rguent...@suse.de> Date: Mon Dec 4 13:31:35 2023 +0100 c/86869 - preserve address-space info when building qualified ARRAY_TYPE The following adjusts the C FE specific qualified type building to preserve address-space info also for ARRAY_TYPE. PR c/86869 gcc/c/ * c-typeck.cc (c_build_qualified_type): Preserve address-space info for ARRAY_TYPE. gcc/testsuite/ * gcc.target/avr/pr86869.c: New testcase.