PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr62073.c
blob806e1a4ee966d4fcc77e77a88c86f2f1cb494b73
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O1" } */
4 struct S0
6 int f7;
7 };
8 struct S0 g_50;
9 int g_70;
10 int g_76;
12 int foo (long long p_56, int * p_57)
14 int *l_77;
15 int l_101;
17 for (; g_70;)
19 int **l_78 = &l_77;
20 if (g_50.f7)
21 continue;
22 *l_78 = 0;
24 for (g_76 = 1; g_76 >= 0; g_76--)
26 int *l_90;
27 for (l_101 = 4; l_101 >= 0; l_101--)
28 if (l_101)
29 *l_90 = 0;
30 else
32 int **l_113 = &l_77;
33 *l_113 = p_57;
37 return *l_77;