aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr62073.c
blob: 15f2ad66b0c921f8af60a842760b223d9e3574f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* { dg-do compile } */
/* { dg-additional-options "-O1" } */

struct S0
{
  int f7;
};
struct S0 g_50;
int g_70;
int g_76;

int foo (long long p_56, int * p_57)
{
  int *l_77;
  int l_101;

  for (; g_70;)
    {
      int **l_78 = &l_77;
      if (g_50.f7)
	continue;
      *l_78 = 0;
    }
  for (g_76 = 1; g_76 >= 0; g_76--)
    {
      int *l_90;
      for (l_101 = 4; l_101 >= 0; l_101--)
	if (l_101)
	  *l_90 = 0;
	else
	  {
	    int **l_113 = &l_77;
	    *l_113 = p_57;
	  }
    }

  return *l_77;
}

/* { dg-final { cleanup-tree-dump "vect" } } */