aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-74.c
blob: 91143320dab2945a1e3e66613bd68144dd065e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR tree-optimization/113463 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -O2" } */

extern char *a, *b;
#if __BITINT_MAXWIDTH__ >= 129
_BitInt(129) o;
#else
_BitInt(63) o;
#endif

void
foo (void)
{
  __builtin_memcpy (a + o, b, 4);
}