gcc/testsuite/gcc.dg/bitint-96.c
raw| 1 | /* PR middle-end/114156 */ |
| 2 | /* { dg-do compile { target bitint } } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | /* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */ |
| 5 | |
| 6 | #if __BITINT_MAXWIDTH__ >= 128 |
| 7 | _BitInt(128) a, b; |
| 8 | #else |
| 9 | int a, b; |
| 10 | #endif |
| 11 | |
| 12 | void |
| 13 | foo (void) |
| 14 | { |
| 15 | int u = b; |
| 16 | __builtin_memmove (&a, &b, sizeof (a)); |
| 17 | } |