Semantic check for OpenMP 4.5 - 2.7.1 Schedule clause .
Checks for the value of chunk size of the schedule clauses are the same for all threads
Files:
check-omp-structure.h
check-omp-structure.cpp
Test cases:
omp-schedule-teams.f90
Hopefully this is the right test case. I request the reviewers to provide some more inputs about the test cases.
I was thinking it is OK to have different chunk_sizes for different worksharing loops. Also, Generally there are implicit barriers after worksharing loops.
Did you check with a different fortran compiler or a c/c++ compiler?