Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr116043.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512bf16 -O3" } */
3 /* { dg-final { scan-assembler-not {(?n)lea.*@gottpoff} } } */
4
5 extern __thread int a, c, i, j, k, l;
6 int *b;
7 struct d {
8 int e;
9 } f, g;
10 char *h;
11
12 void m(struct d *n) {
13 b = &k;
14 for (; n->e; b++, n--) {
15 i = b && a;
16 if (i)
17 j = c;
18 }
19 }
20
21 char *o(struct d *n) {
22 for (; n->e;)
23 return h;
24 }
25
26 int q() {
27 if (l)
28 return 1;
29 int p = *o(&g);
30 m(&f);
31 m(&g);
32 l = p;
33 }