https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116967
--- Comment #1 from Jan Schultke <janschultke at googlemail dot com> --- I really like the Clang output by the way, which GCC could copy almost directly: > <source>:2:5: warning: 'constinit' specifier missing on initializing > declaration of 'x' [-Wmissing-constinit] > 2 | int x; > | ^ > | constinit > <source>:1:8: note: variable declared constinit here > 1 | extern constinit int x; > | ^ > 1 warning generated.