Debian Codegraph @

gcc/testsuite/gcc.dg/compat/union-m128-1_y.c

raw
1 /* { dg-options "-O -msse2" } */
2
3 #include <stdlib.h>
4
5 #include "union-m128-1.h"
6
7 void
8 bar (SS_union_mi128 un)
9 {
10 union_mi128 x;
11
12 x.x = un.x;
13 if (x.u [0] != 0x123456789abcedf0LL
14 || x.u [1] != 0xfedcba9876543210LL)
15 abort ();
16 }
17
18 void
19 foo (SS_struct_mi128 st)
20 {
21 union_mi128 x;
22
23 x.x = st.x;
24 if (x.u [0] != 0x123456789abcedf0LL
25 || x.u [1] != 0xfedcba9876543210LL)
26 abort ();
27 }