https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86040
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Created attachment 44416 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44416&action=edit C test case for movmem The movmem from ASes __flash1 ... __flash5 is also affected. As the place to fix I'd propose the output function avr.c::avr_out_movmem().