OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [appendix-a/] [a.30.1.c] - Blame information for rev 424

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
 
3
void
4
a30 (int n, float *a, float *b)
5
{
6
  int i;
7
#pragma omp parallel
8
  {
9
#pragma omp for lastprivate(i)
10
    for (i = 0; i < n - 1; i++)
11
      a[i] = b[i] + b[i + 1];
12
  }
13
  a[i] = b[i];                  /* i == n-1 here */
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.