[Bug fortran/83064] DO CONCURRENT inconsistent results

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 24 08:46:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83064

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
There should be no duplication except for vars mentioned in the clauses on
OpenMP constructs (explicit or implicit).  So, vars declared outside of the
region and referenced inside of the region are either implicitly or explicitly
shared/privatized/mapped etc. and vars defined inside of the region are just
moved to the new outlined function.  We move there the whole BLOCK subtree that
is fully contained within the region and the vars too.


More information about the Gcc-bugs mailing list