libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-69.c
blobc225cbdd6f12111c4ef25bcb307b1a91ea9a3f0d
1 /* PR tree-optimization/113330 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-require-stack-check "generic" } */
4 /* { dg-options "-std=c23 -O --param=large-stack-frame=131072 -fstack-check=generic --param=sccvn-max-alias-queries-per-access=0" } */
6 _BitInt(8) a;
8 static inline __attribute__((__always_inline__)) void
9 bar (int, int, int, int, int, int, int, int)
11 #if __BITINT_MAXWIDTH__ >= 65535
12 _BitInt(65535) b = 0;
13 _BitInt(383) c = 0;
14 #else
15 _BitInt(63) b = 0;
16 _BitInt(39) c = 0;
17 #endif
18 a = b;
21 void
22 foo (void)
24 bar (0, 0, 0, 0, 0, 0, 0, 0);