https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141
--- Comment #3 from anlauf at gcc dot gnu.org --- Placing the subroutine into a module also avoids the error.
anlauf at gcc dot gnu.org via Gcc-bugs Sat, 15 Oct 2022 08:17:15 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141
--- Comment #3 from anlauf at gcc dot gnu.org --- Placing the subroutine into a module also avoids the error.