Move pr66680.f90 to libgomp
[gcc.git] / libgomp / ChangeLog
index cde0b5c55a3a2b260ba05d8373dc12d26294f201..dbe181549c3084c11005cce0abc346eb98b45cc3 100644 (file)
@@ -1,3 +1,99 @@
+2016-01-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR fortran/66680
+       * testsuite/libgomp.fortran/pr66680.f90: New test.
+
+2016-01-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/68960
+       * testsuite/libgomp.c/pr68960.c: New test.
+
+2016-01-06  Nathan Sidwell  <nathan@acm.org>
+
+       * openacc.h (acc_on_device): Add routine pragma for C++ wrapper.
+       * testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New.
+
+2016-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+       * libgomp.texi: Bump @copying's copyright year.
+
+2015-12-31  Nathan Sidwell  <nathan@acm.org>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Correct
+       dg-additional-options syntax.
+       * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
+
+2015-12-15  Ilya Verbin  <ilya.verbin@intel.com>
+
+       * libgomp.h (REFCOUNT_LINK): Define.
+       (struct splay_tree_key_s): Add link_key.
+       * target.c (gomp_map_vars): Treat REFCOUNT_LINK objects as not mapped.
+       Replace target address of the pointer with target address of newly
+       mapped object in the splay tree.  Set link pointer on target to the
+       device address of the mapped object.
+       (gomp_unmap_vars): Restore target address of the pointer in the splay
+       tree for REFCOUNT_LINK objects after unmapping.
+       (gomp_load_image_to_device): Set refcount to REFCOUNT_LINK for "omp
+       declare target link" objects.
+       (gomp_unload_image_from_device): Replace j with i.  Force unmap of all
+       "omp declare target link" objects, which were mapped for the image.
+       (gomp_exit_data): Restore target address of the pointer in the splay
+       tree for REFCOUNT_LINK objects after unmapping.
+       * testsuite/libgomp.c/target-link-1.c: New file.
+
+2015-12-14  Ilya Verbin  <ilya.verbin@intel.com>
+
+       * libgomp.h (gomp_device_state): New enum.
+       (struct gomp_device_descr): Replace is_initialized with state.
+       (gomp_fini_device): Remove declaration.
+       * oacc-host.c (host_dispatch): Use state instead of is_initialized.
+       * oacc-init.c (acc_init_1): Use state instead of is_initialized.
+       (acc_shutdown_1): Likewise.  Inline gomp_fini_device.
+       (acc_set_device_type): Use state instead of is_initialized.
+       (acc_set_device_num): Likewise.
+       * target.c (resolve_device): Use state instead of is_initialized.
+       Do not initialize finalized device.
+       (gomp_map_vars): Do nothing if device is finalized.
+       (gomp_unmap_vars): Likewise.
+       (gomp_update): Likewise.
+       (GOMP_offload_register_ver): Use state instead of is_initialized.
+       (GOMP_offload_unregister_ver): Likewise.
+       (gomp_init_device): Likewise.
+       (gomp_unload_device): Likewise.
+       (gomp_fini_device): Remove.
+       (gomp_get_target_fn_addr): Do nothing if device is finalized.
+       (GOMP_target): Go to host fallback if device is finalized.
+       (GOMP_target_ext): Likewise.
+       (gomp_exit_data): Do nothing if device is finalized.
+       (gomp_target_task_fn): Go to host fallback if device is finalized.
+       (gomp_target_fini): New static function.
+       (gomp_target_init): Use state instead of is_initialized.
+       Call gomp_target_fini at exit.
+
+2015-12-09  Tom de Vries  <tom@codesourcery.com>
+
+       PR tree-optimization/68716
+       * testsuite/libgomp.c/omp-nested-2.c: New test.
+
 2015-12-02  Thomas Schwinge  <thomas@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/host_data-2.c: Restrict to
 2005-05-03  Richard Henderson  <rth@redhat.com>
 
        Initial implementation and checkin.
+\f
+Copyright (C) 2005-2016 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.