https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60228
--- Comment #5 from Steffen Seckler <steffen.seckler at tum dot de> --- (In reply to Steffen Seckler from comment #4) > I would also like to see this supported, as the intel compiler is already > able to support this. fyi: the clang compiler will support lambdas inside of #pragma omp declare reduction as of a913e872d6e7044ae77e55c45ab3ea5304eb7262, which will most likely be in the next release or in 9.0.1 see: https://bugs.llvm.org/show_bug.cgi?id=44133 https://bugs.llvm.org/show_bug.cgi?id=44134