Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / vmx / gcc-bug-e.c
blob58e4fc3d318ee1c700d9c546b70df4f7aa9506b1
1 #include "harness.h"
3 typedef struct n_a
5 signed char m1;
6 short m2;
7 int m3;
8 double m4;
9 vector float m5;
11 n_a;
13 static void
14 initn_a(signed char p1, short p2, int p3, double p4, vector float p5)
16 n_a i;
17 static struct
19 n_a b;
20 char a;
24 i.m1 = p1;
25 i.m2 = p2;
26 i.m3 = p3;
27 i.m4 = p4;
28 i.m5 = p5;
30 check(i.m1 == -17, "i.m1");
31 check(i.m2 == 9165, "i.m2");
32 check(i.m3 == -1857760764, "i.m3");
33 check(i.m4 == 7.3e+18, "i.m4");
34 check(vec_all_eq(i.m5, ((vector float){-5.02e+08,
35 -4.34e+08,
36 -1.04e+09,
37 1.42e+09})), "i.m5");
40 static void test()
42 initn_a(-17, 9165, -1857760764, 7.3e+18,
43 ((vector float){-5.02e+08, -4.34e+08, -1.04e+09, 1.42e+09}));