Debian Codegraph @

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

raw
1 /* PR middle-end/119808 */
2 /* { dg-do run { target { bitint && fstack_protector } } } */
3 /* { dg-options "-O0 -ftree-coalesce-vars -fstack-protector-strong" } */
4
5 #if __BITINT_MAXWIDTH__ >= 129
6 _BitInt(129)
7 foo ()
8 {
9 _BitInt(129) b = 0;
10 _BitInt(8) a
11 =__builtin_stdc_rotate_right (0x8c82111b5d2d37c57e9ada7213ed95a49uwb, b);
12 return b;
13 }
14 #endif
15
16 int
17 main ()
18 {
19 #if __BITINT_MAXWIDTH__ >= 129
20 _BitInt(129) x = foo ();
21 if (x)
22 __builtin_abort ();
23 #endif
24 }