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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/36790 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp" } */
4
 
5
void
6
foo (char b)
7
{
8
}
9
 
10
void
11
bar (char b)
12
{
13
  foo (b);
14
  #pragma omp task default (shared)
15
    b = 0;
16
}
17
 
18
int
19
main ()
20
{
21
  bar (0);
22
  return 0;
23
}

powered by: WebSVN 2.1.0

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