1b-01.c: Warning fix.
* gcc.dg/vmx/1b-01.c: Warning fix. * gcc.dg/vmx/1c-02.c: Likewise. * gcc.dg/vmx/gcc-bug-4.c: Likewise. From-SVN: r110044
This commit is contained in:
parent
971dfb9b99
commit
72e9337dd6
@ -1,3 +1,9 @@
|
||||
2006-01-21 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gcc.dg/vmx/1b-01.c: Warning fix.
|
||||
* gcc.dg/vmx/1c-02.c: Likewise.
|
||||
* gcc.dg/vmx/gcc-bug-4.c: Likewise.
|
||||
|
||||
2006-01-20 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR testsuite/24962
|
||||
|
@ -5,7 +5,7 @@ vector unsigned char a;
|
||||
static void test()
|
||||
{
|
||||
check(sizeof(a) == 16, "sizeof(a)");
|
||||
check(((int)&a & 15) == 0, "alignof(a)");
|
||||
check((int)&a != 0, "&a");
|
||||
check(((long)&a & 15) == 0, "alignof(a)");
|
||||
check((long)&a != 0, "&a");
|
||||
check(vec_all_eq(a,((vector unsigned char){0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0})), "value(a)");
|
||||
}
|
||||
|
@ -27,8 +27,8 @@ union { char b; vector pixel a; } p16u;
|
||||
|
||||
static void test()
|
||||
{
|
||||
check((int)&u8.a - (int)&u8 == 16, "u8.a");
|
||||
check((int)&u8.e - (int)&u8 == 32, "u8.e");
|
||||
check((long)&u8.a - (long)&u8 == 16, "u8.a");
|
||||
check((long)&u8.e - (long)&u8 == 32, "u8.e");
|
||||
check(sizeof(u8) == 48, "sizeof(u8)");
|
||||
check(sizeof(u8u) == 16, "sizeof(u8u)");
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
#include <altivec.h>
|
||||
extern vector unsigned int gn00111;
|
||||
int f() { return (int)&gn00111; }
|
||||
long f() { return (long)&gn00111; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user