Index: openmp/trunk/libomptarget/src/omptarget.cpp =================================================================== --- openmp/trunk/libomptarget/src/omptarget.cpp +++ openmp/trunk/libomptarget/src/omptarget.cpp @@ -423,8 +423,10 @@ // An STL map is sorted on its keys; use this property // to quickly determine when to break out of the loop. - if ((uintptr_t) ShadowHstPtrAddr < lb) + if ((uintptr_t) ShadowHstPtrAddr < lb) { + ++it; continue; + } if ((uintptr_t) ShadowHstPtrAddr >= ub) break;