https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109476
--- Comment #3 from Wilhelm M <klaus.doldinger64 at googlemail dot com> --- Sorry, I forgot to mention the flags: -Os -mmcu=atmega328 Maybe CompilerExplorer ist also usefull: https://godbolt.org/z/zsq6PT1xb