https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
--- Comment #7 from Jakub Jelinek ---
(In reply to Richard Biener from comment #5)
> Can lambdas appear inside #pragma omp in C++?
Since OpenMP 5.0 yes. Well, they could appear before as well, but OpenMP 4.5
didn't support C++11, so it wasn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
--- Comment #6 from Richard Biener ---
Ah, no, for the C++ example c[50] is local to _Z3fooPPc._omp_fn.0 and thus
likely fine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
--- Comment #5 from Richard Biener ---
Can lambdas appear inside #pragma omp in C++? The following is accepted but
each thread seems to get the global 'c', but at least we don't ICE (possibly
because frame lowering is done in the FE).
void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
Richard Biener changed:
What|Removed |Added
Target Milestone|11.2|11.3
--- Comment #4 from Richard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
Jakub Jelinek changed:
What|Removed |Added
CC||burnus at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661
Richard Biener changed:
What|Removed |Added
Keywords||openmp
Target Milestone|---