Hi PA, Paul-Antoine Arras wrote:
Please find attached an updated patch.
* * *
When the inscan modifier is present on a for construct, a call to GOMP_loop_end (or one of its variants) is already emitted. The extra call to one of the *_worksharing_end functions, enabled by -fopenmp-ompt, is therefore redundant. Furthermore, even without -fopenmp-ompt, the inscan modifier implies a call to GOMP_loop_end which requires the start variant of GOMP_loop_static_worksharing.
LGTM. Thanks for the patch! Tobias
