https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108968
--- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> --- Perhaps it works if you declare the register variable in file scope.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108968
--- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> --- Perhaps it works if you declare the register variable in file scope.