https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981
--- Comment #38 from Erich Löw <Erich.Loew at outlook dot com> --- Using [[gnu::init_priority(0)]] (I saw it right now per coincidency) produces error advise as follows: main.cc:45:39: error: requested ‘init_priority’ 0 is out of range [0, 65535] 45 | [[gnu::init_priority(0)]] A volatile b; If 0 is forbidden I'd expect an error message like this: main.cc:45:39: error: requested ‘init_priority’ 0 is out of range [1, 65535] 45 | [[gnu::init_priority(0)]] A volatile b;