2004-07-23 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/vmx/debug-1.c: Use int, not long, in union with vector.
* gcc.dg/vmx/varargs-1.c: Use int, not long, in union with vector.
From-SVN: r85086
2004-07-23 Janis Johnson <janis187@us.ibm.com>
+ * gcc.dg/vmx/debug-1.c: Use int, not long, in union with vector.
+ * gcc.dg/vmx/varargs-1.c: Use int, not long, in union with vector.
+
* gcc.dg/vmx/ops.c: Remove checks using pointers to long.
* gcc.dg/vmx/ops-long-1.c: New test.
* gcc.dg/vmx/ops-long-2.c: New test.
signed char s8[16];
unsigned short u16[8];
signed short s16[8];
- unsigned long u32[4];
- signed long s32[4];
+ unsigned int u32[4];
+ signed int s32[4];
float f32[4];
} U;
U u;
{
union {
T v;
- unsigned long a[4];
+ unsigned int a[4];
} u;
u.v = a;
- printf("%ld, %ld, %ld, %ld\n", u.a[0], u.a[1], u.a[2], u.a[3]);
+ printf("%d, %d, %d, %d\n", u.a[0], u.a[1], u.a[2], u.a[3]);
}
void f1(int a, ...)