Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mpx / pr79770.c
blob0890fcc7bf14ec0528e89d1ba4859c6159bcd680
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -mabi=ms -Wno-psabi" } */
4 typedef unsigned U __attribute__ ((vector_size (64)));
5 typedef unsigned __int128 V __attribute__ ((vector_size (64)));
7 static inline V
8 bar (U u, U x, V v)
10 v = (V)(U) { 0, ~0 };
11 v[x[0]] <<= u[-63];
12 return v;
16 foo (U u)
18 return bar (u, (U) {}, (V) {});