https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105767
KL <deco33000 at yandex dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from KL <deco33000 at yandex dot com> --- Moving the include to the top solved the issue. Weird, but that's fine.