This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/71844] Data mapping of an array section in the target construct
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jul 2016 17:10:23 +0000
- Subject: [Bug libgomp/71844] Data mapping of an array section in the target construct
- Auto-submitted: auto-generated
- References: <bug-71844-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71844
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Jakub, this code is taken verbatim from the openmp-examples document. Should we
report it at their github issue tracker? The example in their public git has
always been without the A[0:4] map on 'omp target' as quoted by Eugene.
GCC's testcase, on the other hand, had the map clause from day 1. This is a bit
strange; assuming GCC didn't change the example code when importing, it
suggests that the published openmp-examples text changed the example after GCC
imported an earlier version.