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
[PATCH] RISC-V: Bugfix for unrecognizable insn for XTheadVector
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr105092.C
blob
5f4e38aae400253e6572fbfb9f0e44f6ed7062d1
1
// PR c++/105092
2
// { dg-do compile { target analyzer } }
3
// { dg-options "-fanalyzer -fopenmp" }
4
5
struct S { S () {} };
6
7
template <typename T>
8
struct U {
9
T c[10];
10
U () {
11
#pragma omp task affinity (iterator (i = 0 : 10 : 1): c[i])
12
;
13
}
14
};
15
16
template <typename T>
17
struct V {
18
T c[10];
19
V () {
20
#pragma omp task depend (iterator (i = 0 : 10 : 1), inout: c[i])
21
;
22
}
23
};
24
25
U<S> u;
26
V<S> v;