1.c:3: warning 147: excess elements in array initializer after 'x'
1.c:2: warning 147: excess elements in array initializer after 'x'
1.c:2: warning 147: excess elements in array initializer after '__xinit_x'
If you make it const the extra one goes away - but it still puts it in the wrong segment if referenced.
(as an aside given it's static and unreferenced I don't understand why it didn't eliminate it entirely)
r12391 still produces the warnings, specifically about
__xinit_xbecause it is still writing the additional (unrequired) initialiser.
But if the correct number of initialisers are supplied then there are no warnings (as it should be).