Closed
Description
It seems clang recently started to miscompile aggregate initialization.
union foo {
char x;
int y;
long z;
} x = { 0 };
would only initialize x, which is OK (although a questionable decision). But my understanding is that
for C23 x = { } zero-filling is required, and this also does not happen anymore.