aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-96.c
blob: 237eb47a9f982534b6fdabbd2f3c8e28d091b331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR middle-end/114156 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */

#if __BITINT_MAXWIDTH__ >= 128
_BitInt(128) a, b;
#else
int a, b;
#endif

void
foo (void)
{
  int u = b;
  __builtin_memmove (&a, &b, sizeof (a));
}