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/] [g++.dg/] [gomp/] [barrier-1.C] - Blame information for rev 308

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

Line No. Rev Author Line
1 301 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.