Index: openmp/trunk/libomptarget/src/omptarget.cpp =================================================================== --- openmp/trunk/libomptarget/src/omptarget.cpp +++ openmp/trunk/libomptarget/src/omptarget.cpp @@ -543,7 +543,7 @@ } static const unsigned LambdaMapping = OMP_TGT_MAPTYPE_PTR_AND_OBJ | - OMP_TGT_MAPTYPE_PRIVATE | + OMP_TGT_MAPTYPE_LITERAL | OMP_TGT_MAPTYPE_IMPLICIT; static bool isLambdaMapping(int64_t Mapping) { return (Mapping & LambdaMapping) == LambdaMapping;