https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101188
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjl at gcc dot gnu.org --- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Created attachment 55147 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55147&action=edit C test case (compile only) Same test case like from comment #1, but only with the affected function. $ avr-gcc fail1.c -save-temps -dp -dumpbase "" -mmcu=atmega128 -c -Os -da For all version that I tested (v5.4, v8.5, v11.3, v12.3, v13.1, master 14.0.0 20230523) I am getting wrong code.