2013-09-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vmx / x-02.c
blob4ddcc0c00dd8b40a20034f4bbe4fad21d2b55af2
1 #include <altivec.h>
3 static vector bool char
4 g(vector unsigned char, vector bool char);
6 static int q(void);
8 static vector bool char
9 f(vector bool char b, vector unsigned char d)
11 vector bool char *p = &b;
12 *p = g(d,b);
13 return q() ? *p : b;
16 static vector bool char b8;
17 static vector unsigned char u8;
19 static vector bool char
20 g(vector unsigned char a, vector bool char b)
22 return b8;
25 static int q ()
27 return 1;
30 int main()
32 f(b8, u8);
33 return 0;