Setting dynamic schedule with chunk size 0 via omp_set_schedule(dynamic,0) and then using "schedule (runtime)" causes infinite loop because for the chunked dynamic schedule we didn't correct zero chunk to the default (1). git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@252338 91177308-0d34-0410-b5e6-96231b3b80d8