repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
S/390: Deprecate g5 and g6 CPU levels
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr25874.C
blob
83573f10a57396f6214acc1cb002480abbd82547
1
// { dg-options "-O -fopenmp" }
2
3
int foo();
4
5
struct wigner_d
6
{
7
void recurse () {
8
int dd;
9
for (int j=0; j<=1; ++j) {
10
#pragma omp parallel
11
dd=5;
12
}
13
}
14
};
15
16
template<typename T> void rotate_alm(T arg)
17
{
18
wigner_d rec;
19
rec.recurse();
20
#pragma omp parallel
21
foo();
22
}
23
24
template void rotate_alm(float arg);
25
template void rotate_alm(double arg);