Debian Codegraph @

gcc/testsuite/gcc.dg/graphite/pr116068.c

raw
1 /* PR ipa/116068 */
2 /* { dg-do compile { target { lto && { bitint && int128 } } } } */
3 /* { dg-options "-Os -flto -ffat-lto-objects -floop-parallelize-all -ftree-parallelize-loops=2 --param=parloops-schedule=dynamic" } */
4
5 #if __BITINT_MAXWIDTH__ >= 1024
6 typedef _BitInt (1024) A;
7 typedef __attribute__((__vector_size__ (16))) char B;
8 typedef __attribute__((__vector_size__ (16))) int C;
9 B a;
10 A b;
11 int c;
12 unsigned int *p;
13
14 void
15 foo0 (unsigned _BitInt (512) x)
16 {
17 C d = {};
18 _BitInt (1024) e = x | *(A *) __builtin_memset (&b, c, 8);
19 unsigned h = __builtin_stdc_first_leading_zero (*p);
20 C f = *(C *) __builtin_memset (&d, h, 6);
21 B g = (B) f;
22 a = g + (B) (__int128) e;
23 }
24 #else
25 int i;
26 #endif