libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-63.c
bloba069846e8deeff35d8cf9e276ccdf4fd7c5b2f7e
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" } */
6 #if __BITINT_MAXWIDTH__ >= 513
7 typedef _BitInt(513) B;
8 #else
9 typedef int B;
10 #endif
12 static inline __attribute__((__always_inline__)) void
13 bar (B x)
15 B y = x;
16 if (y)
17 __builtin_abort ();
20 void
21 foo (void)
23 bar (0);