[Bug c++/100859] [12 Regression][OpenMP] ICE in tsubst_omp_clauses, at cp/pt.c:17520 since r12-1108-g9a5de4d5af1c10a8
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 2 07:40:37 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100859
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Summary|[12 Regression] ICE in |[12 Regression][OpenMP] ICE
|tsubst_omp_clauses, at |in tsubst_omp_clauses, at
|cp/pt.c:17520 since |cp/pt.c:17520 since
|r12-1108-g9a5de4d5af1c10a8 |r12-1108-g9a5de4d5af1c10a8
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #1)
> Started with r12-1108-g9a5de4d5af1c10a8.
... unsurprisingly – as the 'affinity' clause wasn't supported before.
Using 'depend' instead of 'affinity' fails with:
dep.cc:12:58: error: ‘S7<S1>::c’ is not a variable in ‘depend’ clause
12 | #pragma omp task depend (iterator (i = 0 : 10 : 1), out: c[i])
More information about the Gcc-bugs
mailing list