Are stack variables aligned by the GCC __attribute__((aligned(x)))?
I believe the problem is that your array is on the stack, and that your compiler is too old to support over-aligned stack variables. GCC 4.6 and later fixed that bug. C11/C++11 alignas(64) float a[4]; Just Works for any power of 2 alignment. So does the GNU C __attribute__((aligned(x))) as you were using it. (In … Read more