aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/pr58460.c
blob: a7e149a371c4088a626305540c83787b4d61de85 (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
/* { dg-do run } */
/* { dg-options "-O" } */
extern unsigned long x1;

char *
f (char *a, char *b)
{
  return a;
}

int
g (char *a)
{
  return 2;
}

void
h (char *p[])
{
  char n[x1][512];
  char *l = f (p[1], " ");
  if (g (p[0]))
    n[0][0] = '\0';
  while (l && *l)
    {
    }
}

unsigned long x1;

int
main ()
{
  return 0;
}