Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr69053.C

raw
1 // { dg-do compile }
2 // { dg-additional-options "-march=core-avx2" { target x86_64-*-* i?86-*-* } }
3 struct A {
4 int *elem[1];
5 };
6 int a, d, e;
7 A *b;
8 int *c;
9 int main()
10 {
11 int *f = 0;
12 for (; e; e++)
13 if (b->elem[e])
14 f = c;
15 if (f)
16 a = d;
17 }