https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> --- What happens if you compile this code using your existing system g++ struct A { A() { } }; [[gnu::init_priority(99)]] A a; [[gnu::init_priority(99)]] A a2; struct B { B() { } }; [[gnu::init_priority(99)]] B b; This is valid code and should compile (with warnings about using reserved priority). And what happens if you compile it using the stage1 compiler instead? i.e. with /home/SETUP/GNU/gcc/BUILD/./gcc/xgcc -B/home/SETUP/GNU/gcc/BUILD/./gcc