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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [method-1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR c++/24513 */
2
/* { dg-do compile } */
3
 
4
struct S
5
{
6
  void foo (int *p)
7
  {
8
#pragma omp parallel for
9
    for (int i = 0; i < 1000; ++i)
10
      p[i]=0;
11
  }
12
  void bar ()
13
  {
14
#pragma omp master
15
    j = 2;
16
  }
17
  int j;
18
};

powered by: WebSVN 2.1.0

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