summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/restrict-6.c
blob: 7c5ed0119cb37c17eb28e84d388594011ae18ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1" } */

void
test (int *a, int *b, int * __restrict__ v)
{
  *a = *v;
  *b = *v;
}

/* { dg-final { scan-tree-dump-times "= \\*v" 1 "fre1" } } */