projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1b-01.c: Warning fix.
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
1c-02.c
diff --git
a/gcc/testsuite/gcc.dg/vmx/1c-02.c
b/gcc/testsuite/gcc.dg/vmx/1c-02.c
index ec591ed596d4617d53fcf84989edeee8ca8640b9..be6adf647fa23f6121480f93e8ce55a076b39edf 100644
(file)
--- a/
gcc/testsuite/gcc.dg/vmx/1c-02.c
+++ b/
gcc/testsuite/gcc.dg/vmx/1c-02.c
@@
-27,8
+27,8
@@
union { char b; vector pixel a; } p16u;
static void test()
{
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)");
}
check(sizeof(u8) == 48, "sizeof(u8)");
check(sizeof(u8u) == 16, "sizeof(u8u)");
}