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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [ordered-1.c] - Blame information for rev 708

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
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 "ompexp" } } */
19
/* { dg-final { scan-tree-dump-times "GOMP_ordered_end" 2 "ompexp" } } */
20
/* { dg-final { cleanup-tree-dump "ompexp" } } */

powered by: WebSVN 2.1.0

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