aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/alias-21.c
blob: 4175588121ed8e2452e1503e299dbdb9459ef75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */


int f(int *r)
{
  r[0] = 0;
  r[1] = 1;
  return r[0];
}


/* { dg-final { scan-tree-dump-times "return 0;" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */