typedef float xform_3d[4][3];
was routinely serialized by (I'm taking liberties here, this certainly not how the 20-year-old code read!) float *f = &x[0][0];
for(int i=0; i<12; i++) write_float(f[i]);
i.e., the code treated the same storage as a 2D-array of floats and then as a 1D-array of floats in different places.In the "pointers are just CPU registers" world, this worked fine. But more clever compilers know that the code dereferences past the end of the array (e.g., memory at f[4] is always accessed) so the whole loop is undefined behavior.
We fixed it once we started seeing the compiler warning, so I don't know exactly how we would have been punished for the undefined behavior in this case. So hooray for compiler warnings!