OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [barrier-1.c] - Blame information for rev 404

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

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