URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr36790.C] - Rev 315
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