https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105697
--- Comment #2 from Li Shaohua <shaohua.li at inf dot ethz.ch> --- I think the volatile keyword in function parameters is critical to this bug.
shaohua.li at inf dot ethz.ch via Gcc-bugs Wed, 01 Jun 2022 06:20:16 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105697
--- Comment #2 from Li Shaohua <shaohua.li at inf dot ethz.ch> --- I think the volatile keyword in function parameters is critical to this bug.