Debian Codegraph @

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

raw
1 /* PR middle-end/117571 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-O2" } */
4
5 #if __BITINT_MAXWIDTH__ >= 255
6 _BitInt(255) b;
7
8 _BitInt(255)
9 foo ()
10 {
11 return (b << 10) / 2;
12 }
13 #endif
14
15 #if __BITINT_MAXWIDTH__ >= 8192
16 _BitInt(8192) c;
17
18 _BitInt(8192)
19 bar ()
20 {
21 return (c << 1039) / 0x20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000wb;
22 }
23 #endif