https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66088
--- Comment #4 from Andreas Schwab <sch...@linux-m68k.org> --- The modification cannot be observed outside of the function, thus removing the assignment would not change the behaviour of the whole program.