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

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-omplower" } */
3
 
4
extern void bar(int);
5
 
6
void foo (void)
7
{
8
  #pragma omp ordered
9
    bar(0);
10
 
11
  #pragma omp ordered
12
  {
13
    bar(1);
14
    bar(2);
15
  }
16
}
17
 
18
/* { dg-final { scan-tree-dump-times "GOMP_ordered_start" 2 "omplower" } } */
19
/* { dg-final { scan-tree-dump-times "GOMP_ordered_end" 2 "omplower" } } */
20
/* { dg-final { cleanup-tree-dump "omplower" } } */

powered by: WebSVN 2.1.0

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