view libgomp/testsuite/libgomp.graphite/pr41118.c @ 99:98e1e78a6b5a

modify implementation of selftype
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 24 Jan 2012 18:11:15 +0900
parents b7f97abdc517
children 04ced10e8804
line wrap: on
line source

void foo(int *a, int *b)
{
  int i;
  int *c = b+1;

  for (i = 0; i < 100; i++)
    a[i] = c[i];
}

int main(void)
{
  return 0;
}

/* Check that parallel code generation part make the right answer.  */
/* { dg-final { cleanup-tree-dump "graphite" } } */
/* { dg-final { scan-tree-dump-times "loopfn" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "parloops" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */