blob: dbbcb9aaf5753c500d56aa2e12c2c34cf8d5d6d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* PR 116479 */
/* { dg-do run { target { bitint } } } */
/* { dg-additional-options "-O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924687 -std=c23" } */
#if __BITINT_MAXWIDTH__ >= 13577
_BitInt (13577) b;
void
foo (char *ret)
{
__builtin_memset (&b, 4, 697);
*ret = 0;
}
#endif
int
main ()
{
#if __BITINT_MAXWIDTH__ >= 13577
char x;
foo (&x);
for (unsigned i = 0; i < sizeof (x); i++)
if (x != 0)
__builtin_abort ();
#endif
}
|