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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr35818.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/35818 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp" } */
4
 
5
extern int a[];
6
 
7
void
8
foo (void)
9
{
10
#pragma omp parallel
11
#pragma omp master
12
  a[3] = 1;
13
#pragma omp parallel shared(a)
14
#pragma omp master
15
  a[3] = 1;
16
}

powered by: WebSVN 2.1.0

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