Looks good to me from an OpenMP perspective. Was able to build with the patch and run some tests. However, I'm not a clang expert and someone with knowledge of clang internals should also take a look at this patch. Regds, Ajay Jayaraj Texas Instruments http://reviews.llvm.org/D4752