Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr20020-2.c
blobfa5b6edaf81d675d33b63ec523ec81be83964155
1 /* Check that 128-bit struct's are represented as TImode values. */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-skip-if "different ABI" { x86_64-*-mingw* } } */
4 /* { dg-options "-O2 -fdump-rtl-expand" } */
6 struct shared_ptr_struct
8 unsigned long long phase:48;
9 unsigned short thread:16;
10 union
12 void *addr;
13 unsigned long long pad;
16 typedef struct shared_ptr_struct sptr_t;
18 void
19 copy_sptr (sptr_t *dest, sptr_t src)
21 *dest = src;
24 /* { dg-final { scan-rtl-dump "\\\(set \\\(reg:TI \[0-9\]*" "expand" } } */
25 /* { dg-final { cleanup-rtl-dump "expand" } } */