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

#if __BITINT_MAXWIDTH__ >= 129
# define N 129
#else
# define N 63
#endif

_BitInt(N) a;

_BitInt(N)
foo (void)
{
  __builtin_memset (&a, 6, sizeof a);
  return a;
}