https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69414
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Author: tschwinge Date: Thu Apr 7 11:43:30 2016 New Revision: 234806 URL: https://gcc.gnu.org/viewcvs?rev=234806&root=gcc&view=rev Log: [PR libgomp/69414] Fix handling of subarrays with update directive libgomp/ Backport trunk r234428: 2016-03-23 James Norris <jnor...@codesourcery.com> Daichi Fukuoka <dc-fuku...@sgi.com> PR libgomp/69414 * oacc-mem.c (delete_copyout, update_dev_host): Fix device address. * testsuite/libgomp.oacc-c-c++-common/update-1.c: Additional tests. * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise. * testsuite/libgomp.oacc-fortran/update-1.f90: New file. Added: branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-fortran/update-1.f90 Modified: branches/gcc-5-branch/libgomp/ChangeLog branches/gcc-5-branch/libgomp/oacc-mem.c branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/update-1-2.c branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/update-1.c