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/] [barrier-1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-gimple" } */
3
 
4
void f1(void)
5
{
6
  #pragma omp barrier
7
}
8
 
9
void f2(bool p)
10
{
11
  if (p)
12
    {
13
      #pragma omp barrier
14
    }
15
}
16
 
17
/* { dg-final { scan-tree-dump-times "GOMP_barrier" 2 "gimple" } } */
18
/* { dg-final { cleanup-tree-dump "gimple" } } */

powered by: WebSVN 2.1.0

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