https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Created attachment 47485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47485&action=edit 123f.c: C test case with address space __flash. ...and the code is also wrong with address spaces like __flash (and the same options like in comment #1): $ avr-gcc -mmcu=atmega128 123f.c -flto -Os -save-temps -o 123f.elf