https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407
--- Comment #4 from Matthias Möller <mmoelle1 at gmail dot com> --- Thank you, I have changed the code as suggested and it compiles and runs fine in all optimization levels including '-O0'.
mmoelle1 at gmail dot com via Gcc-bugs Sat, 14 Jan 2023 11:23:57 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407
--- Comment #4 from Matthias Möller <mmoelle1 at gmail dot com> --- Thank you, I have changed the code as suggested and it compiles and runs fine in all optimization levels including '-O0'.