https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102465
--- Comment #2 from Fedor Chelnokov <fchelnokov at gmail dot com> --- I believe PR 97934 is not much related, since the code there is processed the same by all compilers. And here GCC is the only one showing the error.