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.

Reply via email to