Re: [PATCH] openmp: Do not emit OMPT loop-end call with inscan

Tobias Burnus <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.