2012-04-18 Richard Guenther <rguenther@suse.de>
* gcc.target/x86_64/abi/test_passing_unions.c: Avoid undefined
array access.
* gcc.target/x86_64/abi/test_passing_structs.c: Likewise.
* gcc.target/i386/avx256-unaligned-load-4.c: Fix array sizes.
From-SVN: r186561
+2012-04-18 Richard Guenther <rguenther@suse.de>
+
+ * gcc.target/x86_64/abi/test_passing_unions.c: Avoid undefined
+ array access.
+ * gcc.target/x86_64/abi/test_passing_structs.c: Likewise.
+ * gcc.target/i386/avx256-unaligned-load-4.c: Fix array sizes.
+
2012-04-17 Tom de Vries <tom@codesourcery.com>
* g++.dg/pr51264-4.C: New test.
#define N 1024
-float a[N], b[N+3];
+float a[N+3], b[N];
void
avx_test (void)
for (i = 0; i < 8; i++)
{
m128s[i].x = (__m128){32+i, 0, i, 0};
- fregs.xmm0._m128[i] = m128s[i].x;
+ (&fregs.xmm0)[i]._m128[0] = m128s[i].x;
}
num_fregs = 8;
clear_float_hardware_registers;
for (i = 0; i < 8; i++)
{
u4[i].x = (__m128){32+i, 0, i, 0};
- fregs.xmm0._m128[i] = u4[i].x;
+ (&fregs.xmm0)[i]._m128[0] = u4[i].x;
}
num_fregs = 8;
clear_float_hardware_registers;