URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr36790.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// PR middle-end/36790
// { dg-do compile }
// { dg-options "-fopenmp -O2" }
void
foo (bool b)
{
}
void
bar (bool b)
{
foo (b);
#pragma omp task default (shared)
b = false;
}
int
main ()
{
bar (false);
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log