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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr36790.C] - Blame information for rev 707

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

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

powered by: WebSVN 2.1.0

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