Debian Codegraph @

gcc/testsuite/gcc.dg/bitint-63.c

raw
1 /* PR tree-optimization/113297 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-require-stack-check "generic" } */
4 /* { dg-options "-std=c23 -O -fno-tree-fre --param=large-stack-frame=1024 -fstack-check=generic" } */
5
6 #if __BITINT_MAXWIDTH__ >= 513
7 typedef _BitInt(513) B;
8 #else
9 typedef int B;
10 #endif
11
12 static inline __attribute__((__always_inline__)) void
13 bar (B x)
14 {
15 B y = x;
16 if (y)
17 __builtin_abort ();
18 }
19
20 void
21 foo (void)
22 {
23 bar (0);
24 }