This patch adds private/firstprivate support for sections construct. For a source like the following:
!$omp sections private(x) firstprivate(y) !$omp section <block of code> !$omp section <block of code> !$omp end sections
...privatization proceeds to privatize x and y accordingly inside each of the generated omp.section operations.
@peixin I looked into this. Currently sections does not have lastprivate support. Fixing this data race problem shall come once that support is present. Can I take up adding support for lastprivate on sections?
In any case, I guess it would be better to do that in a separate patch.