Home | History | Annotate | Line # | Download | only in libgomp
ChangeLog revision 1.1.1.19
      1 2022-06-28  Release Manager
      2 
      3 	* GCC 10.4.0 released.
      4 
      5 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
      6 
      7 	Backported from master:
      8 	2022-02-08  Jakub Jelinek  <jakub (a] redhat.com>
      9 
     10 	PR libgomp/104385
     11 	* task.c (gomp_task_run_post_handle_dependers): If parent is NULL,
     12 	clear task->parent.
     13 	* testsuite/libgomp.c/pr104385.c: New test.
     14 
     15 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     16 
     17 	Backported from master:
     18 	2021-11-24  Jakub Jelinek  <jakub (a] redhat.com>
     19 
     20 	PR middle-end/103384
     21 	* testsuite/libgomp.c/declare-variant-2.c: New test.
     22 
     23 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     24 
     25 	Backported from master:
     26 	2021-10-15  Jakub Jelinek  <jakub (a] redhat.com>
     27 
     28 	* config/linux/affinity.c (gomp_affinity_init_level_1): For level 1
     29 	after creating count places clean up and return immediately.
     30 	* testsuite/libgomp.c/places-6.c: New test.
     31 	* testsuite/libgomp.c/places-7.c: New test.
     32 	* testsuite/libgomp.c/places-8.c: New test.
     33 
     34 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     35 
     36 	Backported from master:
     37 	2021-07-01  Jakub Jelinek  <jakub (a] redhat.com>
     38 
     39 	PR middle-end/94366
     40 	* testsuite/libgomp.c-c++-common/pr94366.c: New test.
     41 
     42 2022-05-10  Tobias Burnus  <tobias (a] codesourcery.com>
     43 
     44 	Backported from master:
     45 	2021-05-04  Tobias Burnus  <tobias (a] codesourcery.com>
     46 
     47 	* testsuite/libgomp.c-c++-common/reduction-1.c: New test.
     48 	* testsuite/libgomp.c-c++-common/reduction-2.c: New test.
     49 	* testsuite/libgomp.c-c++-common/reduction-3.c: New test.
     50 	* testsuite/libgomp.c-c++-common/reduction-4.c: New file.
     51 
     52 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     53 
     54 	Backported from master:
     55 	2021-07-13  Jakub Jelinek  <jakub (a] redhat.com>
     56 		    Florian Weimer  <fweimer (a] redhat.com>
     57 
     58 	* config/linux/sem.h: Don't include limits.h.
     59 	(SEM_WAIT): Define to -__INT_MAX__ - 1 instead of INT_MIN.
     60 	* config/linux/affinity.c: Include limits.h.
     61 
     62 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     63 
     64 	Backported from master:
     65 	2021-06-23  Jakub Jelinek  <jakub (a] redhat.com>
     66 
     67 	PR middle-end/101167
     68 	* testsuite/libgomp.c-c++-common/task-reduction-15.c: New test.
     69 
     70 2022-05-10  Jakub Jelinek  <jakub (a] redhat.com>
     71 
     72 	Backported from master:
     73 	2021-05-11  Jakub Jelinek  <jakub (a] redhat.com>
     74 
     75 	PR middle-end/100471
     76 	* taskloop.c (GOMP_taskloop): If GOMP_TASK_FLAG_REDUCTION and not
     77 	GOMP_TASK_FLAG_NOGROUP, when doing early return clear the task
     78 	reduction pointer.
     79 	* testsuite/libgomp.c/task-reduction-4.c: New test.
     80 
     81 2021-05-06  Roman Zhuykov  <zhroma (a] ispras.ru>
     82 
     83 	Backported from master:
     84 	2021-04-30  Roman Zhuykov  <zhroma (a] ispras.ru>
     85 
     86 	* testsuite/libgomp.oacc-c-c++-common/atomic_capture-3.c: New test.
     87 
     88 2021-04-18  Hafiz Abid Qadeer  <abidh (a] codesourcery.com>
     89 
     90 	Backported from master:
     91 	2021-04-11  Hafiz Abid Qadeer  <abidh (a] codesourcery.com>
     92 
     93 	PR middle-end/98088
     94 	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Add check
     95 	for loop with GT/GE condition.
     96 	* testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Likewise.
     97 
     98 2021-04-09  Thomas Schwinge  <thomas (a] codesourcery.com>
     99 
    100 	Backported from master:
    101 	2021-04-09  Thomas Schwinge  <thomas (a] codesourcery.com>
    102 
    103 	PR middle-end/84991
    104 	PR middle-end/84992
    105 	PR middle-end/90779
    106 	* testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: New.
    107 
    108 2021-04-08  Release Manager
    109 
    110 	* GCC 10.3.0 released.
    111 
    112 2021-03-25  Thomas Schwinge  <thomas (a] codesourcery.com>
    113 
    114 	Backported from master:
    115 	2021-03-25  Thomas Schwinge  <thomas (a] codesourcery.com>
    116 
    117 	* plugin/plugin-hsa.c (init_enviroment_variables): Don't prepend
    118 	the 'HSA_RUNTIME_LIB' path to 'libhsa-runtime64.so'.
    119 	* plugin/plugin-gcn.c (init_environment_variables): Likewise.
    120 	* plugin/configfrag.ac (HSA_RUNTIME_LIB): Clean up.
    121 	* config.h.in: Regenerate.
    122 	* configure: Likewise.
    123 
    124 2021-02-22  Tobias Burnus  <tobias (a] codesourcery.com>
    125 
    126 	Backported from master:
    127 	2021-02-22  Tobias Burnus  <tobias (a] codesourcery.com>
    128 
    129 	PR fortran/99171
    130 	* testsuite/libgomp.fortran/dummy-procs-1.f90: New test.
    131 
    132 2021-01-14  Thomas Schwinge  <thomas (a] codesourcery.com>
    133 
    134 	Backported from master:
    135 	2021-01-14  Thomas Schwinge  <thomas (a] codesourcery.com>
    136 
    137 	PR libgomp/65099
    138 	* plugin/configfrag.ac (PLUGIN_NVPTX): Restrict to supported
    139 	configurations.
    140 	* configure: Regenerate.
    141 	* plugin/plugin-nvptx.c (nvptx_get_num_devices): Remove 64-bit
    142 	check.
    143 
    144 2021-01-06  Jakub Jelinek  <jakub (a] redhat.com>
    145 
    146 	Backported from master:
    147 	2020-12-18  Jakub Jelinek  <jakub (a] redhat.com>
    148 
    149 	* testsuite/libgomp.c/task-6.c: New test.
    150 
    151 2021-01-03  Iain Sandoe  <iain (a] sandoe.co.uk>
    152 	    Jakub Jelinek   <jakub (a] redhat.com>
    153 
    154 	PR target/97865
    155 	* configure: Regenerate.
    156 	* Makefile.in: Update copyright years.
    157 
    158 2020-11-25  Thomas Schwinge  <thomas (a] codesourcery.com>
    159 
    160 	Backported from master:
    161 	2020-11-25  Thomas Schwinge  <thomas (a] codesourcery.com>
    162 
    163 	* testsuite/libgomp.oacc-c++/cache-1.C: New.
    164 	* testsuite/libgomp.oacc-c-c++-common/cache-1.c: Update.
    165 
    166 2020-11-02  Thomas Schwinge  <thomas (a] codesourcery.com>
    167 
    168 	Backported from master:
    169 	2020-11-02  Thomas Schwinge  <thomas (a] codesourcery.com>
    170 
    171 	PR target/85486
    172 	* testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: Simplify and enhance.
    173 	* testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: Likewise.
    174 	* testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise.
    175 
    176 2020-11-02  Thomas Schwinge  <thomas (a] codesourcery.com>
    177 
    178 	Backported from master:
    179 	2020-11-02  Thomas Schwinge  <thomas (a] codesourcery.com>
    180 
    181 	PR testsuite/80219
    182 	PR testsuite/85303
    183 	* testsuite/lib/libgomp.exp (libgomp_init): Set
    184 	'gcc_warning_prefix', 'gcc_error_prefix'.
    185 
    186 2020-08-25  Jakub Jelinek  <jakub (a] redhat.com>
    187 
    188 	Backported from master:
    189 	2020-08-08  Jakub Jelinek  <jakub (a] redhat.com>
    190 		    Tobias Burnus  <tobias (a] codesourcery.com>
    191 
    192 	PR fortran/93553
    193 	* testsuite/libgomp.fortran/pr93553.f90: New test.
    194 
    195 2020-08-25  Jakub Jelinek  <jakub (a] redhat.com>
    196 
    197 	Backported from master:
    198 	2020-08-05  Jakub Jelinek  <jakub (a] redhat.com>
    199 
    200 	PR middle-end/96459
    201 	* testsuite/libgomp.c/teams-3.c: New test.
    202 	* testsuite/libgomp.c-c++-common/for-2.h (OMPTEAMS): Define to nothing
    203 	if not defined yet.
    204 	(N(test)): Use it before all N(f*) calls.
    205 	* testsuite/libgomp.c-c++-common/for-14.c (DO_PRAGMA, OMPTEAMS): Define.
    206 	(main): Don't call all test_* functions from within
    207 	#pragma omp teams reduction(|:err), call them directly.
    208 
    209 2020-08-20  Chung-Lin Tang  <cltang (a] codesourcery.com>
    210 
    211 	Backported from master:
    212 	2020-08-20  Chung-Lin Tang  <cltang (a] codesourcery.com>
    213 
    214 	* plugin/plugin-nvptx.c (nvptx_free):
    215 	Change "GOMP_PLUGIN_acc_thread () == NULL" test into check of
    216 	CUDA_ERROR_NOT_PERMITTED status for cuMemGetAddressRange. Adjust
    217 	comments.
    218 
    219 2020-07-29  Julian Brown  <julian (a] codesourcery.com>
    220 
    221 	Backported from master:
    222 	2020-07-27  Julian Brown  <julian (a] codesourcery.com>
    223 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    224 
    225 	* libgomp.h (struct target_var_desc): Rename do_detach field to
    226 	is_attach.
    227 	* oacc-mem.c (goacc_exit_datum_1): Add assert.  Don't set finalize for
    228 	GOMP_MAP_FORCE_DETACH. Update checking to use is_attach field.
    229 	(goacc_enter_data_internal): Don't affect reference counts
    230 	for attach mappings.
    231 	(goacc_exit_data_internal): Don't affect reference counts for detach
    232 	mappings.
    233 	* target.c (gomp_map_vars_existing): Don't affect reference counts for
    234 	attach mappings.
    235 	(gomp_map_vars_internal): Set renamed is_attach flag unconditionally to
    236 	mark attach mappings.
    237 	(gomp_unmap_vars_internal): Use is_attach flag to prevent affecting
    238 	reference count for attach mappings.
    239 	* testsuite/libgomp.oacc-c-c++-common/mdc-refcount-1.c: New test.
    240 	* testsuite/libgomp.oacc-c-c++-common/mdc-refcount-2.c: New test.
    241 	* testsuite/libgomp.oacc-c-c++-common/mdc-refcount-2.c: New test.
    242 	* testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: Mark
    243 	test as shouldfail.
    244 	* testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Adjust to fail
    245 	gracefully in no-finalize mode.
    246 	* testsuite/libgomp.oacc-c-c++-common/mdc-refcount-3.c: New file.
    247 
    248 2020-07-29  Julian Brown  <julian (a] codesourcery.com>
    249 
    250 	Backported from master:
    251 	2020-07-23  Julian Brown  <julian (a] codesourcery.com>
    252 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    253 
    254 	* target.c (gomp_unmap_vars_internal): Remove unnecessary forcing of
    255 	finalization for detach operation.
    256 	* testsuite/libgomp.oacc-c-c++-common/structured-detach-underflow.c:
    257 	New test.
    258 
    259 2020-07-23  Release Manager
    260 
    261 	* GCC 10.2.0 released.
    262 
    263 2020-07-14  Kwok Cheung Yeung  <kcy (a] codesourcery.com>
    264 
    265 	Backported from master:
    266 	2020-07-14  Tom de Vries  <tom (a] codesourcery.com>
    267 		    Cesar Philippidis  <cesar (a] codesourcery.com>
    268 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    269 		    Kwok Cheung Yeung  <kcy (a] codesourcery.com>
    270 
    271 	* oacc-init.c (acc_init_state_lock, acc_init_state, acc_init_thread):
    272 	New variable.
    273 	(acc_init_1): Set acc_init_thread to pthread_self ().  Set
    274 	acc_init_state to initializing at the start, and to initialized at the
    275 	end.
    276 	(self_initializing_p): New function.
    277 	(acc_get_device_type): Return acc_device_none if called by thread that
    278 	is currently executing acc_init_1.
    279 	* libgomp.texi (acc_get_device_type): Update documentation.
    280 	(Implementation Status and Implementation-Defined Behavior): Likewise.
    281 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-2.c: New.
    282 
    283 2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    284 
    285 	Backported from master:
    286 	2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    287 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    288 
    289 	* testsuite/libgomp.oacc-fortran/dynamic-pointer-1.f90: New test.
    290 
    291 2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    292 
    293 	Backported from master:
    294 	2020-07-10  Julian Brown  <julian (a] codesourcery.com>
    295 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    296 
    297 	* libgomp.h (struct splay_tree_key_s): Change virtual_refcount to
    298 	dynamic_refcount.
    299 	(struct gomp_device_descr): Remove GOMP_MAP_VARS_OPENACC_ENTER_DATA.
    300 	* oacc-mem.c (acc_map_data): Substitute virtual_refcount for
    301 	dynamic_refcount.
    302 	(acc_unmap_data): Update comment.
    303 	(goacc_map_var_existing, goacc_enter_datum): Adjust for
    304 	dynamic_refcount semantics.
    305 	(goacc_exit_datum_1, goacc_exit_datum): Re-add some error checking.
    306 	Adjust for dynamic_refcount semantics.
    307 	(goacc_enter_data_internal): Implement "present" case of dynamic
    308 	memory-map handling here.  Update "non-present" case for
    309 	dynamic_refcount semantics.
    310 	(goacc_exit_data_internal): Use goacc_exit_datum_1.
    311 	* target.c (gomp_map_vars_internal): Remove
    312 	GOMP_MAP_VARS_OPENACC_ENTER_DATA handling.  Update for dynamic_refcount
    313 	handling.
    314 	(gomp_unmap_vars_internal): Remove virtual_refcount handling.
    315 	(gomp_load_image_to_device): Substitute dynamic_refcount for
    316 	virtual_refcount.
    317 	* testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Remove XFAILs.
    318 	* testsuite/libgomp.oacc-c-c++-common/refcounting-1.c: New test.
    319 	* testsuite/libgomp.oacc-c-c++-common/refcounting-2.c: New test.
    320 	* testsuite/libgomp.oacc-c-c++-common/struct-3-1-1.c: New test.
    321 	* testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Remove XFAILs and
    322 	trace output.
    323 	* testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: Remove
    324 	trace output.
    325 	* testsuite/libgomp.oacc-fortran/dynamic-incr-structural-1.f90: New
    326 	test.
    327 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4.c:
    328 	Remove stale comment.
    329 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Remove XFAILs.
    330 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-2.F90: Likewise.
    331 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise.
    332 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise.
    333 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise.
    334 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Adjust XFAIL.
    335 
    336 2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    337 
    338 	Backported from master:
    339 	2020-07-10  Julian Brown  <julian (a] codesourcery.com>
    340 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    341 
    342 	* oacc-mem.c (goacc_map_var_existing): New function.
    343 	(goacc_enter_datum): Use above function.
    344 	(goacc_exit_datum_1): New function.
    345 	(goacc_exit_datum): Use above function.
    346 
    347 2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    348 
    349 	Backported from master:
    350 	2020-07-09  Julian Brown  <julian (a] codesourcery.com>
    351 		    Thomas Schwinge  <thomas (a] codesourcery.com>
    352 
    353 	PR middle-end/95270
    354 	* testsuite/libgomp.oacc-c-c++-common/pr95270-1.c: New test.
    355 	* testsuite/libgomp.oacc-c-c++-common/pr95270-2.c: New test.
    356 
    357 2020-07-13  Julian Brown  <julian (a] codesourcery.com>
    358 
    359 	Backported from master:
    360 	2020-07-09  Julian Brown  <julian (a] codesourcery.com>
    361 
    362 	* oacc-mem.c (find_group_last): Group data-movement clauses
    363 	(GOMP_MAP_TO_PSET, GOMP_MAP_TO, etc.) together with a subsequent
    364 	GOMP_MAP_ATTACH.  Allow standalone GOMP_MAP_ATTACH also.
    365 
    366 2020-07-03  Thomas Schwinge  <thomas (a] codesourcery.com>
    367 
    368 	Backported from master:
    369 	2020-07-03  Thomas Schwinge  <thomas (a] codesourcery.com>
    370 
    371 	* oacc-mem.c (goacc_exit_data_internal): Revert always-copyfrom
    372 	behavior for 'GOMP_MAP_FORCE_FROM'.
    373 	* testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Adjust XFAIL.
    374 
    375 2020-07-03  Thomas Schwinge  <thomas (a] codesourcery.com>
    376 
    377 	Backported from master:
    378 	2020-07-03  Thomas Schwinge  <thomas (a] codesourcery.com>
    379 
    380 	* oacc-mem.c (goacc_exit_data_internal): Remove
    381 	'GOMP_MAP_ALWAYS_FROM' handling.
    382 
    383 2020-06-30  Thomas Schwinge  <thomas (a] codesourcery.com>
    384 
    385 	Backported from master:
    386 	2020-06-30  Thomas Schwinge  <thomas (a] codesourcery.com>
    387 
    388 	* target.c (gomp_map_vars_existing): Assert 'kind !=
    389 	GOMP_MAP_ATTACH'.
    390 	(gomp_map_vars_internal): Clean up.
    391 
    392 2020-06-17  Thomas Schwinge  <thomas (a] codesourcery.com>
    393 
    394 	Backported from master:
    395 	2020-06-17  Thomas Schwinge  <thomas (a] codesourcery.com>
    396 
    397 	PR lto/94848
    398 	* testsuite/libgomp.fortran/use_device_ptr-optional-3.f90: Add
    399 	'dg-do run'.
    400 
    401 2020-06-15  Tobias Burnus  <tobias (a] codesourcery.com>
    402 
    403 	PR lto/94848
    404 	PR middle-end/95551
    405 	* testsuite/libgomp.fortran/target-var.f90: New test.
    406 
    407 2020-06-05  Thomas Schwinge  <thomas (a] codesourcery.com>
    408 	    Julian Brown  <julian (a] codesourcery.com>
    409 
    410 	* oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: Explain
    411 	special handling.
    412 
    413 2020-06-05  Thomas Schwinge  <thomas (a] codesourcery.com>
    414 	    Julian Brown  <julian (a] codesourcery.com>
    415 
    416 	* oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>:
    417 	Simplify.
    418 
    419 2020-06-05  Julian Brown  <julian (a] codesourcery.com>
    420 
    421 	* testsuite/libgomp.oacc-c-c++-common/struct-copyout-1.c: New test.
    422 	* testsuite/libgomp.oacc-c-c++-common/struct-copyout-2.c: New test.
    423 
    424 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    425 
    426 	* oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>:
    427 	Evaluate 'copyfrom' individually for each entry.
    428 	* testsuite/libgomp.oacc-c-c++-common/struct-1.c: Update.
    429 
    430 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    431 
    432 	* oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>:
    433 	Evaluate 'finalize' individually for each entry.
    434 	* testsuite/libgomp.oacc-c-c++-common/struct-1.c: New file.
    435 	* testsuite/libgomp.oacc-c-c++-common/struct-refcount-1.c: Remove
    436 	file.
    437 
    438 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    439 
    440 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-7.c: Fix 'sizeof'
    441 	usage.
    442 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-8.c: Likewise.
    443 
    444 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    445 	    Julian Brown  <julian (a] codesourcery.com>
    446 
    447 	* oacc-mem.c (goacc_exit_datum): Repair 'is_tgt_unmapped'
    448 	checking.
    449 	(acc_unmap_data, goacc_exit_data_internal): Restore
    450 	'is_tgt_unmapped' checking.
    451 	* testsuite/libgomp.oacc-c-c++-common/struct-refcount-1.c: New
    452 	file.
    453 	* testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Adjust.
    454 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Likewise.
    455 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise.
    456 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise.
    457 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise.
    458 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Likewise.
    459 
    460 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    461 	    Julian Brown  <julian (a] codesourcery.com>
    462 
    463 	* oacc-mem.c (acc_unmap_data): Don't open-code 'gomp_remove_var'.
    464 
    465 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    466 
    467 	PR libgomp/92854
    468 	* oacc-mem.c (acc_unmap_data): Remove 'tgt' reference counting.
    469 
    470 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    471 
    472 	PR libgomp/92854
    473 	* testsuite/libgomp.oacc-c-c++-common/pr92854-1.c: Extend some
    474 	more.
    475 
    476 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    477 	    Julian Brown  <julian (a] codesourcery.com>
    478 
    479 	* oacc-mem.c (goacc_enter_datum): Use 'tgt' returned from
    480 	'gomp_map_vars'.
    481 	 (acc_map_data): Clean up accordingly.
    482 
    483 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    484 
    485 	* testsuite/libgomp.oacc-fortran/deep-copy-6.f90: XFAIL behavior
    486 	of over-eager 'finalize' clause.
    487 	* testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: New
    488 	file.
    489 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Likewise.
    490 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-2.F90: Likewise.
    491 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise.
    492 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise.
    493 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise.
    494 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-2.f90: Likewise.
    495 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Likewise.
    496 	* testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-2.f90: Likewise.
    497 
    498 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    499 
    500 	* oacc-mem.c (goacc_exit_data_internal): Unlock on error path.
    501 
    502 2020-06-04  Julian Brown  <julian (a] codesourcery.com>
    503 
    504 	* oacc-mem.c (acc_attach_async): Add missing gomp_mutex_unlock on
    505 	error path.
    506 	(goacc_detach_internal): Likewise.
    507 
    508 2020-06-04  Thomas Schwinge  <thomas (a] codesourcery.com>
    509 
    510 	* testsuite/libgomp.oacc-fortran/error_stop-1.f: Initialize before
    511 	the checkpoint.
    512 	* testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise.
    513 	* testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise.
    514 	* testsuite/libgomp.oacc-fortran/stop-1.f: Likewise.
    515 	* testsuite/libgomp.oacc-fortran/stop-2.f: Likewise.
    516 	* testsuite/libgomp.oacc-fortran/stop-3.f: Likewise.
    517 
    518 2020-05-26  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
    519 
    520 	PR libfortran/95191
    521 	* testsuite/libgomp.fortran/async_io_9.f90: New test.
    522 
    523 2020-05-22  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
    524 
    525 	PR libfortran/95119
    526 	* testsuite/libgomp.fortran/close_errors_1.f90: New test.
    527 
    528 2020-05-07  Release Manager
    529 
    530 	* GCC 10.1.0 released.
    531 
    532 2020-04-29  Thomas Schwinge  <thomas (a] codesourcery.com>
    533 
    534 	* config/accel/openacc.f90 (acc_device_current): Set to '-1'.
    535 	* openacc.f90 (acc_device_current): Likewise.
    536 	* openacc.h (acc_device_current): Likewise.
    537 	* openacc_lib.h (acc_device_current): Likewise.
    538 
    539 	PR target/94282
    540 	* testsuite/libgomp.c-c++-common/function-not-offloaded.c: Remove
    541 	'dg-allow-blank-lines-in-output'.
    542 
    543 	* oacc-init.c (get_openacc_name): Handle 'gcn'.
    544 	* testsuite/lib/libgomp.exp
    545 	(offload_target_to_openacc_device_type) [amdgcn*]: Return
    546 	'radeon'.  Adjust all users.
    547 	(check_effective_target_openacc_amdgcn_accel_present): Rename
    548 	to...
    549 	(check_effective_target_openacc_radeon_accel_present): ... this.
    550 	Adjust all users.
    551 	(check_effective_target_openacc_amdgcn_accel_selected): Rename to...
    552 	(check_effective_target_openacc_radeon_accel_selected): ... this.
    553 	Adjust all users.
    554 
    555 	* testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Add
    556 	'dg-do run'.
    557 
    558 2020-04-23  Andrew Stubbs  <ams (a] codesourcery.com>
    559 
    560 	PR other/94629
    561 
    562 	* plugin/plugin-gcn.c (init_hsa_context): Check return value from
    563 	hsa_iterate_agents.
    564 	(GOMP_OFFLOAD_init_device): Check return values from both calls to
    565 	hsa_agent_iterate_regions.
    566 
    567 2020-04-20  Thomas Schwinge  <thomas (a] codesourcery.com>
    568 
    569 	PR middle-end/94635
    570 	* testsuite/libgomp.fortran/target-enter-data-2.F90: Add 'dg-do
    571 	run'.
    572 
    573 2020-04-20  Tobias Burnus  <tobias (a] codesourcery.com>
    574 
    575 	PR middle-end/94120
    576 	* testsuite/libgomp.oacc-c++/declare-pr94120.C: Fix 'declare copy(out)'
    577 	test case.
    578 
    579 2020-04-17  Tobias Burnus  <tobias (a] codesourcery.com>
    580 
    581 	PR middle-end/94635
    582 	* testsuite/libgomp.fortran/target-enter-data-2.F90: New.
    583 
    584 2020-04-13  Thomas Schwinge  <thomas (a] codesourcery.com>
    585 
    586 	PR libgomp/92843
    587 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1-lib.c:
    588 	Rename to...
    589 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-1-lib.c:
    590 	... this.
    591 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1.c:
    592 	Rename to...
    593 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-1.c:
    594 	... this.
    595 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2-lib.c:
    596 	Rename to...
    597 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-2-lib.c:
    598 	... this.
    599 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2.c:
    600 	Rename to...
    601 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-2.c:
    602 	... this.
    603 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3-lib.c:
    604 	Rename to...
    605 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-3-lib.c:
    606 	... this.
    607 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3.c:
    608 	Rename to...
    609 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-3.c:
    610 	... this.
    611 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4-lib.c:
    612 	Rename to...
    613 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4-lib.c:
    614 	... this.
    615 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4.c:
    616 	Rename to...
    617 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4.c:
    618 	... this.
    619 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5-lib.c:
    620 	Rename to...
    621 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-5-lib.c:
    622 	... this.
    623 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5.c:
    624 	Rename to...
    625 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-5.c:
    626 	... this.
    627 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6-lib.c:
    628 	Rename to...
    629 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-6-lib.c:
    630 	... this.
    631 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6.c:
    632 	Rename to...
    633 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-6.c:
    634 	... this.
    635 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7-lib.c:
    636 	Rename to...
    637 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-7-lib.c:
    638 	... this.
    639 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7.c:
    640 	Rename to...
    641 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-7.c:
    642 	... this.
    643 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8-lib.c:
    644 	Rename to...
    645 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-8-lib.c:
    646 	... this.
    647 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8.c::
    648 	Rename to...
    649 	* testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-8.c:
    650 	... this.
    651 
    652 2020-04-10  Julian Brown  <julian (a] codesourcery.com>
    653 	    Thomas Schwinge  <thomas (a] codesourcery.com>
    654 
    655 	PR libgomp/92843
    656 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1-lib.c:
    657 	New file.
    658 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1.c:
    659 	Likewise.
    660 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2-lib.c:
    661 	Likewise.
    662 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2.c:
    663 	Likewise.
    664 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3-lib.c:
    665 	Likewise.
    666 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3.c:
    667 	Likewise.
    668 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4-lib.c:
    669 	Likewise.
    670 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4.c:
    671 	Likewise.
    672 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5-lib.c:
    673 	Likewise.
    674 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5.c:
    675 	Likewise.
    676 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6-lib.c:
    677 	Likewise.
    678 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6.c:
    679 	Likewise.
    680 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7-lib.c:
    681 	Likewise.
    682 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7.c:
    683 	Likewise.
    684 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8-lib.c:
    685 	Likewise.
    686 	* testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8.c:
    687 	Likewise.
    688 
    689 2020-04-10  Thomas Schwinge  <thomas (a] codesourcery.com>
    690 
    691 	* testsuite/libgomp.fortran/target-enter-data-1.f90: Add 'dg-do
    692 	run'.
    693 
    694 2020-04-08  Tobias Burnus  <tobias (a] codesourcery.com>
    695 
    696 	PR middle-end/94120
    697 	* libgomp.oacc-c++/declare-pr94120.C: New.
    698 
    699 2020-04-06  Maciej W. Rozycki  <macro (a] wdc.com>
    700 
    701 	* configure.ac: Add testsuite/libgomp-site-extra.exp to output
    702 	files.
    703 	* configure: Regenerate.
    704 	* testsuite/libgomp-site-extra.exp.in: New file.
    705 	* testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): Remove
    706 	variable.
    707 	* testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
    708 	variable.
    709 	* testsuite/Makefile.in: Regenerate.
    710 
    711 2020-04-03  Thomas Schwinge  <thomas (a] codesourcery.com>
    712 
    713 	PR tree-optimization/89713
    714 	PR c/94392
    715 	* testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Again expect
    716 	'bar.sync'.
    717 	* testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Likewise.
    718 
    719 2020-03-31  Tobias Burnus  <tobias (a] codesourcery.com>
    720 
    721 	* target.c (GOMP_target_enter_exit_data): Handle PSET/MAP_POINTER.
    722 	* testsuite/libgomp.fortran/target-enter-data-1.f90: New.
    723 
    724 2020-03-24  Tobias Burnus  <tobias (a] codesourcery.com>
    725 
    726 	PR libgomp/81689
    727 	* testsuite/libgomp.c/target-link-1.c: Remove xfail.
    728 
    729 2020-03-20  Tobias Burnus  <tobias (a] codesourcery.com>
    730 
    731 	PR libgomp/94251
    732 	* target.c (gomp_load_image_to_device): Fix link
    733 	variable handling.
    734 
    735 2020-03-19  Jakub Jelinek  <jakub (a] redhat.com>
    736 
    737 	PR c++/93931
    738 	* testsuite/libgomp.c++/pr93931.C: New test.
    739 
    740 2020-03-19  Tobias Burnus  <tobias (a] codesourcery.com>
    741 
    742 	* testsuite/libgomp.c-c++-common/function-not-offloaded.c: Add
    743 	dg-allow-blank-lines-in-output.
    744 
    745 2020-03-18  Julian Brown <julian (a] codesourcery.com>
    746 	    Tobias Burnus  <tobias (a] codesourcery.com>
    747 
    748 	* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Really make
    749 	it work concurrently.
    750 
    751 2020-03-18  Tobias Burnus  <tobias (a] codesourcery.com>
    752 
    753 	* testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C: Add
    754 	#define DO_LONG_DOUBLE; set to 1, except for nvidia + gcn.
    755 	* libgomp.oacc-c-c++-common/firstprivate-mappings-1.c: Likewise.
    756 
    757 2020-03-14  Jakub Jelinek  <jakub (a] redhat.com>
    758 
    759 	PR middle-end/93566
    760 	* testsuite/libgomp.c/pr93566.c: New test.
    761 
    762 2020-02-21  Frederik Harwath  <frederik (a] codesourcery.com>
    763 
    764 	* testsuite/libgomp.oacc-fortran/acc_get_property.f90: Adapt to
    765 	changes from 2020-02-19, i.e. use integer(c_size_t) instead of
    766 	integer(acc_device_property) for the type of the return value of
    767 	acc_get_property.
    768 
    769 2020-02-19  Tobias Burnus  <tobias (a] codesourcery.com>
    770 
    771 	* .gitattributes: New; whitespace handling for Fortran's openacc_lib.h.
    772 	* config/accel/openacc.f90 (openacc_kinds): Add acc_device_current.
    773 	(openacc_internal, acc_on_device_h): Fix argument name; minor cleanup.
    774 	* libgomp.texi (Enabling OpenACC): No longer mark as experimental.
    775 	(acc_set_device_num): Fix Fortran argument name, use same name for C.
    776 	(acc_get_property): Update Fortran interface to post-OpenACC 3.0
    777 	corrections; add note about the previous interface and named constant.
    778 	(OpenACC library and environment variables): Fix two typos.
    779 	* openacc.f90: Use for all procedures the argument names from the spec
    780 	as for _h they are user visible.
    781 	(openacc_kinds): Rename acc_device_property to
    782 	acc_device_property_kinds and change value to int32 ; and update users.
    783 	Re-add acc_device_property for for backward compatibility.
    784 	(acc_get_property_string_h): Clean up as acc_device_property_kind
    785 	changed.
    786 	(acc_get_property_h): Likewise and return c_size_t instead of
    787 	acc_device_property.
    788 	(openacc): Also export acc_device_property_kinds.
    789 	(acc_async_test_h, acc_async_test_all_h, acc_on_device_h,
    790 	acc_is_present_32_h, acc_is_present_64_h): Simplify logical-return-value
    791 	handling; check against /= 0 instead of == 1 to match C.
    792 	* openacc_lib.h: Use for all procedures the argument names from the spec
    793 	as for _h they are user visible. Place !GCC$ into the first column to
    794 	be active also for fixed-form souce form.
    795 	(acc_device_current, acc_device_property_kind, acc_device_property,
    796 	acc_property_memory, acc_property_free_memory, acc_property_name,
    797 	acc_property_vendor, acc_property_driver): New named constants.
    798 	(acc_get_property, acc_get_property_string): New generic interface.
    799 
    800 2020-02-13  Frederik Harwath  <frederik (a] codesourcery.com>
    801 
    802 	PR libgomp/93481
    803 	* plugin/plugin-nvptx.c: Remove GOMP_OFFLOAD_async_run stub.
    804 	* target.c (gomp_load_plugin_for_device): Make "async_run" loading
    805 	optional.
    806 	(gomp_target_task_fn): Assert "devicep->async_run_func".
    807 	(clear_unsupported_flags): New function to remove unsupported flags
    808 	(right now only GOMP_TARGET_FLAG_NOWAIT) that can be be ignored.
    809 	(GOMP_target_ext): Apply clear_unsupported_flags to flags.
    810 	* testsuite/libgomp.c/target-33.c:
    811 	Remove xfail for offload_target_nvptx.
    812 	* testsuite/libgomp.c/target-34.c: Likewise.
    813 
    814 2020-02-10  Frederik Harwath  <frederik (a] codesourcery.com>
    815 
    816 	* testsuite/libgomp.c/target-33.c: Add xfail for execution on
    817 	offload_target_nvptx, cf. https://gcc.gnu.org/PR81688.
    818 	* testsuite/libgomp.c/target-34.c: Likewise.
    819 	* testsuite/libgomp.c/target-link-1.c: Add xfail for
    820 	offload_target_nvptx, cf. https://gcc.gnu.org/PR81689.
    821 
    822 2020-02-09  Jakub Jelinek  <jakub (a] redhat.com>
    823 
    824 	* testsuite/libgomp.c/target-38.c: New test.
    825 
    826 2020-02-06  Jakub Jelinek  <jakub (a] redhat.com>
    827 
    828 	PR libgomp/93515
    829 	* testsuite/libgomp.c-c++-common/pr93515.c: New test.
    830 
    831 2020-02-05  Tobias Burnus  <tobias (a] codesourcery.com>
    832 
    833 	* testsuite/lib/libgomp.exp
    834 	(check_effective_target_offload_target_nvptx): Pass flags as 'options'
    835 	and not as 'source' argument to libgomp_target_compile.
    836 
    837 2020-02-03  Andrew Stubbs  <ams (a] codesourcery.com>
    838 
    839 	* plugin/plugin-gcn.c (EF_AMDGPU_MACH_AMDGCN_GFX801): Remove.
    840 	(gcn_gfx801_s): Remove.
    841 	(isa_hsa_name): Remove gfx801.
    842 	(isa_gcc_name): Remove gfx801/carizzo.
    843 	(isa_code): Remove gfx801.
    844 
    845 2020-02-03  Julian Brown  <julian (a] codesourcery.com>
    846 	    Tobias Burnus  <tobias (a] codesourcery.com>
    847 
    848 	* libgomp.texi (OpenACC Runtime Library Routines): Document *_async
    849 	and *_finalize variants; document acc_attach and acc_detach; update
    850 	references from OpenACC 2.0 to 2.6.
    851 	* openacc.f90 (openacc_version): Update to 201711.
    852 	* openacc_lib.h (openacc_version): Update to 201711.
    853 	* testsuite/libgomp.oacc-fortran/openacc_version-1.f: Update expected
    854 	openacc_version to 201711.
    855 	* testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise.
    856 
    857 2020-01-31  Kwok Cheung Yeung  <kcy (a] codesourcery.com>
    858 
    859 	* plugin/plugin-gcn.c (struct hsa_kernel_description): Add sgpr_count
    860 	and vgpr_count fields.
    861 	(struct kernel_info): Add a field for a hsa_kernel_description.
    862 	(run_kernel): Reduce the number of threads/workers if the requested
    863 	number would require too many VGPRs.
    864 	(init_basic_kernel_info): Initialize description field with
    865 	the hsa_kernel_description entry for the kernel.
    866 
    867 2020-01-29  Tobias Burnus  <tobias (a] codesourcery.com>
    868 
    869 	PR bootstrap/93409
    870 	* plugin/configfrag.ac (enable_offload_targets): Skip
    871 	HSA and GCN plugin besides -m32 also for -mx32.
    872 	* configure: Regenerate.
    873 
    874 2020-01-29  Frederik Harwath  <frederik (a] codesourcery.com>
    875 
    876 	* oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon.
    877 
    878 2020-01-29  Frederik Harwath  <frederik (a] codesourcery.com>
    879 
    880 	* plugin-gcn.c (struct agent_info): Add fields "name" and
    881 	"vendor_name" ...
    882 	(GOMP_OFFLOAD_init_device): ... and init from here.
    883 	(struct hsa_context_info): Add field "driver_version_s" ...
    884 	(init_hsa_contest): ... and init from here.
    885 	(GOMP_OFFLOAD_openacc_get_property): Replace stub with a proper
    886 	implementation.
    887 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c:
    888 	Enable test execution for amdgcn and host offloading targets.
    889 	* testsuite/libgomp.oacc-fortran/acc_get_property.f90: Likewise.
    890 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c
    891 	(expect_device_properties): Split function into ...
    892 	(expect_device_string_properties): ... this new function ...
    893 	(expect_device_memory): ... and this new function.
    894 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-gcn.c:
    895 	Add test.
    896 
    897 2020-01-28  Julian Brown  <julian (a] codesourcery.com>
    898 
    899 	* testsuite/libgomp.oacc-fortran/deep-copy-2.f90: Remove test from here.
    900 	* testsuite/libgomp.oacc-fortran/deep-copy-3.f90: Don't use mixed
    901 	component/non-component variable refs in a single directive.
    902 	* testsuite/libgomp.oacc-fortran/classtypes-1.f95: Likewise.
    903 
    904 2020-01-24  Maciej W. Rozycki  <macro (a] wdc.com>
    905 
    906 	* configure.ac: Handle `--with-toolexeclibdir='.
    907 	* Makefile.in: Regenerate.
    908 	* aclocal.m4: Regenerate.
    909 	* configure: Regenerate.
    910 	* testsuite/Makefile.in: Regenerate.
    911 
    912 2020-01-24  Frederik Harwath  <frederik (a] codesourcery.com>
    913 
    914 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c
    915 	(expect_device_properties): Remove "expected_free_mem" argument,
    916 	change "expected_total_mem" argument type to size_t;
    917 	change types of acc_get_property results to size_t,
    918 	adapt format strings.
    919 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c:
    920 	Use %zu instead of %zd to print size_t values.
    921 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: Adapt and
    922 	rename to ...
    923 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-nvptx.c: ... this.
    924 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: Adapt and
    925 	rename to ...
    926 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c: ... this.
    927 
    928 2020-01-23  Andrew Stubbs  <ams (a] codesourcery.com>
    929 
    930 	* plugin/plugin-gcn.c (parse_target_attributes): Use correct mask for
    931 	the device id.
    932 
    933 2020-01-20  Andrew Stubbs  <ams (a] codesourcery.com>
    934 
    935 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Skip test on gcn.
    936 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (main):
    937 	Adjust test dimensions for amdgcn.
    938 	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c (main): Adjust
    939 	gang/worker/vector expectations dynamically.
    940 	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c
    941 	(main): Likewise.
    942 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c (main): Likewise.
    943 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c (main): Likewise.
    944 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c (main): Likewise.
    945 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c (main): Likewise.
    946 	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c (main): Likewise.
    947 	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c (main): Likewise.
    948 	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c (main): Likewise.
    949 	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c (main): Likewise.
    950 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c
    951 	(acc_gang): Recognise acc_device_radeon.
    952 	(acc_worker): Likewise.
    953 	(acc_vector): Likewise.
    954 	(main): Set expectations for amdgcn.
    955 	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c
    956 	(main): Adjust gang/worker/vector expectations dynamically.
    957 	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c (main): Likewise.
    958 	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c (main): Likewise.
    959 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c (main): Likewise.
    960 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Set expectations
    961 	for amdgcn.
    962 
    963 2020-01-17  Andrew Stubbs  <ams (a] codesourcery.com>
    964 
    965 	* config/accel/openacc.f90 (openacc_kinds): Rename acc_device_gcn to
    966 	acc_device_radeon.
    967 	(openacc): Likewise.
    968 	* openacc.f90 (openacc_kinds): Likewise.
    969 	(openacc): Likewise.
    970 	* openacc.h (acc_device_t): Likewise.
    971 	* openacc_lib.h: Likewise.
    972 	* testsuite/lib/libgomp.exp
    973 	(check_effective_target_openacc_amdgcn_accel_present): Likewise.
    974 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c
    975 	(cb_compute_construct_end): Likewise.
    976 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
    977 	(cb_enqueue_launch_start): Likewise.
    978 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c
    979 	(cb_enter_data_end): Likewise.
    980 	(cb_exit_data_start): Likewise.
    981 	(cb_exit_data_end): Likewise.
    982 	(cb_compute_construct_end): Likewise.
    983 	(cb_enqueue_launch_start): Likewise.
    984 	(cb_enqueue_launch_end): Likewise.
    985 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c
    986 	(main): Likewise.
    987 
    988 2020-01-10  Thomas Schwinge  <thomas (a] codesourcery.com>
    989 
    990 	* libgomp-plugin.h (enum goacc_property): New.  Adjust all users
    991 	to use this instead of 'enum gomp_device_property'.
    992 	(GOMP_OFFLOAD_get_property): Rename to...
    993 	(GOMP_OFFLOAD_openacc_get_property): ... this.  Adjust all users.
    994 	* libgomp.h (struct gomp_device_descr): Move
    995 	'GOMP_OFFLOAD_openacc_get_property'...
    996 	(struct acc_dispatch_t): ... here.  Adjust all users.
    997 	* plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): Remove.
    998 
    999 	* target.c (gomp_map_vars_internal)
   1000 	<GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT>: Clean up/elaborate code
   1001 	paths.
   1002 
   1003 2020-01-10  Jakub Jelinek  <jakub (a] redhat.com>
   1004 
   1005 	PR libgomp/93219
   1006 	* libgomp.h (gomp_print_string): Change return type from void to int.
   1007 	* affinity-fmt.c (gomp_print_string): Likewise.  Return true if
   1008 	not all characters have been written.
   1009 
   1010 2020-01-08  Tobias Burnus  <tobias (a] codesourcery.com>
   1011 
   1012 	* libgomp.texi: Fix typos, use https.
   1013 
   1014 2020-01-03  Tobias Burnus  <tobias (a] codesourcery.com>
   1015 
   1016 	* testsuite/libgomp.fortran/optional-map.f90: Add test for
   1017 	unallocated/disassociated actual arguments to nonallocatable/nonpointer
   1018 	dummy arguments; those are/shall be regarded as absent arguments.
   1019 	* testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Ditto.
   1020 	* testsuite/libgomp.fortran/use_device_ptr-optional-3.f90: New.
   1021 
   1022 2020-01-01  Jakub Jelinek  <jakub (a] redhat.com>
   1023 
   1024 	Update copyright years.
   1025 
   1026 	* libgomp.texi: Bump @copying's copyright year.
   1027 
   1028 2019-12-31  Ayush Mittal  <ayush.m (a] samsung.com>
   1029 
   1030 	PR libgomp/93065
   1031 	* oacc-init.c (goacc_runtime_deinitialize): New function.
   1032 
   1033 2019-12-28  Jakub Jelinek  <jakub (a] redhat.com>
   1034 
   1035 	PR bootstrap/93074
   1036 	* plugin/cuda/cuda.h (cuDeviceGetName, cuDriverGetVersion): Declare.
   1037 	(cuDeviceTotalMem, cuMemGetInfo): Likewise.  Define to *_v2.
   1038 
   1039 2019-12-22  Maciej W. Rozycki  <macro (a] codesourcery.com>
   1040 	    Frederik Harwath  <frederik (a] codesourcery.com>
   1041 	    Thomas Schwinge  <tschwinge (a] codesourcery.com>
   1042 
   1043 	* libgomp.h (gomp_device_descr): Add `get_property_func' member.
   1044 	* libgomp-plugin.h (gomp_device_property_value): New union.
   1045 	(gomp_device_property_value): New prototype.
   1046 	* openacc.h (acc_device_t): Add `acc_device_current' enumeration
   1047 	constant.
   1048 	(acc_device_property_t): New enum.
   1049 	(acc_get_property, acc_get_property_string): New prototypes.
   1050 	* oacc-init.c (acc_get_device_type): Also assert that result
   1051 	is not `acc_device_current'.
   1052 	(get_property_any, acc_get_property, acc_get_property_string):
   1053 	New functions.
   1054 	* openacc.f90 (openacc_kinds): Add `acc_device_current' and
   1055 	`acc_property_memory', `acc_property_free_memory',
   1056 	`acc_property_name', `acc_property_vendor' and
   1057 	`acc_property_driver' constants.  Add `acc_device_property' data
   1058 	type.
   1059 	(openacc_internal): Add `acc_get_property' and
   1060 	`acc_get_property_string' interfaces.  Add `acc_get_property_h',
   1061 	`acc_get_property_string_h', `acc_get_property_l' and
   1062 	`acc_get_property_string_l'.
   1063 	* oacc-host.c (host_get_property): New function.
   1064 	(host_dispatch): Wire it.
   1065 	* target.c (gomp_load_plugin_for_device): Handle `get_property'.
   1066 	* libgomp.map (OACC_2.6): Add `acc_get_property', `acc_get_property_h_',
   1067 	`acc_get_property_string' and `acc_get_property_string_h_' symbols.
   1068 	* libgomp.texi (OpenACC Runtime Library Routines): Add
   1069 	`acc_get_property'.
   1070 	(acc_get_property): New node.
   1071 	* plugin/plugin-gcn.c (GOMP_OFFLOAD_get_property): New
   1072 	function (stub).
   1073 	* plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): New function.
   1074 	* plugin/plugin-nvptx.c (CUDA_CALLS): Add `cuDeviceGetName',
   1075 	`cuDeviceTotalMem', `cuDriverGetVersion' and `cuMemGetInfo'
   1076 	calls.
   1077 	(GOMP_OFFLOAD_get_property): New function.
   1078 	(struct ptx_device): Add new field "name".
   1079 	(cuda_driver_version_s): Add new static variable ...
   1080 	(nvptx_init): ... and init from here.
   1081 
   1082 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: New test.
   1083 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: New test.
   1084 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: New test.
   1085 	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c: New file
   1086 	with test helper functions.
   1087 
   1088 	* testsuite/libgomp.oacc-fortran/acc_get_property.f90: New test.
   1089 
   1090 2019-12-22  Maciej W. Rozycki  <macro (a] wdc.com>
   1091 
   1092 	* testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): New
   1093 	variable.
   1094 
   1095 2019-12-21  Thomas Schwinge  <thomas (a] codesourcery.com>
   1096 
   1097 	* target.c (gomp_map_vars_internal): Restore 'omp declare target
   1098 	link' handling.
   1099 
   1100 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1101 
   1102 	* testsuite/libgomp.oacc-fortran/class-ptr-param.f95: New test.
   1103 	* testsuite/libgomp.oacc-fortran/classtypes-1.f95: New test.
   1104 	* testsuite/libgomp.oacc-fortran/classtypes-2.f95: New test.
   1105 
   1106 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1107 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   1108 
   1109 	* testsuite/libgomp.oacc-fortran/deep-copy-1.f90: New test.
   1110 	* testsuite/libgomp.oacc-fortran/deep-copy-2.f90: New test.
   1111 	* testsuite/libgomp.oacc-fortran/deep-copy-3.f90: New test.
   1112 	* testsuite/libgomp.oacc-fortran/deep-copy-4.f90: New test.
   1113 	* testsuite/libgomp.oacc-fortran/deep-copy-5.f90: New test.
   1114 	* testsuite/libgomp.oacc-fortran/deep-copy-6.f90: New test.
   1115 	* testsuite/libgomp.oacc-fortran/deep-copy-7.f90: New test.
   1116 	* testsuite/libgomp.oacc-fortran/deep-copy-8.f90: New test.
   1117 	* testsuite/libgomp.oacc-fortran/derived-type-1.f90: New test.
   1118 	* testsuite/libgomp.oacc-fortran/derivedtype-1.f95: New test.
   1119 	* testsuite/libgomp.oacc-fortran/derivedtype-2.f95: New test.
   1120 	* testsuite/libgomp.oacc-fortran/multidim-slice.f95: New test.
   1121 	* testsuite/libgomp.oacc-fortran/update-2.f90: New test.
   1122 
   1123 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1124 
   1125 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-1.c: New test.
   1126 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-2.c: New test.
   1127 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-4.c: New test.
   1128 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-6.c: New test.
   1129 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-7.c: New test.
   1130 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-8.c: New test.
   1131 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-9.c: New test.
   1132 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-10.c: New test.
   1133 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-11.c: New test.
   1134 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-14.c: New test.
   1135 	* testsuite/libgomp.oacc-c++/deep-copy-12.C: New test.
   1136 	* testsuite/libgomp.oacc-c++/deep-copy-13.C: New test.
   1137 
   1138 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1139 
   1140 	* libgomp.h (struct target_var_desc): Add do_detach flag.
   1141 	* oacc-init.c (acc_shutdown_1): Free aux block if present.
   1142 	* oacc-mem.c (find_group_last): Add SIZES parameter. Support
   1143 	struct components.  Tidy up and add some new checks.
   1144 	(goacc_enter_data_internal): Update call to find_group_last.
   1145 	(goacc_exit_data_internal): Support detach operations and
   1146 	GOMP_MAP_STRUCT.
   1147 	(GOACC_enter_exit_data): Handle initial GOMP_MAP_STRUCT or
   1148 	GOMP_MAP_FORCE_PRESENT in finalization detection code.  Handle
   1149 	attach/detach in enter/exit data detection code.
   1150 	* target.c (gomp_map_vars_existing): Initialise do_detach field of
   1151 	tgt_var_desc.
   1152 	(gomp_map_vars_internal): Support attach.
   1153 	(gomp_unmap_vars_internal): Support detach.
   1154 
   1155 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1156 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   1157 
   1158 	* libgomp.h (struct splay_tree_aux): Add attach_count field.
   1159 	(gomp_attach_pointer, gomp_detach_pointer): Add prototypes.
   1160 	* libgomp.map (OACC_2.6): New section. Add acc_attach,
   1161 	acc_attach_async, acc_detach, acc_detach_async, acc_detach_finalize,
   1162 	acc_detach_finalize_async.
   1163 	* oacc-mem.c (acc_attach_async, acc_attach, goacc_detach_internal,
   1164 	acc_detach, acc_detach_async, acc_detach_finalize,
   1165 	acc_detach_finalize_async): New functions.
   1166 	* openacc.h (acc_attach, acc_attach_async, acc_detach,
   1167 	(acc_detach_async, acc_detach_finalize, acc_detach_finalize_async): Add
   1168 	prototypes.
   1169 	* target.c (gomp_attach_pointer, gomp_detach_pointer): New functions.
   1170 	(gomp_remove_var_internal): Free attachment counts if present.
   1171 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-3.c: New test.
   1172 	* testsuite/libgomp.oacc-c-c++-common/deep-copy-5.c: New test.
   1173 
   1174 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1175 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   1176 
   1177 	* libgomp.h (gomp_map_val): Add prototype.
   1178 	* oacc-parallel.c (GOACC_parallel_keyed): Use gomp_map_val instead of
   1179 	open-coding device-address calculation.
   1180 	* target.c (gomp_map_val): Make global. Use OFFSET_POINTER in
   1181 	non-present case.
   1182 
   1183 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1184 
   1185 	* libgomp.h (struct splay_tree_key_s): Substitute dynamic_refcount
   1186 	field for virtual_refcount.
   1187 	(enum gomp_map_vars_kind): Add GOMP_MAP_VARS_OPENACC_ENTER_DATA.
   1188 	(gomp_free_memmap): Remove prototype.
   1189 	* oacc-init.c (acc_shutdown_1): Iteratively call gomp_remove_var
   1190 	instead of calling gomp_free_memmap.
   1191 	* oacc-mem.c (acc_map_data): Use virtual_refcount instead of
   1192 	dynamic_refcount.
   1193 	(acc_unmap_data): Open code instead of forcing target_mem_desc's
   1194 	to_free field to NULL then calling gomp_unmap_vars.  Handle
   1195 	REFCOUNT_INFINITY on target blocks.
   1196 	(goacc_enter_data): Rename to...
   1197 	(goacc_enter_datum): ...this.  Remove MAPNUM parameter and special
   1198 	handling for mapping groups.  Use virtual_refcount instead of
   1199 	dynamic_refcount.  Use GOMP_MAP_VARS_OPENACC_ENTER_DATA for
   1200 	map_map_vars_async call.  Re-do lookup for target pointer return value.
   1201 	(acc_create, acc_create_async, acc_copyin, acc_copyin_async): Call
   1202 	renamed goacc_enter_datum function.
   1203 	(goacc_exit_data): Rename to...
   1204 	(goacc_exit_datum): ...this.  Update for virtual_refcount semantics.
   1205 	(acc_delete, acc_delete_async, acc_delete_finalize,
   1206 	acc_delete_finalize_async, acc_copyout, acc_copyout_async,
   1207 	acc_copyout_finalize, acc_copyout_finalize_async): Call renamed
   1208 	goacc_exit_datum function.
   1209 	(gomp_acc_remove_pointer, find_pointer): Remove functions.
   1210 	(find_group_last, goacc_enter_data_internal, goacc_exit_data_internal):
   1211 	New functions.
   1212 	(GOACC_enter_exit_data): Use goacc_enter_data_internal and
   1213 	goacc_exit_data_internal helper functions.
   1214 	* target.c (gomp_map_vars_internal): Handle
   1215 	GOMP_MAP_VARS_OPENACC_ENTER_DATA.  Update for virtual_refcount
   1216 	semantics.
   1217 	(gomp_unmap_vars_internal): Update for virtual_refcount semantics.
   1218 	(gomp_load_image_to_device, omp_target_associate_ptr): Zero-initialise
   1219 	virtual_refcount field instead of dynamic_refcount.
   1220 	(gomp_free_memmap): Remove function.
   1221 	* testsuite/libgomp.oacc-c-c++-common/unmap-infinity-1.c: New test.
   1222 	* testsuite/libgomp.c-c++-common/unmap-infinity-2.c: New test.
   1223 	* testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Add XFAIL.
   1224 
   1225 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1226 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   1227 
   1228 	* libgomp.h (struct splay_tree_aux): New.
   1229 	(struct splay_tree_key_s): Replace link_key field with aux pointer.
   1230 	* target.c (gomp_map_vars_internal): Adjust for link_key being moved
   1231 	to aux struct.
   1232 	(gomp_remove_var_internal): Free aux block if present.
   1233 	(gomp_load_image_to_device): Zero-initialise aux field instead of
   1234 	link_key field.
   1235 	(omp_target_associate_pointer): Zero-initialise aux field.
   1236 
   1237 2019-12-18  Jakub Jelinek  <jakub (a] redhat.com>
   1238 
   1239 	PR middle-end/86416
   1240 	* testsuite/libgomp.c/pr86416-1.c (main): Use L suffixes rather than
   1241 	q or none.
   1242 	* testsuite/libgomp.c/pr86416-2.c (main): Use Q suffixes rather than
   1243 	L or none.
   1244 
   1245 2019-12-19  Julian Brown  <julian (a] codesourcery.com>
   1246 	    Maciej W. Rozycki  <macro (a] codesourcery.com>
   1247 	    Tobias Burnus  <tobias (a] codesourcery.com>
   1248 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   1249 
   1250 	* target.c (gomp_map_vars_async): Support GOMP_MAP_NO_ALLOC.
   1251 	* testsuite/libgomp.oacc-c-c++-common/no_create-1.c: New test.
   1252 	* testsuite/libgomp.oacc-c-c++-common/no_create-2.c: New test.
   1253 	* testsuite/libgomp.oacc-c-c++-common/no_create-3.c: New test.
   1254 	* testsuite/libgomp.oacc-c-c++-common/no_create-4.c: New test.
   1255 	* testsuite/libgomp.oacc-c-c++-common/no_create-5.c: New test.
   1256 	* testsuite/libgomp.oacc-fortran/no_create-1.f90: New test.
   1257 	* testsuite/libgomp.oacc-fortran/no_create-2.f90: New test.
   1258 	* testsuite/libgomp.oacc-fortran/no_create-3.F90: New test.
   1259 
   1260 2019-12-18  Thomas Schwinge  <thomas (a] codesourcery.com>
   1261 
   1262 	* oacc-mem.c (goacc_enter_data): Refactor, so that it can be
   1263 	called...
   1264 	(goacc_insert_pointer): ... from here, "present" case.
   1265 	(goacc_insert_pointer): Inline function into...
   1266 	(GOACC_enter_exit_data): ... here, and simplify.
   1267 
   1268 	* oacc-mem.c (goacc_enter_data): Refactor, so that it can be
   1269 	called...
   1270 	(goacc_insert_pointer): ... from here, "not present" case.
   1271 
   1272 	* oacc-mem.c (goacc_remove_pointer): Refactor interface.  Adjust
   1273 	all users.
   1274 
   1275 	* oacc-mem.c (GOACC_enter_exit_data): Refactor code to call
   1276 	'goacc_enter_data', 'goacc_exit_data'.
   1277 
   1278 	* oacc-mem.c (delete_copyout): Refactor into...
   1279 	(goacc_exit_data): ... this.  Adjust all users.
   1280 
   1281 	* oacc-mem.c (present_create_copy): Refactor into...
   1282 	(goacc_enter_data): ... this.  Adjust all users.
   1283 
   1284 	* target.c (gomp_unmap_vars_internal): Add a safeguard to
   1285 	'gomp_remove_var'.
   1286 
   1287 	* target.c (gomp_to_device_kind_p): Handle 'GOMP_MAP_FORCE_FROM'
   1288 	like 'GOMP_MAP_FROM'.
   1289 
   1290 	PR libgomp/92726
   1291 	PR libgomp/92970
   1292 	PR libgomp/92984
   1293 	* oacc-mem.c (delete_copyout): No-op behavior if 'lookup_host'
   1294 	fails.
   1295 	(GOACC_enter_exit_data): Simplify accordingly.
   1296 	* testsuite/libgomp.oacc-c-c++-common/pr92970-1.c: New file,
   1297 	subsuming...
   1298 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: ... this file...
   1299 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: ..., and this
   1300 	file.
   1301 	* testsuite/libgomp.oacc-c-c++-common/pr92984-1.c: New file,
   1302 	subsuming...
   1303 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: ... this file...
   1304 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: ..., and this
   1305 	file.
   1306 	* testsuite/libgomp.oacc-c-c++-common/pr92726-1.c: New file,
   1307 	subsuming...
   1308 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: ... this file.
   1309 
   1310 	* oacc-mem.c (GOACC_enter_exit_data): Simplify 'exit data'
   1311 	'finalize' handling.
   1312 
   1313 	PR libgomp/92848
   1314 	* oacc-mem.c (acc_map_data, present_create_copy)
   1315 	(goacc_insert_pointer): Use 'GOMP_MAP_VARS_ENTER_DATA'.
   1316 	(acc_unmap_data, delete_copyout, goacc_remove_pointer): Adjust.
   1317 	* testsuite/libgomp.oacc-c-c++-common/lib-50.c: Remove.
   1318 	* testsuite/libgomp.oacc-c-c++-common/pr92848-1-d-a.c: New file
   1319 	* testsuite/libgomp.oacc-c-c++-common/pr92848-1-d-p.c: Likewise.
   1320 	* testsuite/libgomp.oacc-c-c++-common/pr92848-1-r-a.c: Likewise.
   1321 	* testsuite/libgomp.oacc-c-c++-common/pr92848-1-r-p.c: Likewise.
   1322 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-p.c:
   1323 	Remove "XFAIL"s.
   1324 
   1325 	* target.c (gomp_unmap_tgt): Make it 'static'.
   1326 	* libgomp.h (gomp_unmap_tgt): Remove.
   1327 
   1328 2019-12-18  Tobias Burnus  <tobias (a] codesourcery.com>
   1329 
   1330 	PR middle-end/86416
   1331 	* testsuite/libgomp.c/pr86416-1.c: New.
   1332 	* testsuite/libgomp.c/pr86416-2.c: New.
   1333 
   1334 2019-12-17  Tobias Burnus  <tobias (a] codesourcery.com>
   1335 
   1336 	* config/accel/openacc.f90 (module openacc_kinds): Use 'PUBLIC' to mark
   1337 	all symbols as public except for the 'use , only' imported symbol,
   1338 	which is private.
   1339 	(module openacc): Default to 'PRIVATE' to exclude openacc_internal; mark
   1340 	all symbols from module openacc_kinds as PUBLIC
   1341 	* openacc.f90: Add comment with crossref to that file and openmp_lib.h;
   1342 	fix comment typo.
   1343 	* openacc_lib.h (acc_device_gcn): Add this PARAMETER.
   1344 
   1345 2019-12-13  Julian Brown  <julian (a] codesourcery.com>
   1346 
   1347 	PR libgomp/92881
   1348 
   1349 	* libgomp.h (gomp_remove_var_async): Add prototype.
   1350 	* oacc-mem.c (delete_copyout): Call gomp_remove_var_async instead of
   1351 	gomp_remove_var.
   1352 	* target.c (gomp_unref_tgt): Change return type to bool, indicating
   1353 	whether target_mem_desc was unmapped.
   1354 	(gomp_unref_tgt_void): New.
   1355 	(gomp_remove_var): Reimplement in terms of...
   1356 	(gomp_remove_var_internal): ...this new helper function.
   1357 	(gomp_remove_var_async): New, implemented using above helper function.
   1358 	(gomp_unmap_vars_internal): Use gomp_unref_tgt_void instead of
   1359 	gomp_unref_tgt.
   1360 
   1361 2019-12-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1362 
   1363 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Handle gcn.
   1364 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Likewise.
   1365 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: Likewise.
   1366 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Likewise.
   1367 	* testsuite/libgomp.oacc-c-c++-common/function-not-offloaded.c:
   1368 	Likewise.
   1369 	* testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Disable on GCN.
   1370 	* testsuite/libgomp.oacc-c-c++-common/tile-1.c: Likewise.
   1371 
   1372 2019-12-13  Tobias Burnus  <tobias (a] codesourcery.com>
   1373 
   1374 	* openacc.f90 (module openacc_kinds): Use 'PUBLIC' to mark all symbols
   1375 	as public except for the 'use , only' imported symbol, which is
   1376 	private.
   1377 	(module openacc): Default to 'PRIVATE' to exclude openacc_internal; mark
   1378 	all symbols from module openacc_kinds as PUBLIC; add missing PUBLIC
   1379 	attributes for acc_copyout_finalize and acc_delete_finalize.
   1380 
   1381 2019-12-11  Jakub Jelinek  <jakub (a] redhat.com>
   1382 
   1383 	PR fortran/92899
   1384 	* testsuite/libgomp.fortran/atomic1.f90: New test.
   1385 
   1386 2019-12-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   1387 
   1388 	PR libgomp/92843
   1389 	* oacc-mem.c (present_create_copy, delete_copyout): Fix dynamic
   1390 	reference counting for structured 'REFCOUNT_INFINITY'.  Add some
   1391 	assertions.
   1392 	(goacc_insert_pointer, goacc_remove_pointer): Adjust accordingly.
   1393 	* testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: New file.
   1394 	* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Fix OpenACC.
   1395 	* testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise.
   1396 	* testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise.
   1397 
   1398 	* oacc-parallel.c (find_pointer, GOACC_enter_exit_data): Move...
   1399 	* oacc-mem.c: ... here.
   1400 	(gomp_acc_insert_pointer, gomp_acc_remove_pointer): Rename to
   1401 	'goacc_insert_pointer', 'goacc_remove_pointer', and make 'static'.
   1402 	* libgomp.h (gomp_acc_insert_pointer, gomp_acc_remove_pointer):
   1403 	Remove.
   1404 	* libgomp_g.h: Update.
   1405 
   1406 	* oacc-parallel.c (GOACC_wait, goacc_wait): Move...
   1407 	* oacc-async.c: ... here.
   1408 	* oacc-int.h (goacc_wait): Declare.
   1409 	* libgomp_g.h: Update
   1410 
   1411 	PR libgomp/92854
   1412 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-1.c:
   1413 	New file.
   1414 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-2.c:
   1415 	Likewise.
   1416 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-3.c:
   1417 	Likewise.
   1418 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-1.c:
   1419 	Likewise.
   1420 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-2.c:
   1421 	Likewise.
   1422 	* testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-3.c:
   1423 	Likewise.
   1424 
   1425 2019-12-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   1426 	    Julian Brown  <julian (a] codesourcery.com>
   1427 
   1428 	* target.c (gomp_load_image_to_device, omp_target_associate_ptr):
   1429 	Initialize 'dynamic_refcount' whenever we initialize 'refcount'.
   1430 
   1431 2019-12-11  Tobias Burnus  <tobias (a] codesourcery.com>
   1432 
   1433 	* omp_lib.h.in: Fix spelling of function declaration
   1434 	omp_get_cancell(l)ation.
   1435 	* libgomp.texi (acc_is_present, acc_async_test, acc_async_test_all):
   1436 	Fix typos.
   1437 	* env.c: Fix comment typos.
   1438 	* oacc-host.c: Likewise.
   1439 	* ordered.c: Likewise.
   1440 	* task.c: Likewise.
   1441 	* team.c: Likewise.
   1442 	* config/gcn/task.c: Likewise.
   1443 	* config/gcn/team.c: Likewise.
   1444 	* config/nvptx/task.c: Likewise.
   1445 	* config/nvptx/team.c: Likewise.
   1446 	* plugin/plugin-gcn.c: Likewise.
   1447 	* testsuite/libgomp.fortran/jacobi.f: Likewise.
   1448 	* testsuite/libgomp.hsa.c/tiling-2.c: Likewise.
   1449 	* testsuite/libgomp.oacc-c-c++-common/enter_exit-lib.c: Likewise.
   1450 
   1451 2019-12-11  Tobias Burnus  <tobias (a] codesourcery.com>
   1452 
   1453 	* testsuite/libgomp.oacc-fortran/optional-cache.f95: Add 'dg-do run'.
   1454 	* testsuite/libgomp.oacc-fortran/optional-reduction.f90: Remove
   1455 	unnecessary 'dg-additional-options "-w"'.
   1456 
   1457 2019-12-09  Thomas Schwinge  <thomas (a] codesourcery.com>
   1458 	    Julian Brown  <julian (a] codesourcery.com>
   1459 
   1460 	PR libgomp/92116
   1461 	PR libgomp/92877
   1462 
   1463 	* oacc-mem.c (lookup_dev): Reimplement.  Adjust all users.
   1464 	* libgomp.h (struct acc_dispatch_t): Remove 'data_environ' member.
   1465 	Adjust all users.
   1466 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c:
   1467 	Remove XFAIL.
   1468 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c:
   1469 	Likewise.
   1470 	* testsuite/libgomp.oacc-c-c++-common/pr92877-1.c: New file.
   1471 
   1472 2019-12-09  Thomas Schwinge  <thomas (a] codesourcery.com>
   1473 
   1474 	PR libgomp/92503
   1475 	* oacc-mem.c (acc_free): Error out instead of 'acc_unmap_data'.
   1476 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-1.c: New
   1477 	file.
   1478 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-2.c:
   1479 	Likewise.
   1480 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-3-2.c:
   1481 	Likewise.
   1482 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-3.c:
   1483 	Likewise.
   1484 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c:
   1485 	Likewise.
   1486 	* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c:
   1487 	Likewise.
   1488 	* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Adjust.
   1489 	* testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise.
   1490 	* testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise.
   1491 	* testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise.
   1492 	* testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise.
   1493 	* testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise.
   1494 	* testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise.
   1495 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   1496 	* testsuite/libgomp.oacc-c-c++-common/lib-91.c: Likewise.
   1497 	* testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise.
   1498 
   1499 	PR libgomp/92840
   1500 	* oacc-mem.c (acc_map_data): Clarify reference counting behavior.
   1501 	(acc_unmap_data): Add error case for 'REFCOUNT_INFINITY'.
   1502 	* testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-1.c:
   1503 	New file.
   1504 	* testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-2.c:
   1505 	Likewise.
   1506 	* testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-3.c:
   1507 	Likewise.
   1508 	* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Adjust.
   1509 	* testsuite/libgomp.oacc-c-c++-common/nested-1.c: Adjust.
   1510 
   1511 	PR libgomp/92511
   1512 	* testsuite/libgomp.oacc-c-c++-common/copyin-devptr-1.c: Remove
   1513 	this file...
   1514 	* testsuite/libgomp.oacc-c-c++-common/copyin-devptr-2.c: ..., and
   1515 	this file...
   1516 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: ..., and this
   1517 	file...
   1518 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: ..., and this
   1519 	file...
   1520 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-p.c:
   1521 	... with their content moved into, and extended in this new file.
   1522 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-d-a.c:
   1523 	New file.
   1524 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-d-p.c:
   1525 	Likewise.
   1526 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-a.c:
   1527 	Likewise.
   1528 	* testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-2.c:
   1529 	Likewise.
   1530 
   1531 	* testsuite/libgomp.oacc-c-c++-common/map-data-1.c: New file.
   1532 
   1533 	PR libgomp/92854
   1534 	* testsuite/libgomp.oacc-c-c++-common/pr92854-1.c: New file.
   1535 
   1536 	* testsuite/libgomp.oacc-c-c++-common/host_data-6.c: New file.
   1537 
   1538 	* target.c (gomp_exit_data): Use 'gomp_remove_var'.
   1539 
   1540 2019-12-09  Tobias Burnus  <tobias (a] codesourcery.com>
   1541 
   1542 	* testsuite/libgomp.fortran/use_device_addr-3.f90: Make 'stop' codes
   1543 	unique.
   1544 	* testsuite/libgomp.fortran/use_device_addr-4.f90: Ditto.
   1545 	* testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Ditto.
   1546 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Ditto.
   1547 	* testsuite/libgomp.oacc-fortran/optional-data-copyin-by-value.f90:
   1548 	Ditto.
   1549 	* testsuite/libgomp.oacc-fortran/optional-firstprivate.f90: Ditto.
   1550 	* testsuite/libgomp.oacc-fortran/optional-update-host.f90: Ditto.
   1551 
   1552 2019-12-06  Kwok Cheung Yeung  <kcy (a] codesourcery.com>
   1553 
   1554 	* config/accel/proc.c (omp_get_num_procs): Apply ialias macro.
   1555 
   1556 2019-12-06  Tobias Burnus  <tobias (a] codesourcery.com>
   1557 	    Kwok Cheung Yeung <kcy (a] codesourcery.com>
   1558 
   1559 	* oacc-mem.c (update_dev_host, gomp_acc_insert_pointer): Just return
   1560 	if input it a NULL pointer.
   1561 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Remove; dependent on
   1562 	diagnostic of NULL pointer.
   1563 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Ditto.
   1564 	* testsuite/libgomp.fortran/optional-map.f90: New.
   1565 	* testsuite/libgomp.fortran/use_device_addr-1.f90
   1566 	(test_dummy_opt_callee_1_absent): New.
   1567 	(test_dummy_opt_call_1): Call it.
   1568 	* testsuite/libgomp.fortran/use_device_addr-2.f90: Likewise.
   1569 	* testsuite/libgomp.fortran/use_device_addr-3.f90: Likewise.
   1570 	* testsuite/libgomp.fortran/use_device_addr-4.f90: Likewise.
   1571 	* testsuite/libgomp.oacc-fortran/optional-cache.f95: New.
   1572 	* testsuite/libgomp.oacc-fortran/optional-data-copyin-by-value.f90: New.
   1573 	* testsuite/libgomp.oacc-fortran/optional-data-copyin.f90: New.
   1574 	* testsuite/libgomp.oacc-fortran/optional-data-copyout.f90: New.
   1575 	* testsuite/libgomp.oacc-fortran/optional-data-enter-exit.f90: New.
   1576 	* testsuite/libgomp.oacc-fortran/optional-declare.f90: New.
   1577 	* testsuite/libgomp.oacc-fortran/optional-firstprivate.f90: New.
   1578 	* testsuite/libgomp.oacc-fortran/optional-host_data.f90: New.
   1579 	* testsuite/libgomp.oacc-fortran/optional-nested-calls.f90: New.
   1580 	* testsuite/libgomp.oacc-fortran/optional-private.f90: New.
   1581 	* testsuite/libgomp.oacc-fortran/optional-reduction.f90: New.
   1582 	* testsuite/libgomp.oacc-fortran/optional-update-device.f90: New.
   1583 	* testsuite/libgomp.oacc-fortran/optional-update-host.f90: New.
   1584 
   1585 2019-12-05  Tobias Burnus  <tobias (a] codesourcery.com>
   1586 
   1587 	* testsuite/libgomp.oacc-fortran/error_stop-1.f: Also don't
   1588 	expect dg-output of 'Error termination.' for GCN.
   1589 	* testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise.
   1590 	* testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise.
   1591 
   1592 2019-12-04  Jakub Jelinek  <jakub (a] redhat.com>
   1593 
   1594 	PR fortran/92756
   1595 	* testsuite/libgomp.fortran/teams1.f90: New test.
   1596 	* testsuite/libgomp.fortran/teams2.f90: New test.
   1597 
   1598 2019-12-03  Frederik Harwath  <frederik (a] codesourcery.com>
   1599 
   1600 	* oacc-init.c (acc_known_device_type): Add function.
   1601 	(unknown_device_type_error): Add function.
   1602 	(name_of_acc_device_t): Change to call unknown_device_type_error
   1603 	on unknown type.
   1604 	(resolve_device): Use acc_known_device_type.
   1605 	(acc_init): Fail if acc_device_t argument is not valid.
   1606 	(acc_shutdown): Likewise.
   1607 	(acc_get_num_devices): Likewise.
   1608 	(acc_set_device_type): Likewise.
   1609 	(acc_get_device_num): Likewise.
   1610 	(acc_set_device_num): Likewise.
   1611 	(acc_on_device): Add comment that argument validity is not checked.
   1612 
   1613 2019-12-03  Andrew Stubbs  <ams (a] codesourcery.com>
   1614 
   1615 	* testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type):
   1616 	Recognize amdgcn.
   1617 	(check_effective_target_openacc_amdgcn_accel_present): New proc.
   1618 	(check_effective_target_openacc_amdgcn_accel_selected): New proc.
   1619 	* testsuite/libgomp.oacc-c++/c++.exp: Add support for amdgcn.
   1620 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   1621 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   1622 
   1623 2019-12-03  Szabolcs Nagy  <szabolcs.nagy (a] arm.com>
   1624 
   1625 	PR libgomp/91938
   1626 	* configure.tgt: Avoid IE tls on *-*-musl*.
   1627 
   1628 2019-11-29  Tobias Burnus  <tobias (a] codesourcery.com>
   1629 
   1630 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Extend by
   1631 	adding a common-block test case.
   1632 
   1633 2019-11-29  Jakub Jelinek  <jakub (a] redhat.com>
   1634 
   1635 	PR c++/60228
   1636 	* testsuite/libgomp.c++/udr-20.C: New test.
   1637 	* testsuite/libgomp.c++/udr-21.C: New test.
   1638 
   1639 2019-11-27  Thomas Schwinge  <thomas (a] codesourcery.com>
   1640 
   1641 	* testsuite/lib/libgomp.exp
   1642 	(check_effective_target_offload_target_nvptx): New proc.
   1643 	* testsuite/libgomp.fortran/target-print-1.f90: Use it with
   1644 	'dg-skip-if'.
   1645 	* testsuite/libgomp.oacc-fortran/print-1.f90: Likewise.
   1646 	* testsuite/libgomp.fortran/target-print-1-nvptx.f90: New file.
   1647 	* testsuite/libgomp.oacc-fortran/print-1-nvptx.f90: Likewise.
   1648 
   1649 2019-11-21  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   1650 
   1651 	* testsuite/libgomp.c/pr39591-1.c: Rename err to e.
   1652 	* testsuite/libgomp.c/pr39591-2.c: Likewise.
   1653 	* testsuite/libgomp.c/pr39591-3.c: Likewise.
   1654 	* testsuite/libgomp.c/private-1.c: Likewise.
   1655 	* testsuite/libgomp.c/task-1.c: Likewise.
   1656 	* testsuite/libgomp.c/task-5.c: Renamed err to serr.
   1657 
   1658 2019-11-20  Julian Brown  <julian (a] codesourcery.com>
   1659 
   1660 	* plugin/plugin-gcn.c (wait_for_queue_nonfull): Don't lock/unlock
   1661 	aq->mutex here.
   1662 	(queue_push_launch): Lock aq->mutex before calling
   1663 	wait_for_queue_nonfull.
   1664 	(queue_push_callback): Likewise.
   1665 	(queue_push_asyncwait): Likewise.
   1666 	(queue_push_placeholder): Likewise.
   1667 
   1668 2019-11-20  Julian Brown  <julian (a] codesourcery.com>
   1669 
   1670 	* plugin/plugin-gcn.c (hsa_memory_copy_wrapper): New.
   1671 	(copy_data, GOMP_OFFLOAD_host2dev): Use above function.
   1672 	(GOMP_OFFLOAD_dev2host, GOMP_OFFLOAD_dev2dev): Check hsa_memory_copy
   1673 	return code.
   1674 
   1675 2019-11-20  Julian Brown  <julian (a] codesourcery.com>
   1676 
   1677 	PR libgomp/92511
   1678 
   1679 	* oacc-mem.c (present_create_copy): Fix device pointer return value in
   1680 	case of "present" subarray.  Use tgt->tgt_start instead of tgt->to_free
   1681 	in non-present/create case.
   1682 	(delete_copyout): Change error condition to fail only on copies outside
   1683 	of mapped block.  Adjust error message accordingly.
   1684 	* testsuite/libgomp.oacc-c-c++-common/copyin-devptr-1.c: New test.
   1685 	* testsuite/libgomp.oacc-c-c++-common/copyin-devptr-2.c: New test.
   1686 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Adjust expected error
   1687 	message.
   1688 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   1689 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Allow test to pass now.
   1690 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   1691 
   1692 2019-11-20  Maciej W. Rozycki  <macro (a] wdc.com>
   1693 
   1694 	* testsuite/lib/libgomp.exp (libgomp_init): Add flags to find
   1695 	libatomic in build-tree testing.
   1696 
   1697 2019-11-18  Maciej W. Rozycki  <macro (a] wdc.com>
   1698 
   1699 	* testsuite/Makefile.in: Regenerate.
   1700 
   1701 2019-11-15  Andrew Stubbs  <ams (a] codesourcery.com>
   1702 
   1703 	* testsuite/libgomp.c/target-print-1.c: New file.
   1704 	* testsuite/libgomp.fortran/target-print-1.f90: New file.
   1705 	* testsuite/libgomp.oacc-c/print-1.c: New file.
   1706 	* testsuite/libgomp.oacc-fortran/print-1.f90: New file.
   1707 
   1708 2019-11-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1709 	    Kwok Cheung Yeung  <kcy (a] codesourcery.com>
   1710 	    Julian Brown  <julian (a] codesourcery.com>
   1711 	    Tom de Vries  <tom (a] codesourcery.com>
   1712 
   1713 	* plugin/Makefrag.am: Add amdgcn plugin support.
   1714 	* plugin/configfrag.ac: Likewise.
   1715 	* plugin/plugin-gcn.c: New file.
   1716 	* configure: Regenerate.
   1717 	* Makefile.in: Regenerate.
   1718 	* testsuite/Makefile.in: Regenerate.
   1719 
   1720 2019-11-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1721 
   1722 	* config/gcn/team.c (gomp_gcn_enter_kernel): Set up the team arena
   1723 	and use team_malloc variants.
   1724 	(gomp_gcn_exit_kernel): Use team_free.
   1725 	* libgomp.h (TEAM_ARENA_SIZE): Define.
   1726 	(TEAM_ARENA_START): Define.
   1727 	(TEAM_ARENA_FREE): Define.
   1728 	(TEAM_ARENA_END): Define.
   1729 	(team_malloc): New function.
   1730 	(team_malloc_cleared): New function.
   1731 	(team_free): New function.
   1732 	* team.c (gomp_new_team): Initialize and use team_malloc.
   1733 	(free_team): Use team_free.
   1734 	(gomp_free_thread): Use team_free.
   1735 	(gomp_pause_host): Use team_free.
   1736 	* work.c (gomp_init_work_share): Use team_malloc.
   1737 	(gomp_fini_work_share): Use team_free.
   1738 
   1739 2019-11-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1740 	    Kwok Cheung Yeung  <kcy (a] codesourcery.com>
   1741 	    Julian Brown  <julian (a] codesourcery.com>
   1742 	    Tom de Vries  <tom (a] codesourcery.com>
   1743 
   1744 	* Makefile.am (libgomp_la_SOURCES): Add oacc-target.c.
   1745 	* Makefile.in: Regenerate.
   1746 	* config.h.in (PLUGIN_GCN): Add new undef.
   1747 	* config/accel/openacc.f90 (acc_device_gcn): New parameter.
   1748 	* config/gcn/affinity-fmt.c: New file.
   1749 	* config/gcn/bar.c: New file.
   1750 	* config/gcn/bar.h: New file.
   1751 	* config/gcn/doacross.h: New file.
   1752 	* config/gcn/icv-device.c: New file.
   1753 	* config/gcn/oacc-target.c: New file.
   1754 	* config/gcn/simple-bar.h: New file.
   1755 	* config/gcn/target.c: New file.
   1756 	* config/gcn/task.c: New file.
   1757 	* config/gcn/team.c: New file.
   1758 	* config/gcn/time.c: New file.
   1759 	* configure.ac: Add amdgcn*-*-*.
   1760 	* configure: Regenerate.
   1761 	* configure.tgt: Add amdgcn*-*-*.
   1762 	* libgomp-plugin.h (offload_target_type): Add OFFLOAD_TARGET_TYPE_GCN.
   1763 	* libgomp.h (gcn_thrs): Add amdgcn variant.
   1764 	(set_gcn_thrs): Likewise.
   1765 	(gomp_thread): Likewise.
   1766 	* oacc-int.h (goacc_thread): Likewise.
   1767 	* oacc-target.c: New file.
   1768 	* openacc.f90 (acc_device_gcn): New parameter.
   1769 	* openacc.h (acc_device_t): Add acc_device_gcn.
   1770 	* team.c (gomp_free_pool_helper): Add amdgcn support.
   1771 
   1772 2019-11-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1773 	    Julian Brown  <julian (a] codesourcery.com>
   1774 
   1775 	* libgomp-plugin.h (GOMP_OFFLOAD_openacc_async_construct): Add int
   1776 	parameter.
   1777 	* oacc-async.c (lookup_goacc_asyncqueue): Pass device number to the
   1778 	queue constructor.
   1779 	* oacc-host.c (host_openacc_async_construct): Add device parameter.
   1780 	* plugin/plugin-nvptx.c (GOMP_OFFLOAD_openacc_async_construct): Add
   1781 	device parameter.
   1782 
   1783 2019-11-13  Andrew Stubbs  <ams (a] codesourcery.com>
   1784 
   1785 	* configure.tgt (nvptx*-*-*): Add "accel" directory.
   1786 	* config/nvptx/libgomp-plugin.c: Move ...
   1787 	* config/accel/libgomp-plugin.c: ... to here.
   1788 	* config/nvptx/lock.c: Move ...
   1789 	* config/accel/lock.c: ... to here.
   1790 	* config/nvptx/mutex.c: Move ...
   1791 	* config/accel/mutex.c: ... to here.
   1792 	* config/nvptx/mutex.h: Move ...
   1793 	* config/accel/mutex.h: ... to here.
   1794 	* config/nvptx/oacc-async.c: Move ...
   1795 	* config/accel/oacc-async.c: ... to here.
   1796 	* config/nvptx/oacc-cuda.c: Move ...
   1797 	* config/accel/oacc-cuda.c: ... to here.
   1798 	* config/nvptx/oacc-host.c: Move ...
   1799 	* config/accel/oacc-host.c: ... to here.
   1800 	* config/nvptx/oacc-init.c: Move ...
   1801 	* config/accel/oacc-init.c: ... to here.
   1802 	* config/nvptx/oacc-mem.c: Move ...
   1803 	* config/accel/oacc-mem.c: ... to here.
   1804 	* config/nvptx/oacc-plugin.c: Move ...
   1805 	* config/accel/oacc-plugin.c: ... to here.
   1806 	* config/nvptx/omp-lock.h: Move ...
   1807 	* config/accel/omp-lock.h: ... to here.
   1808 	* config/nvptx/openacc.f90: Move ...
   1809 	* config/accel/openacc.f90: ... to here.
   1810 	* config/nvptx/pool.h: Move ...
   1811 	* config/accel/pool.h: ... to here.
   1812 	* config/nvptx/proc.c: Move ...
   1813 	* config/accel/proc.c: ... to here.
   1814 	* config/nvptx/ptrlock.c: Move ...
   1815 	* config/accel/ptrlock.c: ... to here.
   1816 	* config/nvptx/ptrlock.h: Move ...
   1817 	* config/accel/ptrlock.h: ... to here.
   1818 	* config/nvptx/sem.c: Move ...
   1819 	* config/accel/sem.c: ... to here.
   1820 	* config/nvptx/sem.h: Move ...
   1821 	* config/accel/sem.h: ... to here.
   1822 	* config/nvptx/thread-stacksize.h: Move ...
   1823 	* config/accel/thread-stacksize.h: ... to here.
   1824 
   1825 2019-11-12  Maciej W. Rozycki  <macro (a] codesourcery.com>
   1826 	    Tobias Burnus  <tobias (a] codesourcery.com>
   1827 	    Frederik Harwath  <frederik (a] codesourcery.com>
   1828 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   1829 
   1830 	libgomp/
   1831 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: New test.
   1832 	* testsuite/libgomp.oacc-fortran/parallel-dims-aux.c: New test.
   1833 	* testsuite/libgomp.oacc-fortran/parallel-dims.f89: New test.
   1834 
   1835 2019-11-11  Tobias Burnus  <tobias (a] codesourcery.com>
   1836 	    Kwok Cheung Yeung  <kcy (a] codesourcery.com>
   1837 
   1838 	* testsuite/libgomp.fortran/use_device_ptr-optional-1.f90: Extend.
   1839 	* testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: New.
   1840 
   1841 2019-11-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   1842 
   1843 	* testsuite/libgomp.fortran/target9.f90: Specify 'dg-do run'.
   1844 
   1845 	* testsuite/libgomp.fortran/use_device_addr-3.f90: Specify 'dg-do
   1846 	run'.
   1847 	* testsuite/libgomp.fortran/use_device_addr-4.f90: Likewise.
   1848 	* testsuite/libgomp.fortran/use_device_ptr-1.f90: Likewise.
   1849 
   1850 2019-11-06  Thomas Schwinge  <thomas (a] codesourcery.com>
   1851 
   1852 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c:
   1853 	Add expected warnings about missing reduction clauses.
   1854 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c:
   1855 	Likewise.
   1856 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c:
   1857 	Likewise.
   1858 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c:
   1859 	Likewise.
   1860 
   1861 2019-11-04  Tobias Burnus  <tobias (a] codesourcery.com>
   1862 
   1863 	* testsuite/libgomp.fortran/pr66199-1.f90: Remove
   1864 	'dg-do run' (implies torture test) as 'dg-options "O2"' is used.
   1865 	* testsuite/libgomp.fortran/pr66199-2.f90: Ditto.
   1866 	* testsuite/libgomp.fortran/taskloop2.f90: Ditto.
   1867 	* testsuite/libgomp.fortran/taskloop3.f90: Ditto.
   1868 	* testsuite/libgomp.fortran/taskloop4.f90: Ditto.
   1869 
   1870 2019-11-04  Tobias Burnus  <tobias (a] codesourcery.com>
   1871 
   1872 	PR fortran/92305
   1873 	* testsuite/libgomp.fortran/allocatable2.f90: Use
   1874 	unique numbers with 'stop'.
   1875 	* testsuite/libgomp.fortran/use_device_addr-1.f90: Ditto.
   1876 	* testsuite/libgomp.fortran/use_device_addr-2.f90: Ditto.
   1877 	* testsuite/libgomp.fortran/use_device_ptr-1.f90: Ditto.
   1878 	* testsuite/libgomp.oacc-fortran/lib-15.f90: Ditto.
   1879 	* testsuite/libgomp.oacc-fortran/pset-1.f90: Ditto.
   1880 
   1881 2019-11-01  Tobias Burnus  <tobias (a] codesourcery.com>
   1882 
   1883 	* testsuite/libgomp.fortran/use_device_addr-1.f90 (test_nullptr_1,
   1884 	test_dummy_opt_nullptr_callee_1): Add present but unallocated test.
   1885 	* testsuite/libgomp.fortran/use_device_addr-2.f90: Likewise.
   1886 	* testsuite/libgomp.fortran/use_device_addr-3.f90: New.
   1887 	* testsuite/libgomp.fortran/use_device_addr-4.f90: New.
   1888 	* testsuite/testsuite/libgomp.fortran/use_device_ptr-1.f90: New.
   1889 
   1890 2019-10-30  Tobias Burnus  <tobias (a] codesourcery.com>
   1891 
   1892 	* testsuite/libgomp.fortran/target9.f90: New.
   1893 
   1894 2019-10-30  Tobias Burnus  <tobias (a] codesourcery.com>
   1895 
   1896 	* testsuite/libgomp.fortran/aligned1.f03: Replace 'STOP' by 'stop'.
   1897 	* testsuite/libgomp.fortran/alloc-comp-1.f90: Ditto.
   1898 	* testsuite/libgomp.fortran/alloc-comp-2.f90: Ditto.
   1899 	* testsuite/libgomp.fortran/alloc-comp-3.f90: Ditto.
   1900 	* testsuite/libgomp.fortran/allocatable1.f90: Ditto.
   1901 	* testsuite/libgomp.fortran/allocatable10.f90: Ditto.
   1902 	* testsuite/libgomp.fortran/allocatable11.f90: Ditto.
   1903 	* testsuite/libgomp.fortran/allocatable12.f90: Ditto.
   1904 	* testsuite/libgomp.fortran/allocatable2.f90: Ditto.
   1905 	* testsuite/libgomp.fortran/allocatable3.f90: Ditto.
   1906 	* testsuite/libgomp.fortran/allocatable4.f90: Ditto.
   1907 	* testsuite/libgomp.fortran/allocatable5.f90: Ditto.
   1908 	* testsuite/libgomp.fortran/allocatable6.f90: Ditto.
   1909 	* testsuite/libgomp.fortran/allocatable7.f90: Ditto.
   1910 	* testsuite/libgomp.fortran/allocatable8.f90: Ditto.
   1911 	* testsuite/libgomp.fortran/allocatable9.f90: Ditto.
   1912 	* testsuite/libgomp.fortran/associate1.f90: Ditto.
   1913 	* testsuite/libgomp.fortran/associate2.f90: Ditto.
   1914 	* testsuite/libgomp.fortran/associate3.f90: Ditto.
   1915 	* testsuite/libgomp.fortran/async_io_4.f90: Ditto.
   1916 	* testsuite/libgomp.fortran/async_io_5.f90: Ditto.
   1917 	* testsuite/libgomp.fortran/async_io_6.f90: Ditto.
   1918 	* testsuite/libgomp.fortran/async_io_7.f90: Ditto.
   1919 	* testsuite/libgomp.fortran/cancel-do-1.f90: Ditto.
   1920 	* testsuite/libgomp.fortran/cancel-do-2.f90: Ditto.
   1921 	* testsuite/libgomp.fortran/cancel-parallel-1.f90: Ditto.
   1922 	* testsuite/libgomp.fortran/cancel-sections-1.f90: Ditto.
   1923 	* testsuite/libgomp.fortran/cancel-taskgroup-2.f90: Ditto.
   1924 	* testsuite/libgomp.fortran/character1.f90: Ditto.
   1925 	* testsuite/libgomp.fortran/character2.f90: Ditto.
   1926 	* testsuite/libgomp.fortran/collapse1.f90: Ditto.
   1927 	* testsuite/libgomp.fortran/collapse2.f90: Ditto.
   1928 	* testsuite/libgomp.fortran/collapse3.f90: Ditto.
   1929 	* testsuite/libgomp.fortran/collapse4.f90: Ditto.
   1930 	* testsuite/libgomp.fortran/crayptr1.f90: Ditto.
   1931 	* testsuite/libgomp.fortran/crayptr2.f90: Ditto.
   1932 	* testsuite/libgomp.fortran/crayptr3.f90: Ditto.
   1933 	* testsuite/libgomp.fortran/declare-simd-1.f90: Ditto.
   1934 	* testsuite/libgomp.fortran/declare-simd-3.f90: Ditto.
   1935 	* testsuite/libgomp.fortran/declare-target-2.f90: Ditto.
   1936 	* testsuite/libgomp.fortran/depend-1.f90: Ditto.
   1937 	* testsuite/libgomp.fortran/depend-2.f90: Ditto.
   1938 	* testsuite/libgomp.fortran/depend-3.f90: Ditto.
   1939 	* testsuite/libgomp.fortran/do1.f90: Ditto.
   1940 	* testsuite/libgomp.fortran/do2.f90: Ditto.
   1941 	* testsuite/libgomp.fortran/do_concurrent_5.f90: Ditto.
   1942 	* testsuite/libgomp.fortran/doacross1.f90: Ditto.
   1943 	* testsuite/libgomp.fortran/doacross2.f90: Ditto.
   1944 	* testsuite/libgomp.fortran/doacross3.f90: Ditto.
   1945 	* testsuite/libgomp.fortran/examples-4/array_sections-3.f90: Ditto.
   1946 	* testsuite/libgomp.fortran/examples-4/array_sections-4.f90: Ditto.
   1947 	* testsuite/libgomp.fortran/examples-4/async_target-1.f90: Ditto.
   1948 	* testsuite/libgomp.fortran/examples-4/async_target-2.f90: Ditto.
   1949 	* testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Ditto.
   1950 	* testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Ditto.
   1951 	* testsuite/libgomp.fortran/examples-4/declare_target-3.f90: Ditto.
   1952 	* testsuite/libgomp.fortran/examples-4/declare_target-4.f90: Ditto.
   1953 	* testsuite/libgomp.fortran/examples-4/declare_target-5.f90: Ditto.
   1954 	* testsuite/libgomp.fortran/examples-4/device-1.f90: Ditto.
   1955 	* testsuite/libgomp.fortran/examples-4/device-2.f90: Ditto.
   1956 	* testsuite/libgomp.fortran/examples-4/device-3.f90: Ditto.
   1957 	* testsuite/libgomp.fortran/examples-4/simd-1.f90: Ditto.
   1958 	* testsuite/libgomp.fortran/examples-4/simd-2.f90: Ditto.
   1959 	* testsuite/libgomp.fortran/examples-4/simd-3.f90: Ditto.
   1960 	* testsuite/libgomp.fortran/examples-4/simd-4.f90: Ditto.
   1961 	* testsuite/libgomp.fortran/examples-4/simd-5.f90: Ditto.
   1962 	* testsuite/libgomp.fortran/examples-4/simd-6.f90: Ditto.
   1963 	* testsuite/libgomp.fortran/examples-4/simd-7.f90: Ditto.
   1964 	* testsuite/libgomp.fortran/examples-4/simd-8.f90: Ditto.
   1965 	* testsuite/libgomp.fortran/examples-4/target-1.f90: Ditto.
   1966 	* testsuite/libgomp.fortran/examples-4/target-2.f90: Ditto.
   1967 	* testsuite/libgomp.fortran/examples-4/target-3.f90: Ditto.
   1968 	* testsuite/libgomp.fortran/examples-4/target-4.f90: Ditto.
   1969 	* testsuite/libgomp.fortran/examples-4/target-5.f90: Ditto.
   1970 	* testsuite/libgomp.fortran/examples-4/target_data-1.f90: Ditto.
   1971 	* testsuite/libgomp.fortran/examples-4/target_data-2.f90: Ditto.
   1972 	* testsuite/libgomp.fortran/examples-4/target_data-3.f90: Ditto.
   1973 	* testsuite/libgomp.fortran/examples-4/target_data-4.f90: Ditto.
   1974 	* testsuite/libgomp.fortran/examples-4/target_data-5.f90: Ditto.
   1975 	* testsuite/libgomp.fortran/examples-4/target_data-6.f90: Ditto.
   1976 	* testsuite/libgomp.fortran/examples-4/target_data-7.f90: Ditto.
   1977 	* testsuite/libgomp.fortran/examples-4/target_update-1.f90: Ditto.
   1978 	* testsuite/libgomp.fortran/examples-4/target_update-2.f90: Ditto.
   1979 	* testsuite/libgomp.fortran/examples-4/task_dep-1.f90: Ditto.
   1980 	* testsuite/libgomp.fortran/examples-4/task_dep-2.f90: Ditto.
   1981 	* testsuite/libgomp.fortran/examples-4/task_dep-3.f90: Ditto.
   1982 	* testsuite/libgomp.fortran/examples-4/task_dep-4.f90: Ditto.
   1983 	* testsuite/libgomp.fortran/examples-4/task_dep-5.f90: Ditto.
   1984 	* testsuite/libgomp.fortran/examples-4/teams-2.f90: Ditto.
   1985 	* testsuite/libgomp.fortran/examples-4/teams-3.f90: Ditto.
   1986 	* testsuite/libgomp.fortran/examples-4/teams-4.f90: Ditto.
   1987 	* testsuite/libgomp.fortran/examples-4/teams-5.f90: Ditto.
   1988 	* testsuite/libgomp.fortran/examples-4/teams-6.f90: Ditto.
   1989 	* testsuite/libgomp.fortran/lastprivate1.f90: Ditto.
   1990 	* testsuite/libgomp.fortran/lastprivate2.f90: Ditto.
   1991 	* testsuite/libgomp.fortran/lib1.f90: Ditto.
   1992 	* testsuite/libgomp.fortran/lib4.f90: Ditto.
   1993 	* testsuite/libgomp.fortran/lock-1.f90: Ditto.
   1994 	* testsuite/libgomp.fortran/lock-2.f90: Ditto.
   1995 	* testsuite/libgomp.fortran/nested1.f90: Ditto.
   1996 	* testsuite/libgomp.fortran/nestedfn1.f90: Ditto.
   1997 	* testsuite/libgomp.fortran/nestedfn2.f90: Ditto.
   1998 	* testsuite/libgomp.fortran/nestedfn3.f90: Ditto.
   1999 	* testsuite/libgomp.fortran/nestedfn4.f90: Ditto.
   2000 	* testsuite/libgomp.fortran/nestedfn5.f90: Ditto.
   2001 	* testsuite/libgomp.fortran/omp_atomic1.f90: Ditto.
   2002 	* testsuite/libgomp.fortran/omp_atomic2.f90: Ditto.
   2003 	* testsuite/libgomp.fortran/omp_atomic3.f90: Ditto.
   2004 	* testsuite/libgomp.fortran/omp_atomic4.f90: Ditto.
   2005 	* testsuite/libgomp.fortran/omp_atomic5.f90: Ditto.
   2006 	* testsuite/libgomp.fortran/omp_cond1.f: Ditto.
   2007 	* testsuite/libgomp.fortran/omp_cond2.f: Ditto.
   2008 	* testsuite/libgomp.fortran/omp_cond3.F90: Ditto.
   2009 	* testsuite/libgomp.fortran/omp_cond4.F90: Ditto.
   2010 	* testsuite/libgomp.fortran/omp_parse1.f90: Ditto.
   2011 	* testsuite/libgomp.fortran/omp_parse2.f90: Ditto.
   2012 	* testsuite/libgomp.fortran/omp_parse3.f90: Ditto.
   2013 	* testsuite/libgomp.fortran/omp_parse4.f90: Ditto.
   2014 	* testsuite/libgomp.fortran/openmp_version-1.f: Ditto.
   2015 	* testsuite/libgomp.fortran/openmp_version-2.f90: Ditto.
   2016 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: Ditto.
   2017 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: Ditto.
   2018 	* testsuite/libgomp.fortran/pointer1.f90: Ditto.
   2019 	* testsuite/libgomp.fortran/pointer2.f90: Ditto.
   2020 	* testsuite/libgomp.fortran/pr25219.f90: Ditto.
   2021 	* testsuite/libgomp.fortran/pr27395-1.f90: Ditto.
   2022 	* testsuite/libgomp.fortran/pr27395-2.f90: Ditto.
   2023 	* testsuite/libgomp.fortran/pr27416-1.f90: Ditto.
   2024 	* testsuite/libgomp.fortran/pr27916-1.f90: Ditto.
   2025 	* testsuite/libgomp.fortran/pr27916-2.f90: Ditto.
   2026 	* testsuite/libgomp.fortran/pr28390.f: Ditto.
   2027 	* testsuite/libgomp.fortran/pr29629.f90: Ditto.
   2028 	* testsuite/libgomp.fortran/pr32550.f90: Ditto.
   2029 	* testsuite/libgomp.fortran/pr33880.f90: Ditto.
   2030 	* testsuite/libgomp.fortran/pr34020.f90: Ditto.
   2031 	* testsuite/libgomp.fortran/pr35130.f90: Ditto.
   2032 	* testsuite/libgomp.fortran/pr42162.f90: Ditto.
   2033 	* testsuite/libgomp.fortran/pr46753.f90: Ditto.
   2034 	* testsuite/libgomp.fortran/pr48894.f90: Ditto.
   2035 	* testsuite/libgomp.fortran/pr49792-1.f90: Ditto.
   2036 	* testsuite/libgomp.fortran/pr49792-2.f90: Ditto.
   2037 	* testsuite/libgomp.fortran/pr63938-1.f90: Ditto.
   2038 	* testsuite/libgomp.fortran/pr63938-2.f90: Ditto.
   2039 	* testsuite/libgomp.fortran/pr65597.f90: Ditto.
   2040 	* testsuite/libgomp.fortran/pr66199-1.f90: Ditto.
   2041 	* testsuite/libgomp.fortran/pr71014.f90: Ditto.
   2042 	* testsuite/libgomp.fortran/pr81304.f90: Ditto.
   2043 	* testsuite/libgomp.fortran/pr81841.f90: Ditto.
   2044 	* testsuite/libgomp.fortran/pr84418-1.f90: Ditto.
   2045 	* testsuite/libgomp.fortran/pr84418-2.f90: Ditto.
   2046 	* testsuite/libgomp.fortran/procptr1.f90: Ditto.
   2047 	* testsuite/libgomp.fortran/recursion1.f90: Ditto.
   2048 	* testsuite/libgomp.fortran/reduction1.f90: Ditto.
   2049 	* testsuite/libgomp.fortran/reduction2.f90: Ditto.
   2050 	* testsuite/libgomp.fortran/reduction3.f90: Ditto.
   2051 	* testsuite/libgomp.fortran/reduction4.f90: Ditto.
   2052 	* testsuite/libgomp.fortran/reduction5.f90: Ditto.
   2053 	* testsuite/libgomp.fortran/reduction6.f90: Ditto.
   2054 	* testsuite/libgomp.fortran/reference1.f90: Ditto.
   2055 	* testsuite/libgomp.fortran/reference2.f90: Ditto.
   2056 	* testsuite/libgomp.fortran/retval1.f90: Ditto.
   2057 	* testsuite/libgomp.fortran/retval2.f90: Ditto.
   2058 	* testsuite/libgomp.fortran/sharing1.f90: Ditto.
   2059 	* testsuite/libgomp.fortran/sharing2.f90: Ditto.
   2060 	* testsuite/libgomp.fortran/simd1.f90: Ditto.
   2061 	* testsuite/libgomp.fortran/simd2.f90: Ditto.
   2062 	* testsuite/libgomp.fortran/simd3.f90: Ditto.
   2063 	* testsuite/libgomp.fortran/simd4.f90: Ditto.
   2064 	* testsuite/libgomp.fortran/simd5.f90: Ditto.
   2065 	* testsuite/libgomp.fortran/simd6.f90: Ditto.
   2066 	* testsuite/libgomp.fortran/simd7.f90: Ditto.
   2067 	* testsuite/libgomp.fortran/stack.f90: Ditto.
   2068 	* testsuite/libgomp.fortran/strassen.f90: Ditto.
   2069 	* testsuite/libgomp.fortran/tabs1.f90: Ditto.
   2070 	* testsuite/libgomp.fortran/tabs2.f: Ditto.
   2071 	* testsuite/libgomp.fortran/target1.f90: Ditto.
   2072 	* testsuite/libgomp.fortran/target2.f90: Ditto.
   2073 	* testsuite/libgomp.fortran/target3.f90: Ditto.
   2074 	* testsuite/libgomp.fortran/target4.f90: Ditto.
   2075 	* testsuite/libgomp.fortran/target5.f90: Ditto.
   2076 	* testsuite/libgomp.fortran/target6.f90: Ditto.
   2077 	* testsuite/libgomp.fortran/target7.f90: Ditto.
   2078 	* testsuite/libgomp.fortran/target8.f90: Ditto.
   2079 	* testsuite/libgomp.fortran/task1.f90: Ditto.
   2080 	* testsuite/libgomp.fortran/task2.f90: Ditto.
   2081 	* testsuite/libgomp.fortran/task3.f90: Ditto.
   2082 	* testsuite/libgomp.fortran/task4.f90: Ditto.
   2083 	* testsuite/libgomp.fortran/taskgroup1.f90: Ditto.
   2084 	* testsuite/libgomp.fortran/taskloop1.f90: Ditto.
   2085 	* testsuite/libgomp.fortran/taskloop2.f90: Ditto.
   2086 	* testsuite/libgomp.fortran/taskloop3.f90: Ditto.
   2087 	* testsuite/libgomp.fortran/taskloop4.f90: Ditto.
   2088 	* testsuite/libgomp.fortran/threadprivate1.f90: Ditto.
   2089 	* testsuite/libgomp.fortran/threadprivate2.f90: Ditto.
   2090 	* testsuite/libgomp.fortran/threadprivate3.f90: Ditto.
   2091 	* testsuite/libgomp.fortran/threadprivate4.f90: Ditto.
   2092 	* testsuite/libgomp.fortran/udr1.f90: Ditto.
   2093 	* testsuite/libgomp.fortran/udr10.f90: Ditto.
   2094 	* testsuite/libgomp.fortran/udr11.f90: Ditto.
   2095 	* testsuite/libgomp.fortran/udr12.f90: Ditto.
   2096 	* testsuite/libgomp.fortran/udr13.f90: Ditto.
   2097 	* testsuite/libgomp.fortran/udr14.f90: Ditto.
   2098 	* testsuite/libgomp.fortran/udr15.f90: Ditto.
   2099 	* testsuite/libgomp.fortran/udr2.f90: Ditto.
   2100 	* testsuite/libgomp.fortran/udr3.f90: Ditto.
   2101 	* testsuite/libgomp.fortran/udr4.f90: Ditto.
   2102 	* testsuite/libgomp.fortran/udr5.f90: Ditto.
   2103 	* testsuite/libgomp.fortran/udr6.f90: Ditto.
   2104 	* testsuite/libgomp.fortran/udr7.f90: Ditto.
   2105 	* testsuite/libgomp.fortran/udr8.f90: Ditto.
   2106 	* testsuite/libgomp.fortran/udr9.f90: Ditto.
   2107 	* testsuite/libgomp.fortran/vla1.f90: Ditto.
   2108 	* testsuite/libgomp.fortran/vla2.f90: Ditto.
   2109 	* testsuite/libgomp.fortran/vla3.f90: Ditto.
   2110 	* testsuite/libgomp.fortran/vla4.f90: Ditto.
   2111 	* testsuite/libgomp.fortran/vla5.f90: Ditto.
   2112 	* testsuite/libgomp.fortran/vla6.f90: Ditto.
   2113 	* testsuite/libgomp.fortran/vla7.f90: Ditto.
   2114 	* testsuite/libgomp.fortran/vla8.f90: Ditto.
   2115 	* testsuite/libgomp.fortran/workshare1.f90: Ditto.
   2116 	* testsuite/libgomp.fortran/workshare2.f90: Ditto.
   2117 
   2118 2019-10-30  Tobias Burnus  <tobias (a] codesourcery.com>
   2119 
   2120 	* testsuite/libgomp.fortran/target-simd.f90: Use stop not abort.
   2121 	* testsuite/libgomp.fortran/use_device_ptr-optional-1.f90:
   2122 	Ditto; add 'dg-do run' for torture testing.
   2123 	* testsuite/libgomp.fortran/lastprivate1.f90:  Add 'dg-do run'.
   2124 	* testsuite/libgomp.fortran/lastprivate2.f90: Ditto.
   2125 	* testsuite/libgomp.fortran/nestedfn4.f90: Ditto.
   2126 	* testsuite/libgomp.fortran/pr25219.f90: Ditto.
   2127 	* testsuite/libgomp.fortran/pr28390.f: Ditto.
   2128 	* testsuite/libgomp.fortran/pr35130.f90: Ditto.
   2129 	* testsuite/libgomp.fortran/pr90779.f90: Ditto.
   2130 	* testsuite/libgomp.fortran/task2.f90: Ditto.
   2131 	* testsuite/libgomp.fortran/taskgroup1.f90: Ditto.
   2132 	* testsuite/libgomp.fortran/taskloop1.f90: Ditto.
   2133 	* testsuite/libgomp.fortran/use_device_addr-1.f90: Ditto.
   2134 	* testsuite/libgomp.fortran/use_device_addr-2.f90: Ditto.
   2135 	* testsuite/libgomp.fortran/workshare1.f90: Ditto.
   2136 	* testsuite/libgomp.fortran/workshare2.f90: Ditto.
   2137 
   2138 2019-10-28  Tobias Burnus  <tobias (a] codesourcery.com>
   2139 
   2140 	* testsuite/libgomp.oacc-fortran/abort-1.f90: Add 'dg-do run'.
   2141 	* testsuite/libgomp.oacc-fortran/abort-2.f90: Ditto.
   2142 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Ditto.
   2143 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f90: Ditto.
   2144 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f90: Ditto.
   2145 	* testsuite/libgomp.oacc-fortran/lib-1.f90: Ditto.
   2146 	* testsuite/libgomp.oacc-fortran/common-block-1.f90:
   2147 	Use 'stop' not abort().
   2148 	* testsuite/libgomp.oacc-fortran/common-block-2.f90: Ditto.
   2149 	* testsuite/libgomp.oacc-fortran/common-block-3.f90: Ditto.
   2150 	* testsuite/libgomp.oacc-fortran/data-1.f90: Ditto.
   2151 	* testsuite/libgomp.oacc-fortran/data-2.f90: Ditto.
   2152 	* testsuite/libgomp.oacc-fortran/data-5.f90: Ditto.
   2153 	* testsuite/libgomp.oacc-fortran/dummy-array.f90: Ditto.
   2154 	* testsuite/libgomp.oacc-fortran/gemm-2.f90: Ditto.
   2155 	* testsuite/libgomp.oacc-fortran/gemm.f90: Ditto.
   2156 	* testsuite/libgomp.oacc-fortran/host_data-2.f90: Ditto.
   2157 	* testsuite/libgomp.oacc-fortran/host_data-3.f90: Ditto.
   2158 	* testsuite/libgomp.oacc-fortran/host_data-4.f90: Ditto.
   2159 	* testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Ditto.
   2160 	* testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Ditto.
   2161 	* testsuite/libgomp.oacc-fortran/kernels-independent.f90: Ditto.
   2162 	* testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Ditto.
   2163 	* testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Ditto.
   2164 	* testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95:
   2165 	Ditto.
   2166 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90:
   2167 	Ditto.
   2168 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90:
   2169 	Ditto.
   2170 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90:
   2171 	Ditto.
   2172 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90:
   2173 	Ditto.
   2174 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-vector-1.f90:
   2175 	Ditto.
   2176 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-vector-2.f90:
   2177 	Ditto.
   2178 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-1.f90:
   2179 	Ditto.
   2180 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-2.f90:
   2181 	Ditto.
   2182 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-3.f90:
   2183 	Ditto.
   2184 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-4.f90:
   2185 	Ditto.
   2186 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-5.f90:
   2187 	Ditto.
   2188 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-6.f90:
   2189 	Ditto.
   2190 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-7.f90:
   2191 	Ditto.
   2192 	* testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: Ditto.
   2193 	* testsuite/libgomp.oacc-fortran/lib-12.f90: Ditto.
   2194 	* testsuite/libgomp.oacc-fortran/lib-13.f90: Ditto.
   2195 	* testsuite/libgomp.oacc-fortran/lib-14.f90: Ditto.
   2196 	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90:
   2197 	Likewise and also add 'dg-do run'.
   2198 	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90:
   2199 	Ditto.
   2200 
   2201 2019-10-25  Cesar Philippidis <cesar (a] codesourcery.com>
   2202 	    Tobias Burnus  <tobias (a] codesourcery.com>
   2203 
   2204 	* testsuite/libgomp.oacc-fortran/common-block-1.f90: New test.
   2205 	* testsuite/libgomp.oacc-fortran/common-block-2.f90: New test.
   2206 	* testsuite/libgomp.oacc-fortran/common-block-3.f90: New test.
   2207 
   2208 2019-10-14  Jakub Jelinek  <jakub (a] redhat.com>
   2209 
   2210 	PR libgomp/92081
   2211 	* testsuite/libgomp.fortran/target-simd.f90: Iterate from 1 rather
   2212 	than 0.
   2213 
   2214 2019-10-11  Tobias Burnus  <tobias (a] codesourcery.com>
   2215 
   2216 	* testsuite/libgomp.fortran/use_device_addr-1.f90: New.
   2217 	* testsuite/libgomp.fortran/use_device_addr-2.f90: New.
   2218 
   2219 2019-10-09  Thomas Schwinge  <thomas (a] codesourcery.com>
   2220 
   2221 	PR middle-end/92036
   2222 	* testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: New
   2223 	file.
   2224 
   2225 2019-10-09  Tobias Burnus  <tobias (a] codesourcery.com>
   2226 
   2227 	PR testsuite/91884
   2228 	* testsuite/libgomp.fortran/fortran.exp: Conditionally
   2229 	add -lquadmath.
   2230 	* testsuite/libgomp.oacc-fortran/fortran.exp: Ditto.
   2231 
   2232 2019-10-09  Jakub Jelinek  <jakub (a] redhat.com>
   2233 
   2234 	PR libgomp/92028
   2235 	* target.c (gomp_map_vars_internal): Readd the previous
   2236 	GOMP_MAP_USE_DEVICE_PTR handling code in the first loop,
   2237 	though do that just in the !not_found_cnt case.
   2238 
   2239 2019-10-08  Tobias Burnus  <tobias (a] codesourcery.com>
   2240 
   2241 	* gfortran.dg/gomp/target-simd.f90: New.
   2242 
   2243 2019-10-02  Julian Brown  <julian (a] codesourcery.com>
   2244 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   2245 
   2246 	* libgomp.h (OFFSET_INLINED, OFFSET_POINTER, OFFSET_STRUCT): Define.
   2247 	* target.c (FIELD_TGT_EMPTY): Define.
   2248 	(gomp_map_val): Use OFFSET_* macros instead of magic constants.  Write
   2249 	as switch instead of list of ifs.
   2250 	(gomp_map_vars_internal): Use OFFSET_* and FIELD_TGT_EMPTY macros.
   2251 
   2252 2019-10-02  Andreas Tobler  <andreast (a] gcc.gnu.org>
   2253 
   2254 	* testsuite/libgomp.oacc-c-c++-common/loop-default.h: Remove alloca.h
   2255 	include. Replace alloca () with __builtin_alloca ().
   2256 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Likewise.
   2257 
   2258 2019-10-01  Jakub Jelinek  <jakub (a] redhat.com>
   2259 
   2260 	* configure.ac: Remove GCC_HEADER_STDINT(gstdint.h).
   2261 	* libgomp.h: Include <stdint.h> instead of "gstdint.h".
   2262 	* oacc-parallel.c: Don't include "libgomp_g.h".
   2263 	* plugin/plugin-hsa.c: Include <stdint.h> instead of "gstdint.h".
   2264 	* plugin/plugin-nvptx.c: Don't include "gstdint.h".
   2265 	* aclocal.m4: Regenerated.
   2266 	* config.h.in: Regenerated.
   2267 	* configure: Regenerated.
   2268 	* Makefile.in: Regenerated.
   2269 
   2270 2019-09-30  Kwok Cheung Yeung  <kcy (a] codesourcery.com>
   2271 
   2272 	* libgomp_g.h: Include stdint.h instead of gstdint.h.
   2273 
   2274 2019-09-27  Maciej W. Rozycki  <macro (a] wdc.com>
   2275 
   2276 	* configure: Regenerate.
   2277 
   2278 2019-09-13  Tobias Burnus  <tobias (a] codesourcery.com>
   2279 
   2280 	* plugin/plugin-hsa.c (hsa_warn, hsa_fatal, hsa_error): Ensure
   2281 	string is initialized.
   2282 
   2283 2019-09-06  Florian Weimer  <fweimer (a] redhat.com>
   2284 
   2285 	* configure: Regenerate.
   2286 
   2287 2019-09-03  Chung-Lin Tang  <cltang (a] codesourcery.com>
   2288 
   2289 	PR other/79543
   2290 	* acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Fix GNU ld --version
   2291 	scanning to conform to the GNU Coding Standards.
   2292 	* configure: Regenerate.
   2293 
   2294 2019-08-28  Jakub Jelinek  <jakub (a] redhat.com>
   2295 
   2296 	PR libgomp/91530
   2297 	* testsuite/libgomp.c/scan-21.c: New test.
   2298 	* testsuite/libgomp.c/scan-22.c: New test.
   2299 
   2300 2019-08-27  Jakub Jelinek  <jakub (a] redhat.com>
   2301 
   2302 	PR libgomp/91530
   2303 	* testsuite/libgomp.c/scan-11.c: Add -msse2 option for sse2_runtime
   2304 	targets.
   2305 	* testsuite/libgomp.c/scan-12.c: Likewise.
   2306 	* testsuite/libgomp.c/scan-13.c: Likewise.
   2307 	* testsuite/libgomp.c/scan-14.c: Likewise.
   2308 	* testsuite/libgomp.c/scan-15.c: Likewise.
   2309 	* testsuite/libgomp.c/scan-16.c: Likewise.
   2310 	* testsuite/libgomp.c/scan-17.c: Likewise.
   2311 	* testsuite/libgomp.c/scan-18.c: Likewise.
   2312 	* testsuite/libgomp.c/scan-19.c: Likewise.
   2313 	* testsuite/libgomp.c/scan-20.c: Likewise.
   2314 	* testsuite/libgomp.c++/scan-9.C: Likewise.
   2315 	* testsuite/libgomp.c++/scan-10.C: Likewise.
   2316 	* testsuite/libgomp.c++/scan-11.C: Likewise.
   2317 	* testsuite/libgomp.c++/scan-12.C: Likewise.
   2318 	* testsuite/libgomp.c++/scan-14.C: Likewise.
   2319 	* testsuite/libgomp.c++/scan-15.C: Likewise.
   2320 	* testsuite/libgomp.c++/scan-13.C: Likewise.  Use sse2_runtime
   2321 	instead of i?86-*-* x86_64-*-* as target for scan-tree-dump-times.
   2322 	* testsuite/libgomp.c++/scan-16.C: Likewise.
   2323 
   2324 2019-08-17  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
   2325 
   2326 	PR fortran/91473
   2327 	* testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add
   2328 	-std=legacy so invalid code in the test case is accepted.
   2329 
   2330 2019-08-12  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
   2331 
   2332 	PR fortran/91422
   2333 	* testsuite/libgomp.oacc-fortran/routine-7.f90: Correct array
   2334 	dimension.
   2335 
   2336 2019-08-08  Jakub Jelinek  <jakub (a] redhat.com>
   2337 
   2338 	* target.c (gomp_map_vars_internal): For GOMP_MAP_USE_DEVICE_PTR
   2339 	perform the lookup in the first loop only if !not_found_cnt, otherwise
   2340 	perform lookups for it in the second loop guarded with
   2341 	if (not_found_cnt || has_firstprivate).
   2342 	* testsuite/libgomp.c/target-37.c: New test.
   2343 	* testsuite/libgomp.c++/target-22.C: New test.
   2344 
   2345 2019-08-07  Jakub Jelinek  <jakub (a] redhat.com>
   2346 
   2347 	* testsuite/libgomp.c/target-18.c (struct S): New type.
   2348 	(foo): Use use_device_addr clause instead of use_device_ptr clause
   2349 	where required by OpenMP 5.0, add further tests for both use_device_ptr
   2350 	and use_device_addr clauses.
   2351 	* testsuite/libgomp.c++/target-9.C (struct S): New type.
   2352 	(foo): Use use_device_addr clause instead of use_device_ptr clause
   2353 	where required by OpenMP 5.0, add further tests for both use_device_ptr
   2354 	and use_device_addr clauses.  Add t and u arguments.
   2355 	(main): Adjust caller.
   2356 
   2357 2019-08-06  Jakub Jelinek  <jakub (a] redhat.com>
   2358 
   2359 	* testsuite/libgomp.c++/loop-13.C: New test.
   2360 	* testsuite/libgomp.c++/loop-14.C: New test.
   2361 	* testsuite/libgomp.c++/loop-15.C: New test.
   2362 
   2363 2019-07-31  Jakub Jelinek  <jakub (a] redhat.com>
   2364 
   2365 	PR middle-end/91301
   2366 	* testsuite/libgomp.c++/for-27.C: New test.
   2367 
   2368 2019-07-23  Steven G. Kargl  <kargl (a] gcc.gnu.org>
   2369 
   2370 	* testsuite/libgomp.fortran/reduction4.f90: Update BOZ usage.
   2371 	* testsuite/libgomp.fortran/reduction5.f90: Ditto.
   2372 
   2373 2019-07-20  Jakub Jelinek  <jakub (a] redhat.com>
   2374 
   2375 	* testsuite/libgomp.c-c++-common/loop-1.c: New test.
   2376 
   2377 2019-07-08  Jakub Jelinek  <jakub (a] redhat.com>
   2378 
   2379 	* testsuite/libgomp.c++/scan-13.C: Replace xfail with target x86.
   2380 	* testsuite/libgomp.c++/scan-16.C: Likewise.
   2381 
   2382 2019-07-06  Jakub Jelinek  <jakub (a] redhat.com>
   2383 
   2384 	* testsuite/libgomp.c/scan-19.c: New test.
   2385 	* testsuite/libgomp.c/scan-20.c: New test.
   2386 
   2387 	* testsuite/libgomp.c/scan-11.c: New test.
   2388 	* testsuite/libgomp.c/scan-12.c: New test.
   2389 	* testsuite/libgomp.c/scan-13.c: New test.
   2390 	* testsuite/libgomp.c/scan-14.c: New test.
   2391 	* testsuite/libgomp.c/scan-15.c: New test.
   2392 	* testsuite/libgomp.c/scan-16.c: New test.
   2393 	* testsuite/libgomp.c/scan-17.c: New test.
   2394 	* testsuite/libgomp.c/scan-18.c: New test.
   2395 	* testsuite/libgomp.c++/scan-9.C: New test.
   2396 	* testsuite/libgomp.c++/scan-10.C: New test.
   2397 	* testsuite/libgomp.c++/scan-11.C: New test.
   2398 	* testsuite/libgomp.c++/scan-12.C: New test.
   2399 	* testsuite/libgomp.c++/scan-13.C: New test.
   2400 	* testsuite/libgomp.c++/scan-14.C: New test.
   2401 	* testsuite/libgomp.c++/scan-15.C: New test.
   2402 	* testsuite/libgomp.c++/scan-16.C: New test.
   2403 
   2404 2019-07-04  Jakub Jelinek  <jakub (a] redhat.com>
   2405 
   2406 	* testsuite/libgomp.c/scan-9.c: New test.
   2407 	* testsuite/libgomp.c/scan-10.c: New test.
   2408 
   2409 2019-07-03  Jakub Jelinek  <jakub (a] redhat.com>
   2410 
   2411 	* testsuite/libgomp.c++/scan-1.C: New test.
   2412 	* testsuite/libgomp.c++/scan-2.C: New test.
   2413 	* testsuite/libgomp.c++/scan-3.C: New test.
   2414 	* testsuite/libgomp.c++/scan-4.C: New test.
   2415 	* testsuite/libgomp.c++/scan-5.C: New test.
   2416 	* testsuite/libgomp.c++/scan-6.C: New test.
   2417 	* testsuite/libgomp.c++/scan-7.C: New test.
   2418 	* testsuite/libgomp.c++/scan-8.C: New test.
   2419 	* testsuite/libgomp.c/scan-1.c: New test.
   2420 	* testsuite/libgomp.c/scan-2.c: New test.
   2421 	* testsuite/libgomp.c/scan-3.c: New test.
   2422 	* testsuite/libgomp.c/scan-4.c: New test.
   2423 	* testsuite/libgomp.c/scan-5.c: New test.
   2424 	* testsuite/libgomp.c/scan-6.c: New test.
   2425 	* testsuite/libgomp.c/scan-7.c: New test.
   2426 	* testsuite/libgomp.c/scan-8.c: New test.
   2427 
   2428 2019-06-18  Thomas Schwinge  <thomas (a] codesourcery.com>
   2429 
   2430 	* testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C: New file.
   2431 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-mappings-1.c:
   2432 	Likewise.
   2433 
   2434 	* testsuite/libgomp.fortran/allocatable3.f90: Add missing results
   2435 	check.
   2436 
   2437 2019-06-18  Cesar Philippidis  <cesar (a] codesourcery.com>
   2438 
   2439 	* testsuite/libgomp.oacc-fortran/allocatable-array-1.f90: New
   2440 	file.
   2441 
   2442 2019-06-18  Thomas Schwinge  <thomas (a] codesourcery.com>
   2443 
   2444 	PR fortran/90743
   2445 	* oacc-parallel.c (GOACC_parallel_keyed): Handle NULL mapping
   2446 	case.
   2447 	* testsuite/libgomp.fortran/target-allocatable-1-1.f90: New file.
   2448 	* testsuite/libgomp.fortran/target-allocatable-1-2.f90: Likewise.
   2449 	* testsuite/libgomp.oacc-fortran/allocatable-1-1.f90: Likewise.
   2450 	* testsuite/libgomp.oacc-fortran/allocatable-1-2.f90: Likewise.
   2451 
   2452 	PR testsuite/90861
   2453 	* testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Update.
   2454 
   2455 	PR middle-end/90862
   2456 	* testsuite/libgomp.oacc-c-c++-common/declare-1.c: Update.
   2457 
   2458 2019-06-16  Tom de Vries  <tdevries (a] suse.de>
   2459 
   2460 	PR tree-optimization/89376
   2461 	* testsuite/libgomp.oacc-c-c++-common/pr89376.c: New test.
   2462 
   2463 2019-06-15  Tom de Vries  <tdevries (a] suse.de>
   2464 
   2465 	PR tree-optimization/89713
   2466 	* testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Expect no bar.sync.
   2467 	* testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Same.
   2468 
   2469 2019-06-15  Jakub Jelinek  <jakub (a] redhat.com>
   2470 
   2471 	PR middle-end/90779
   2472 	* testsuite/libgomp.c/pr90779.c: New test.
   2473 	* testsuite/libgomp.fortran/pr90779.f90: New test.
   2474 
   2475 2019-06-15  Tom de Vries  <tdevries (a] suse.de>
   2476 
   2477 	PR tree-optimization/90009
   2478 	* testsuite/libgomp.oacc-c-c++-common/pr90009.c: New test.
   2479 
   2480 2019-06-13  Feng Xue  <fxue (a] os.amperecomputing.com>
   2481 
   2482 	PR tree-optimization/89713
   2483 	* testsuite/libgomp.oacc-c-c++-common/pr84955-1.c: New test.
   2484 
   2485 2019-06-11  Jakub Jelinek  <jakub (a] redhat.com>
   2486 
   2487 	PR target/90811
   2488 	* testsuite/libgomp.c/pr90811.c: New test.
   2489 
   2490 2019-06-05  Jakub Jelinek  <jakub (a] redhat.com>
   2491 
   2492 	* testsuite/libgomp.c++/lastprivate-conditional-1.C: New test.
   2493 	* testsuite/libgomp.c++/lastprivate-conditional-2.C: New test.
   2494 
   2495 2019-06-04  Jakub Jelinek  <jakub (a] redhat.com>
   2496 
   2497 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-7.c: New test.
   2498 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-8.c: New test.
   2499 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-9.c: New test.
   2500 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-10.c: New test.
   2501 
   2502 2019-05-30  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   2503 
   2504 	* configure.ac: Call AX_COUNT_CPUS.
   2505 	Substitute CPU_COUNT.
   2506 	* testsuite/Makefile.am (check-am): Use CPU_COUNT as processor
   2507 	count fallback.
   2508 	* aclocal.m4: Regenerate.
   2509 	* configure: Regenerate.
   2510 	* Makefile.in, testsuite/Makefile.in: Regenerate.
   2511 
   2512 2019-05-29  Jakub Jelinek  <jakub (a] redhat.com>
   2513 
   2514 	* testsuite/libgomp.c-c++-common/lastprivate_conditional_4.c: Rename
   2515 	to ...
   2516 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-4.c: ... this.
   2517 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-5.c: New test.
   2518 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-6.c: New test.
   2519 
   2520 2019-05-27  Jakub Jelinek  <jakub (a] redhat.com>
   2521 
   2522 	* testsuite/libgomp.c-c++-common/lastprivate_conditional_4.c: New test.
   2523 
   2524 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-3.c: New test.
   2525 
   2526 	PR libgomp/90641
   2527 	* work.c (gomp_init_work_share): Instead of aligning final ordered
   2528 	value to multiples of long long alignment, align to that the
   2529 	first part (ordered team ids) and if inline_ordered_team_ids
   2530 	is not on a long long alignment boundary within the structure,
   2531 	use __alignof__ (long long) - 1 pad size always.
   2532 	* loop.c (GOMP_loop_start): Fix *mem computation if
   2533 	inline_ordered_team_ids is not aligned on long long alignment boundary
   2534 	within the structure.
   2535 	* loop-ull.c (GOMP_loop_ull_start): Likewise.
   2536 	* sections.c (GOMP_sections2_start): Likewise.
   2537 
   2538 2019-05-24  Jakub Jelinek  <jakub (a] redhat.com>
   2539 
   2540 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-1.c: New test.
   2541 	* testsuite/libgomp.c-c++-common/lastprivate-conditional-2.c: New test.
   2542 
   2543 	PR libgomp/90585
   2544 	* plugin/plugin-hsa.c: Include gstdint.h.  Include inttypes.h only if
   2545 	HAVE_INTTYPES_H is defined.
   2546 	(print_uint64_t): New typedef.
   2547 	(PRIu64): Define if HAVE_INTTYPES_H is not defined.
   2548 	(print_kernel_dispatch, run_kernel): Use PRIu64 macro instead of
   2549 	"lu", cast uint64_t HSA_DEBUG and fprintf arguments to print_uint64_t.
   2550 	(release_kernel_dispatch): Likewise.  Cast shadow->debug to uintptr_t
   2551 	before casting to void *.
   2552 	* plugin/plugin-nvptx.c: Include gstdint.h instead of stdint.h.
   2553 	* oacc-mem.c: Don't include config.h nor stdint.h.
   2554 	* target.c: Don't include config.h.
   2555 	* oacc-cuda.c: Likewise.
   2556 	* oacc-host.c: Don't include stdint.h.
   2557 
   2558 2019-05-20  Jakub Jelinek  <jakub (a] redhat.com>
   2559 
   2560 	PR libgomp/90527
   2561 	* alloc.c (_GNU_SOURCE): Define.
   2562 
   2563 2019-05-17  Thomas Schwinge  <thomas (a] codesourcery.com>
   2564 
   2565 	* acc_prof.h: New file.
   2566 	* oacc-profiling.c: Likewise.
   2567 	* Makefile.am (nodist_libsubinclude_HEADERS, libgomp_la_SOURCES):
   2568 	Add these, respectively.
   2569 	* Makefile.in: Regenerate.
   2570 	* env.c (initialize_env): Call goacc_profiling_initialize.
   2571 	* oacc-plugin.c (GOMP_PLUGIN_goacc_thread)
   2572 	(GOMP_PLUGIN_goacc_profiling_dispatch): New functions.
   2573 	* oacc-plugin.h (GOMP_PLUGIN_goacc_thread)
   2574 	(GOMP_PLUGIN_goacc_profiling_dispatch): Declare.
   2575 	* libgomp.map (OACC_2.5.1): Add acc_prof_lookup,
   2576 	acc_prof_register, acc_prof_unregister, and acc_register_library.
   2577 	(GOMP_PLUGIN_1.3): Add GOMP_PLUGIN_goacc_profiling_dispatch, and
   2578 	GOMP_PLUGIN_goacc_thread.
   2579 	* oacc-int.h (struct goacc_thread): Add prof_info, api_info,
   2580 	prof_callbacks_enabled members.
   2581 	(goacc_prof_enabled, goacc_profiling_initialize)
   2582 	(_goacc_profiling_dispatch_p, _goacc_profiling_setup_p)
   2583 	(goacc_profiling_dispatch): Declare.
   2584 	(GOACC_PROF_ENABLED, GOACC_PROFILING_DISPATCH_P)
   2585 	(GOACC_PROFILING_SETUP_P): Define.
   2586 	* oacc-async.c (acc_async_test, acc_async_test_all, acc_wait)
   2587 	(acc_wait_async, acc_wait_all, acc_wait_all_async): Update for
   2588 	OpenACC Profiling Interface.
   2589 	* oacc-cuda.c (acc_get_current_cuda_device)
   2590 	(acc_get_current_cuda_context, acc_get_cuda_stream)
   2591 	(acc_set_cuda_stream): Likewise.
   2592 	* oacc-init.c (acc_init_1, goacc_attach_host_thread_to_device)
   2593 	(acc_init, acc_set_device_type, acc_get_device_type)
   2594 	(acc_get_device_num, goacc_lazy_initialize): Likewise.
   2595 	* oacc-mem.c (acc_malloc, acc_free, memcpy_tofrom_device)
   2596 	(acc_deviceptr, acc_hostptr, acc_is_present, acc_map_data)
   2597 	(acc_unmap_data, present_create_copy, delete_copyout)
   2598 	(update_dev_host): Likewise.
   2599 	* oacc-parallel.c (GOACC_parallel_keyed, GOACC_data_start)
   2600 	(GOACC_data_end, GOACC_enter_exit_data, GOACC_update, GOACC_wait):
   2601 	Likewise.
   2602 	* plugin/plugin-nvptx.c (nvptx_exec, nvptx_alloc, nvptx_free)
   2603 	(GOMP_OFFLOAD_openacc_exec, GOMP_OFFLOAD_openacc_async_exec):
   2604 	Likewise.
   2605 	* libgomp.texi: Update.
   2606 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-dispatch-1.c: New
   2607 	file.
   2608 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Likewise.
   2609 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:
   2610 	Likewise.
   2611 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c:
   2612 	Likewise.
   2613 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-valid_bytes-1.c:
   2614 	Likewise.
   2615 	* testsuite/libgomp.oacc-c-c++-common/acc_prof-version-1.c:
   2616 	Likewise.
   2617 
   2618 2019-05-13  Chung-Lin Tang <cltang (a] codesourcery.com>
   2619 
   2620 	* libgomp-plugin.h (struct goacc_asyncqueue): Declare.
   2621 	(struct goacc_asyncqueue_list): Likewise.
   2622 	(goacc_aq): Likewise.
   2623 	(goacc_aq_list): Likewise.
   2624 	(GOMP_OFFLOAD_openacc_register_async_cleanup): Remove.
   2625 	(GOMP_OFFLOAD_openacc_async_test): Remove.
   2626 	(GOMP_OFFLOAD_openacc_async_test_all): Remove.
   2627 	(GOMP_OFFLOAD_openacc_async_wait): Remove.
   2628 	(GOMP_OFFLOAD_openacc_async_wait_async): Remove.
   2629 	(GOMP_OFFLOAD_openacc_async_wait_all): Remove.
   2630 	(GOMP_OFFLOAD_openacc_async_wait_all_async): Remove.
   2631 	(GOMP_OFFLOAD_openacc_async_set_async): Remove.
   2632 	(GOMP_OFFLOAD_openacc_exec): Adjust declaration.
   2633 	(GOMP_OFFLOAD_openacc_cuda_get_stream): Likewise.
   2634 	(GOMP_OFFLOAD_openacc_cuda_set_stream): Likewise.
   2635 	(GOMP_OFFLOAD_openacc_async_exec): Declare.
   2636 	(GOMP_OFFLOAD_openacc_async_construct): Declare.
   2637 	(GOMP_OFFLOAD_openacc_async_destruct): Declare.
   2638 	(GOMP_OFFLOAD_openacc_async_test): Declare.
   2639 	(GOMP_OFFLOAD_openacc_async_synchronize): Declare.
   2640 	(GOMP_OFFLOAD_openacc_async_serialize): Declare.
   2641 	(GOMP_OFFLOAD_openacc_async_queue_callback): Declare.
   2642 	(GOMP_OFFLOAD_openacc_async_host2dev): Declare.
   2643 	(GOMP_OFFLOAD_openacc_async_dev2host): Declare.
   2644 
   2645 	* libgomp.h (struct acc_dispatch_t): Define 'async' sub-struct.
   2646 	(gomp_acc_insert_pointer): Adjust declaration.
   2647 	(gomp_copy_host2dev): New declaration.
   2648 	(gomp_copy_dev2host): Likewise.
   2649 	(gomp_map_vars_async): Likewise.
   2650 	(gomp_unmap_tgt): Likewise.
   2651 	(gomp_unmap_vars_async): Likewise.
   2652 	(gomp_fini_device): Likewise.
   2653 
   2654 	* oacc-async.c (get_goacc_thread): New function.
   2655 	(get_goacc_thread_device): New function.
   2656 	(lookup_goacc_asyncqueue): New function.
   2657 	(get_goacc_asyncqueue): New function.
   2658 	(acc_async_test): Adjust code to use new async design.
   2659 	(acc_async_test_all): Likewise.
   2660 	(acc_wait): Likewise.
   2661 	(acc_wait_async): Likewise.
   2662 	(acc_wait_all): Likewise.
   2663 	(acc_wait_all_async): Likewise.
   2664 	(goacc_async_free): New function.
   2665 	(goacc_init_asyncqueues): Likewise.
   2666 	(goacc_fini_asyncqueues): Likewise.
   2667 	* oacc-cuda.c (acc_get_cuda_stream): Adjust code to use new async
   2668 	design.
   2669 	(acc_set_cuda_stream): Likewise.
   2670 	* oacc-host.c (host_openacc_exec): Adjust parameters, remove 'async'.
   2671 	(host_openacc_register_async_cleanup): Remove.
   2672 	(host_openacc_async_exec): New function.
   2673 	(host_openacc_async_test): Adjust parameters.
   2674 	(host_openacc_async_test_all): Remove.
   2675 	(host_openacc_async_wait): Remove.
   2676 	(host_openacc_async_wait_async): Remove.
   2677 	(host_openacc_async_wait_all): Remove.
   2678 	(host_openacc_async_wait_all_async): Remove.
   2679 	(host_openacc_async_set_async): Remove.
   2680 	(host_openacc_async_synchronize): New function.
   2681 	(host_openacc_async_serialize): New function.
   2682 	(host_openacc_async_host2dev): New function.
   2683 	(host_openacc_async_dev2host): New function.
   2684 	(host_openacc_async_queue_callback): New function.
   2685 	(host_openacc_async_construct): New function.
   2686 	(host_openacc_async_destruct): New function.
   2687 	(struct gomp_device_descr host_dispatch): Remove initialization of old
   2688 	interface, add initialization of new async sub-struct.
   2689 	* oacc-init.c (acc_shutdown_1): Adjust to use gomp_fini_device.
   2690 	(goacc_attach_host_thread_to_device): Remove old async code usage.
   2691 	* oacc-int.h (goacc_init_asyncqueues): New declaration.
   2692 	(goacc_fini_asyncqueues): Likewise.
   2693 	(goacc_async_copyout_unmap_vars): Likewise.
   2694 	(goacc_async_free): Likewise.
   2695 	(get_goacc_asyncqueue): Likewise.
   2696 	(lookup_goacc_asyncqueue): Likewise.
   2697 	* oacc-mem.c (memcpy_tofrom_device): Adjust code to use new async
   2698 	design.
   2699 	(present_create_copy): Adjust code to use new async design.
   2700 	(delete_copyout): Likewise.
   2701 	(update_dev_host): Likewise.
   2702 	(gomp_acc_insert_pointer): Add async parameter, adjust code to use new
   2703 	async design.
   2704 	(gomp_acc_remove_pointer): Adjust code to use new async design.
   2705 	* oacc-parallel.c (GOACC_parallel_keyed): Adjust code to use new async
   2706 	design.
   2707 	(GOACC_enter_exit_data): Likewise.
   2708 	(goacc_wait): Likewise.
   2709 	(GOACC_update): Likewise.
   2710 	* oacc-plugin.c (GOMP_PLUGIN_async_unmap_vars): Change to assert fail
   2711 	when called, warn as obsolete in comment.
   2712 	* target.c (goacc_device_copy_async): New function.
   2713 	(gomp_copy_host2dev): Remove 'static', add goacc_asyncqueue parameter,
   2714 	add goacc_device_copy_async case.
   2715 	(gomp_copy_dev2host): Likewise.
   2716 	(gomp_map_vars_existing): Add goacc_asyncqueue parameter, adjust code.
   2717 	(gomp_map_pointer): Likewise.
   2718 	(gomp_map_fields_existing): Likewise.
   2719 	(gomp_map_vars_internal): New always_inline function, renamed from
   2720 	gomp_map_vars.
   2721 	(gomp_map_vars): Implement by calling gomp_map_vars_internal.
   2722 	(gomp_map_vars_async): Implement by calling gomp_map_vars_internal,
   2723 	passing goacc_asyncqueue argument.
   2724 	(gomp_unmap_tgt): Remove static, add attribute_hidden.
   2725 	(gomp_unref_tgt): New function.
   2726 	(gomp_unmap_vars_internal): New always_inline function, renamed from
   2727 	gomp_unmap_vars.
   2728 	(gomp_unmap_vars): Implement by calling gomp_unmap_vars_internal.
   2729 	(gomp_unmap_vars_async): Implement by calling
   2730 	gomp_unmap_vars_internal, passing goacc_asyncqueue argument.
   2731 	(gomp_fini_device): New function.
   2732 	(gomp_exit_data): Adjust gomp_copy_dev2host call.
   2733 	(gomp_load_plugin_for_device): Remove old interface, adjust to load
   2734 	new async interface.
   2735 	(gomp_target_fini): Adjust code to call gomp_fini_device.
   2736 
   2737 	* plugin/plugin-nvptx.c (struct cuda_map): Remove.
   2738 	(struct ptx_stream): Remove.
   2739 	(struct nvptx_thread): Remove current_stream field.
   2740 	(cuda_map_create): Remove.
   2741 	(cuda_map_destroy): Remove.
   2742 	(map_init): Remove.
   2743 	(map_fini): Remove.
   2744 	(map_pop): Remove.
   2745 	(map_push): Remove.
   2746 	(struct goacc_asyncqueue): Define.
   2747 	(struct nvptx_callback): Define.
   2748 	(struct ptx_free_block): Define.
   2749 	(struct ptx_device): Remove null_stream, active_streams, async_streams,
   2750 	stream_lock, and next fields.
   2751 	(enum ptx_event_type): Remove.
   2752 	(struct ptx_event): Remove.
   2753 	(ptx_event_lock): Remove.
   2754 	(ptx_events): Remove.
   2755 	(init_streams_for_device): Remove.
   2756 	(fini_streams_for_device): Remove.
   2757 	(select_stream_for_async): Remove.
   2758 	(nvptx_init): Remove ptx_events and ptx_event_lock references.
   2759 	(nvptx_attach_host_thread_to_device): Remove CUDA_ERROR_NOT_PERMITTED
   2760 	case.
   2761 	(nvptx_open_device): Add free_blocks initialization, remove
   2762 	init_streams_for_device call.
   2763 	(nvptx_close_device): Remove fini_streams_for_device call, add
   2764 	free_blocks destruct code.
   2765 	(event_gc): Remove.
   2766 	(event_add): Remove.
   2767 	(nvptx_exec): Adjust parameters and code.
   2768 	(nvptx_free): Likewise.
   2769 	(nvptx_host2dev): Remove.
   2770 	(nvptx_dev2host): Remove.
   2771 	(nvptx_set_async): Remove.
   2772 	(nvptx_async_test): Remove.
   2773 	(nvptx_async_test_all): Remove.
   2774 	(nvptx_wait): Remove.
   2775 	(nvptx_wait_async): Remove.
   2776 	(nvptx_wait_all): Remove.
   2777 	(nvptx_wait_all_async): Remove.
   2778 	(nvptx_get_cuda_stream): Remove.
   2779 	(nvptx_set_cuda_stream): Remove.
   2780 	(GOMP_OFFLOAD_alloc): Adjust code.
   2781 	(GOMP_OFFLOAD_free): Likewise.
   2782 	(GOMP_OFFLOAD_openacc_register_async_cleanup): Remove.
   2783 	(GOMP_OFFLOAD_openacc_exec): Adjust parameters and code.
   2784 	(GOMP_OFFLOAD_openacc_async_test_all): Remove.
   2785 	(GOMP_OFFLOAD_openacc_async_wait): Remove.
   2786 	(GOMP_OFFLOAD_openacc_async_wait_async): Remove.
   2787 	(GOMP_OFFLOAD_openacc_async_wait_all): Remove.
   2788 	(GOMP_OFFLOAD_openacc_async_wait_all_async): Remove.
   2789 	(GOMP_OFFLOAD_openacc_async_set_async): Remove.
   2790 	(cuda_free_argmem): New function.
   2791 	(GOMP_OFFLOAD_openacc_async_exec): New plugin hook function.
   2792 	(GOMP_OFFLOAD_openacc_create_thread_data): Adjust code.
   2793 	(GOMP_OFFLOAD_openacc_cuda_get_stream): Adjust code.
   2794 	(GOMP_OFFLOAD_openacc_cuda_set_stream): Adjust code.
   2795 	(GOMP_OFFLOAD_openacc_async_construct): New plugin hook function.
   2796 	(GOMP_OFFLOAD_openacc_async_destruct): New plugin hook function.
   2797 	(GOMP_OFFLOAD_openacc_async_test): Remove and re-implement.
   2798 	(GOMP_OFFLOAD_openacc_async_synchronize): New plugin hook function.
   2799 	(GOMP_OFFLOAD_openacc_async_serialize): New plugin hook function.
   2800 	(GOMP_OFFLOAD_openacc_async_queue_callback): New plugin hook function.
   2801 	(cuda_callback_wrapper): New function.
   2802 	(cuda_memcpy_sanity_check): New function.
   2803 	(GOMP_OFFLOAD_host2dev): Remove and re-implement.
   2804 	(GOMP_OFFLOAD_dev2host): Remove and re-implement.
   2805 	(GOMP_OFFLOAD_openacc_async_host2dev): New plugin hook function.
   2806 	(GOMP_OFFLOAD_openacc_async_dev2host): New plugin hook function.
   2807 
   2808 2019-05-07  Thomas Schwinge  <thomas (a] codesourcery.com>
   2809 
   2810 	PR target/87835
   2811 	* testsuite/libgomp.oacc-c-c++-common/pr87835.c: Update.
   2812 
   2813 2019-05-06  Thomas Schwinge  <thomas (a] codesourcery.com>
   2814 
   2815 	* oacc-parallel.c: Add comments to legacy entry points (GCC 5).
   2816 
   2817 2019-03-27  Kevin Buettner  <kevinb (a] redhat.com>
   2818 
   2819 	* team.c (gomp_team_start): Initialize pool->threads[0].
   2820 
   2821 2019-02-22  Thomas Schwinge  <thomas (a] codesourcery.com>
   2822 
   2823 	* testsuite/libgomp.oacc-c++/c++.exp: Specify
   2824 	"-foffload=$offload_target".
   2825 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   2826 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   2827 	* testsuite/lib/libgomp.exp
   2828 	(check_effective_target_openacc_nvidia_accel_configured): Remove,
   2829 	as (conceptually) merged into
   2830 	check_effective_target_openacc_nvidia_accel_selected.  Adjust all
   2831 	users.
   2832 
   2833 	* plugin/configfrag.ac: Populate and AC_SUBST offload_targets.
   2834 	* testsuite/libgomp-test-support.exp.in: Adjust.
   2835 	* testsuite/lib/libgomp.exp: Likewise.  Don't populate
   2836 	openacc_device_types_s.
   2837 	(offload_target_to_openacc_device_type): New proc.
   2838 	* testsuite/libgomp.oacc-c++/c++.exp: Adjust.
   2839 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   2840 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   2841 	* Makefile.in: Regenerate.
   2842 	* configure: Likewise.
   2843 	* testsuite/Makefile.in: Likewise.
   2844 
   2845 	* plugin/configfrag.ac: Populate and AC_SUBST offload_plugins
   2846 	instead of offload_targets, and AC_DEFINE_UNQUOTED OFFLOAD_PLUGINS
   2847 	instead of OFFLOAD_TARGETS.
   2848 	* target.c (gomp_target_init): Adjust.
   2849 	* testsuite/libgomp-test-support.exp.in: Likewise.
   2850 	* testsuite/lib/libgomp.exp: Likewise.  Populate
   2851 	openacc_device_types_s instead of offload_targets_s_openacc.
   2852 	(check_effective_target_openacc_nvidia_accel_selected)
   2853 	(check_effective_target_openacc_host_selected): Adjust.
   2854 	* testsuite/libgomp.oacc-c++/c++.exp: Likewise.
   2855 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   2856 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   2857 	* Makefile.in: Regenerate.
   2858 	* config.h.in: Likewise.
   2859 	* configure: Likewise.
   2860 	* testsuite/Makefile.in: Likewise.
   2861 
   2862 	* testsuite/lib/libgomp.exp: Error out for unknown offload target.
   2863 	* testsuite/libgomp.oacc-c++/c++.exp: Likewise.  Report if
   2864 	"offloading: supported, but hardware not accessible".
   2865 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   2866 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   2867 
   2868 2019-02-19  Chung-Lin Tang <cltang (a] codesourcery.com>
   2869 
   2870 	PR c/87924
   2871 	* oacc-parallel.c (GOACC_parallel_keyed): Remove condition on call to
   2872 	goacc_wait().
   2873 	(goacc_wait): Handle ACC_ASYNC_NOVAL case, remove goacc_thread() call
   2874 	and related adjustment.
   2875 
   2876 2019-01-30  Jakub Jelinek  <jakub (a] redhat.com>
   2877 
   2878 	PR c++/88988
   2879 	* testsuite/libgomp.c++/pr88988.C: New test.
   2880 
   2881 2019-01-28  Jakub Jelinek  <jakub (a] redhat.com>
   2882 
   2883 	PR middle-end/89002
   2884 	* testsuite/libgomp.c/pr89002.c: New test.
   2885 
   2886 2019-01-28  Richard Biener  <rguenther (a] suse.de>
   2887 
   2888 	PR testsuite/89064
   2889 	PR tree-optimization/86865
   2890 	* testsuite/libgomp.graphite/force-parallel-5.c: XFAIL.
   2891 
   2892 2019-01-24  Tom de Vries  <tdevries (a] suse.de>
   2893 
   2894 	* plugin/plugin-nvptx.c (GOMP_OFFLOAD_fini_device): Free ptx_devices
   2895 	once instantiated_devices drops to 0.
   2896 
   2897 2019-01-23  Tom de Vries  <tdevries (a] suse.de>
   2898 
   2899 	PR target/PR88946
   2900 	* plugin/plugin-nvptx.c (cuda_map_destroy): Use CUDA_CALL_NOCHECK for
   2901 	cuMemFree.
   2902 	(nvptx_exec): Don't call map_push if mapnum == 0.
   2903 	* testsuite/libgomp.oacc-c-c++-common/pr88946.c: New test.
   2904 
   2905 2019-01-23  Tom de Vries  <tdevries (a] suse.de>
   2906 
   2907 	PR target/88941
   2908 	PR target/88939
   2909 	* plugin/plugin-nvptx.c (cuda_map_destroy): Handle map->active case.
   2910 	(map_fini): Remove "assert (!s->map->active)".
   2911 	* testsuite/libgomp.oacc-c-c++-common/pr88941.c: New test.
   2912 
   2913 2019-01-23  Tom de Vries  <tdevries (a] suse.de>
   2914 
   2915 	PR target/87835
   2916 	* plugin/plugin-nvptx.c (map_push): Fix adding of allocated element.
   2917 	* testsuite/libgomp.oacc-c-c++-common/pr87835.c: New test.
   2918 
   2919 2019-01-15  Tom de Vries  <tdevries (a] suse.de>
   2920 
   2921 	PR target/80547
   2922 	* testsuite/libgomp.oacc-c-c++-common/gang-reduction-var-assignment.c:
   2923 	New test.
   2924 
   2925 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2926 
   2927 	* testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: New test.
   2928 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-2.c: New test.
   2929 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-5.c: New test.
   2930 	* testsuite/libgomp.oacc-fortran/gemm-2.f90: New test.
   2931 
   2932 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2933 
   2934 	* plugin/plugin-nvptx.c (nvptx_exec): Update error message.
   2935 
   2936 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2937 
   2938 	* testsuite/libgomp.oacc-c-c++-common/vector-length-64-1.c: New test.
   2939 	* testsuite/libgomp.oacc-c-c++-common/vector-length-64-2.c: New test.
   2940 	* testsuite/libgomp.oacc-c-c++-common/vector-length-64-3.c: New test.
   2941 
   2942 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2943 
   2944 	PR target/85486
   2945 	* testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: New test.
   2946 	* testsuite/libgomp.oacc-c-c++-common/pr85486.c: New test.
   2947 
   2948 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2949 
   2950 	PR target/85381
   2951 	* testsuite/libgomp.oacc-c-c++-common/pr85381-5.c: New test.
   2952 	* testsuite/libgomp.oacc-c-c++-common/pr85381.c: New test.
   2953 
   2954 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2955 
   2956 	* testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: New test.
   2957 	* testsuite/libgomp.oacc-fortran/gemm.f90: New test.
   2958 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-10.c: New test.
   2959 
   2960 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2961 
   2962 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-7.c: New test.
   2963 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-4.c: New test.
   2964 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-6.c: New test.
   2965 
   2966 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2967 
   2968 	* plugin/plugin-nvptx.c (nvptx_exec): Update insufficient hardware
   2969 	resources diagnostic.
   2970 
   2971 2019-01-12  Tom de Vries  <tdevries (a] suse.de>
   2972 
   2973 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: Expect
   2974 	vector length to be 128.
   2975 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Expect vector
   2976 	length 2097152 to be reduced to 1024 instead of 32.
   2977 
   2978 2019-01-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   2979             James Norris  <jnorris (a] codesourcery.com>
   2980 
   2981 	* libgomp.texi: Better distinguish OpenACC and OpenMP "Runtime
   2982 	Library Routines", and "Environment Variables".
   2983 
   2984 2019-01-11  Tom de Vries  <tdevries (a] suse.de>
   2985 
   2986 	* plugin/plugin-nvptx.c (nvptx_exec): Prevent vector_length 64 and
   2987 	num_workers 16.
   2988 
   2989 2019-01-11  Tom de Vries  <tdevries (a] suse.de>
   2990 
   2991 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Remove
   2992 	-foffload=-w.
   2993 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Same.
   2994 	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Same.
   2995 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Same.
   2996 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Same.
   2997 
   2998 2019-01-11  Tom de Vries  <tdevries (a] suse.de>
   2999 
   3000 	* testsuite/libgomp.oacc-c-c++-common/insufficient-resources.c: New
   3001 	test.
   3002 
   3003 2019-01-10  Nathan Sidwell  <nathan (a] acm.org>
   3004 	    Julian Brown  <julian (a] codesourcery.com>
   3005 
   3006 	PR lto/71959
   3007 	* testsuite/libgomp.oacc-c++/pr71959-aux.cc: New.
   3008 	* testsuite/libgomp.oacc-c++/pr71959.C: New.
   3009 
   3010 2019-01-09  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   3011 
   3012 	* config/rtems/bar.c: Include "../linux/bar.c" and delete copy
   3013 	and paste code.
   3014 
   3015 2019-01-09  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   3016 
   3017 	* config/rtems/affinity-fmt.c: New file.  Include affinity-fmt.c,
   3018 	undefining HAVE_GETPID and HAVE_GETHOSTNAME, and mapping fwrite to
   3019 	write.
   3020 
   3021 2019-01-09  Tom de Vries  <tdevries (a] suse.de>
   3022 
   3023 	PR target/88756
   3024 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c (ng, nw, vl): Use
   3025 	#define instead of "const int".
   3026 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c (ng, nw, vl): Same.
   3027 	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c (ng, nw, vl): Same.
   3028 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c (ng, nw, vl): Same.
   3029 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c (ng, nw, vl): Same.
   3030 
   3031 2019-01-09  Tom de Vries  <tdevries (a] suse.de>
   3032 
   3033 	* plugin/plugin-nvptx.c (nvptx_exec): Make sure to launch with at least
   3034 	one worker.
   3035 
   3036 2019-01-07  Tom de Vries  <tdevries (a] suse.de>
   3037 
   3038 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix
   3039 	GOMP_OPENACC_DIM argument.
   3040 
   3041 2019-01-03  Tom de Vries  <tdevries (a] suse.de>
   3042 
   3043 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: New test.
   3044 	* testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: New test.
   3045 
   3046 2019-01-01  Jakub Jelinek  <jakub (a] redhat.com>
   3047 
   3048 	Update copyright years.
   3049 
   3050 2019-01-01  Jakub Jelinek  <jakub (a] redhat.com>
   3051 
   3052 	* libgomp.texi: Bump @copying's copyright year.
   3053 
   3054 2018-12-28  Thomas Schwinge  <thomas (a] codesourcery.com>
   3055 
   3056 	* oacc-parallel.c (GOACC_parallel_keyed, GOACC_parallel)
   3057 	(GOACC_data_start, GOACC_enter_exit_data, GOACC_update)
   3058 	(GOACC_declare): Redefine the "device" argument to "flags".
   3059 
   3060 2018-12-28  Thomas Schwinge  <thomas (a] codesourcery.com>
   3061 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   3062 
   3063 	* target.c (struct gomp_coalesce_chunk): New structure.
   3064 	(struct gomp_coalesce_buf): Update the chunks member to use that
   3065 	type.  Adjust all users.
   3066 
   3067 2018-12-19  Tom de Vries  <tdevries (a] suse.de>
   3068 
   3069 	* testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: New test.
   3070 	* testsuite/libgomp.oacc-c-c++-common/pr85381-3.c: New test.
   3071 	* testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: New test.
   3072 
   3073 2018-12-19  Tom de Vries  <tdevries (a] suse.de>
   3074 
   3075 	* testsuite/lib/libgomp.exp: Add load_lib of scanoffloadrtl.exp.
   3076 	* testsuite/libgomp.oacc-c-c++-common/nvptx-merged-loop.c: Move from
   3077 	gcc/testsuite/gcc.dg/goacc.
   3078 	* testsuite/libgomp.oacc-c-c++-common/nvptx-sese-1.c: Same.
   3079 
   3080 2018-12-14  Thomas Schwinge  <thomas (a] codesourcery.com>
   3081 	    Chung-Lin Tang  <cltang (a] codesourcery.com>
   3082 
   3083 	* oacc-mem.c (acc_present_or_create): Remove definition and change
   3084 	to alias of acc_create.
   3085 	(acc_present_or_copyin): Remove definition and change to alias of
   3086 	acc_copyin.
   3087 	* oacc-parallel.c (GOACC_enter_exit_data): Call acc_create instead
   3088 	of acc_present_or_create.
   3089 	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Remove.
   3090 	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
   3091 	* testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise.
   3092 	* testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise.
   3093 	* testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise.
   3094 	* testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise.
   3095 	* testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise.
   3096 	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
   3097 	* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
   3098 	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
   3099 	* testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise.
   3100 	* testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise.
   3101 	* testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise.
   3102 	* testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise.
   3103 	* testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise.
   3104 	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
   3105 
   3106 2018-12-14  Thomas Schwinge  <thomas (a] codesourcery.com>
   3107 
   3108 	PR libgomp/88495
   3109 	* plugin/plugin-nvptx.c (nvptx_wait_async): Don't refuse
   3110 	"identical parameters".
   3111 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Update.
   3112 	* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Remove.
   3113 
   3114 	PR libgomp/88484
   3115 	* oacc-parallel.c (GOACC_wait): Correct handling for "async >= 0".
   3116 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: New file.
   3117 
   3118 	PR libgomp/88407
   3119 	* plugin/plugin-nvptx.c (nvptx_async_test, nvptx_wait)
   3120 	(nvptx_wait_async): Unseen async-argument is a no-op.
   3121 	* testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Update.
   3122 	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Likewise.
   3123 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
   3124 	* testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise.
   3125 	* testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise.
   3126 	* testsuite/libgomp.oacc-c-c++-common/lib-71.c: Merge into...
   3127 	* testsuite/libgomp.oacc-c-c++-common/lib-69.c: ... this.  Update.
   3128 	* testsuite/libgomp.oacc-c-c++-common/lib-77.c: Merge into...
   3129 	* testsuite/libgomp.oacc-c-c++-common/lib-74.c: ... this.  Update
   3130 
   3131 	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Revise.
   3132 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
   3133 
   3134 2018-12-14  Chung-Lin Tang  <cltang (a] codesourcery.com>
   3135 
   3136 	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Adjust.
   3137 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
   3138 	* testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise.
   3139 
   3140 2018-12-14  Thomas Schwinge  <thomas (a] codesourcery.com>
   3141 
   3142 	PR libgomp/88370
   3143 	* libgomp.texi (acc_get_current_cuda_context, acc_get_cuda_stream)
   3144 	(acc_set_cuda_stream): Clarify.
   3145 	* oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use
   3146 	"async_valid_p".
   3147 	* plugin/plugin-nvptx.c (nvptx_set_cuda_stream): Refuse "async ==
   3148 	acc_async_sync".
   3149 	* testsuite/libgomp.oacc-c-c++-common/acc_set_cuda_stream-1.c: New file.
   3150 	* testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Likewise.
   3151 	* testsuite/libgomp.oacc-c-c++-common/lib-84.c: Update.
   3152 	* testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise.
   3153 
   3154 2018-12-14  Tom de Vries  <tdevries (a] suse.de>
   3155 
   3156 	* testsuite/libgomp.c-c++-common/function-not-offloaded-aux.c: New test.
   3157 	* testsuite/libgomp.c-c++-common/function-not-offloaded.c: New test.
   3158 	* testsuite/libgomp.c-c++-common/variable-not-offloaded.c: New test.
   3159 	* testsuite/libgomp.oacc-c-c++-common/function-not-offloaded.c: New test.
   3160 	* testsuite/libgomp.oacc-c-c++-common/variable-not-offloaded.c: New test.
   3161 
   3162 2018-12-13  Tom de Vries  <tdevries (a] suse.de>
   3163 
   3164 	* affinity-fmt.c (gomp_print_string): New function, factored out of ...
   3165 	(omp_display_affinity, gomp_display_affinity_thread): ... here, and ...
   3166 	* fortran.c (omp_display_affinity_): ... here.
   3167 	* libgomp.h (gomp_print_string): Declare.
   3168 	* config/nvptx/affinity-fmt.c: New file.  Include affinity-fmt.c,
   3169 	undefining HAVE_GETPID and HAVE_GETHOSTNAME, and mapping fwrite to
   3170 	write.
   3171 
   3172 2018-12-13  Jakub Jelinek  <jakub (a] redhat.com>
   3173 
   3174 	PR libgomp/88460
   3175 	* testsuite/libgomp.c++/for-24.C (results): Include it in
   3176 	omp declare target region.
   3177 	(main): Use map (always, tofrom: results) instead of
   3178 	map (tofrom: results).
   3179 
   3180 2018-12-12  Jakub Jelinek  <jakub (a] redhat.com>
   3181 
   3182 	PR fortran/88463
   3183 	* testsuite/libgomp.fortran/pr88463-1.f90: New test.
   3184 	* testsuite/libgomp.fortran/pr88463-2.f90: New test.
   3185 
   3186 	* testsuite/libgomp.c-c++-common/for-16.c: New test.
   3187 
   3188 2018-12-12  Andreas Schwab  <schwab (a] suse.de>
   3189 
   3190 	* config/linux/ia64/futex.h (sys_futex0): Don't mark r12 as
   3191 	clobbered.
   3192 
   3193 2018-12-09  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
   3194 
   3195 	PR fortran/88411
   3196 	* testsuite/libgomp.fortran/async_io_8.f90: New test.
   3197 
   3198 2018-12-09  Thomas Schwinge  <thomas (a] codesourcery.com>
   3199 	    Jakub Jelinek  <jakub (a] redhat.com>
   3200 
   3201 	* target.c (gomp_map_vars): Call gomp_copy_host2dev instead of
   3202 	devicep->host2dev_func.
   3203 
   3204 2018-12-08  Jakub Jelinek  <jakub (a] redhat.com>
   3205 
   3206 	PR libgomp/87995
   3207 	* testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: Require
   3208 	tls_runtime effective target.
   3209 	(t): New threadprivate variable.
   3210 	(main): Set t in threads which execute iterations of the worksharing
   3211 	loop.  Propagate that to the task after the loop and don't abort
   3212 	if the current taskgroup hasn't been cancelled.
   3213 
   3214 2018-12-02  Jakub Jelinek  <jakub (a] redhat.com>
   3215 
   3216 	* testsuite/libgomp.c/task-reduction-3.c: New test.
   3217 
   3218 	* testsuite/libgomp.c-c++-common/cancel-taskgroup-4.c: New test.
   3219 
   3220 2018-11-30  Cesar Philippidis  <cesar (a] codesourcery.com>
   3221 
   3222 	PR libgomp/88288
   3223 	* oacc-parallel.c (GOACC_parallel_keyed): Add offset to devaddrs.
   3224 	* testsuite/libgomp.oacc-c-c++-common/pr88288.c: New test.
   3225 
   3226 2018-11-30  Thomas Schwinge  <thomas (a] codesourcery.com>
   3227 
   3228 	* testsuite/libgomp.oacc-fortran/lib-16-2.f90: New file.
   3229 
   3230 2018-10-19  Richard Biener  <rguenther (a] suse.de>
   3231 
   3232 	PR tree-optimization/88182
   3233 	* testsuite/libgomp.c++/pr88182.C: Move to g++.dg/gomp.
   3234 
   3235 2018-11-26  Jakub Jelinek  <jakub (a] redhat.com>
   3236 
   3237 	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Drop dejagnu.
   3238 	(RUNTEST): Don't define.
   3239 	(RUNTESTDEFAULTFLAGS): Add.
   3240 	(check-DEJAGNU, site.exp, distclean-DEJAGNU): New goals.
   3241 	(distclean-am): Depend on distclean-DEJAGNU.
   3242 	(check-am): If -j% option is present in MFLAGS and if
   3243 	`getconf _NPROCESSORS_ONLN` is more than 8, export OMP_NUM_THREADS=8.
   3244 	(.PHONY): Add check-DEJAGNU and distclean-DEJAGNU.
   3245 	* testsuite/Makefile.in: Regenerated.
   3246 
   3247 2018-11-26  Richard Biener  <rguenther (a] suse.de>
   3248 
   3249 	PR tree-optimization/88182
   3250 	* testsuite/libgomp.c++/pr88182.C: New testcase.
   3251 
   3252 2018-11-20  Jakub Jelinek  <jakub (a] redhat.com>
   3253 
   3254 	PR bootstrap/88106
   3255 	* config/mingw32/affinity-fmt.c: New file.
   3256 
   3257 2018-11-09  Jakub Jelinek  <jakub (a] redhat.com>
   3258 
   3259 	* affinity-fmt.c: Include inttypes.h if HAVE_INTTYPES_H.
   3260 	(gomp_display_affinity): Use __builtin_choose_expr to handle
   3261 	properly handle argument having integral, or pointer or some other
   3262 	type.  If inttypes.h is available and PRIx64 is defined, use PRIx64
   3263 	with uint64_t type instead of %llx and unsigned long long.
   3264 
   3265 	* testsuite/libgomp.c-c++-common/task-reduction-13.c: New test.
   3266 	* testsuite/libgomp.c-c++-common/task-reduction-14.c: New test.
   3267 
   3268 2018-11-08  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   3269 
   3270 	* affinity.c: Include <string.h>, <stdio.h>.
   3271 	(gomp_display_affinity_place): Remove cpusetp.
   3272 	* teams.c: Include <limits.h>.
   3273 
   3274 2018-11-08  Jakub Jelinek  <jakub (a] redhat.com>
   3275 
   3276 	* testsuite/libgomp.c-c++-common/task-reduction-8.c (bar): Add
   3277 	in_reduction clause for s[0].
   3278 
   3279 	* affinity.c (gomp_display_affinity_place): New function.
   3280 	* affinity-fmt.c: New file.
   3281 	* alloc.c (gomp_aligned_alloc, gomp_aligned_free): New functions.
   3282 	* config/linux/affinity.c (gomp_display_affinity_place): New function.
   3283 	* config/nvptx/icv-device.c (omp_get_num_teams, omp_get_team_num):
   3284 	Move these functions to ...
   3285 	* config/nvptx/teams.c: ... here.  New file.
   3286 	* config/nvptx/target.c (omp_pause_resource, omp_pause_resource_all):
   3287 	New functions.
   3288 	* config/nvptx/team.c (gomp_team_start, gomp_pause_host): New
   3289 	functions.
   3290 	* configure.ac: Check for aligned_alloc, posix_memalign, memalign
   3291 	and _aligned_malloc.
   3292 	(HAVE_UNAME, HAVE_GETHOSTNAME, HAVE_GETPID): Add new tests.
   3293 	* configure.tgt: Add -DUSING_INITIAL_EXEC_TLS to XCFLAGS for Linux.
   3294 	* env.c (gomp_display_affinity_var, gomp_affinity_format_var,
   3295 	gomp_affinity_format_len): New variables.
   3296 	(parse_schedule): Parse monotonic and nonmonotonic modifiers in
   3297 	OMP_SCHEDULE variable.  Set GFS_MONOTONIC for monotonic schedules.
   3298 	(handle_omp_display_env): Display monotonic/nonmonotonic schedule
   3299 	modifiers.  Display (non-default) chunk sizes.  Print
   3300 	OMP_DISPLAY_AFFINITY and OMP_AFFINITY_FORMAT.
   3301 	(initialize_env): Don't call pthread_attr_setdetachstate.  Handle
   3302 	OMP_DISPLAY_AFFINITY and OMP_AFFINITY_FORMAT env vars.
   3303 	* fortran.c: Include stdio.h and string.h.
   3304 	(omp_pause_resource, omp_pause_resource_all): Add ialias_redirect.
   3305 	(omp_get_schedule_, omp_get_schedule_8_): Mask off GFS_MONOTONIC bit.
   3306 	(omp_set_affinity_format_, omp_get_affinity_format_,
   3307 	omp_display_affinity_, omp_capture_affinity_, omp_pause_resource_,
   3308 	omp_pause_resource_all_): New functions.
   3309 	* icv.c (omp_set_schedule): Mask off omp_sched_monotonic bit in
   3310 	switch.
   3311 	* icv-device.c (omp_get_num_teams, omp_get_team_num): Move these
   3312 	functions to ...
   3313 	* teams.c: ... here.  New file.
   3314 	* libgomp_g.h: Include gstdint.h.
   3315 	(GOMP_loop_nonmonotonic_runtime_start,
   3316 	GOMP_loop_maybe_nonmonotonic_runtime_start, GOMP_loop_start,
   3317 	GOMP_loop_ordered_start, GOMP_loop_nonmonotonic_runtime_next,
   3318 	GOMP_loop_maybe_nonmonotonic_runtime_next, GOMP_loop_doacross_start,
   3319 	GOMP_parallel_loop_nonmonotonic_runtime,
   3320 	GOMP_parallel_loop_maybe_nonmonotonic_runtime,
   3321 	GOMP_loop_ull_nonmonotonic_runtime_start,
   3322 	GOMP_loop_ull_maybe_nonmonotonic_runtime_start, GOMP_loop_ull_start,
   3323 	GOMP_loop_ull_ordered_start, GOMP_loop_ull_nonmonotonic_runtime_next,
   3324 	GOMP_loop_ull_maybe_nonmonotonic_runtime_next,
   3325 	GOMP_loop_ull_doacross_start, GOMP_parallel_reductions,
   3326 	GOMP_taskwait_depend, GOMP_taskgroup_reduction_register,
   3327 	GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap,
   3328 	GOMP_workshare_task_reduction_unregister, GOMP_sections2_start,
   3329 	GOMP_teams_reg): Declare.
   3330 	* libgomp.h (GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC): Define unless
   3331 	gomp_aligned_alloc uses fallback implementation.
   3332 	(gomp_aligned_alloc, gomp_aligned_free): Declare.
   3333 	(enum gomp_schedule_type): Add GFS_MONOTONIC.
   3334 	(struct gomp_doacross_work_share): Add extra field.
   3335 	(struct gomp_work_share): Add task_reductions field.
   3336 	(struct gomp_taskgroup): Add workshare and reductions fields.
   3337 	(GOMP_NEEDS_THREAD_HANDLE): Define if needed.
   3338 	(gomp_thread_handle): New typedef.
   3339 	(gomp_display_affinity_place, gomp_set_affinity_format,
   3340 	gomp_display_string, gomp_display_affinity,
   3341 	gomp_display_affinity_thread): Declare.
   3342 	(gomp_doacross_init, gomp_doacross_ull_init): Add size_t argument.
   3343 	(gomp_parallel_reduction_register, gomp_workshare_taskgroup_start,
   3344 	gomp_workshare_task_reduction_register): Declare.
   3345 	(gomp_team_start): Add taskgroup argument.
   3346 	(gomp_pause_host): Declare.
   3347 	(gomp_init_work_share, gomp_work_share_start): Change bool argument
   3348 	to size_t.
   3349 	(gomp_thread_self, gomp_thread_to_pthread_t): New inline functions.
   3350 	* libgomp.map (GOMP_5.0): Export GOMP_loop_start,
   3351 	GOMP_loop_ordered_start, GOMP_loop_doacross_start,
   3352 	GOMP_loop_ull_start, GOMP_loop_ull_ordered_start,
   3353 	GOMP_loop_ull_doacross_start,
   3354 	GOMP_workshare_task_reduction_unregister, GOMP_sections2_start,
   3355 	GOMP_loop_maybe_nonmonotonic_runtime_next,
   3356 	GOMP_loop_maybe_nonmonotonic_runtime_start,
   3357 	GOMP_loop_nonmonotonic_runtime_next,
   3358 	GOMP_loop_nonmonotonic_runtime_start,
   3359 	GOMP_loop_ull_maybe_nonmonotonic_runtime_next,
   3360 	GOMP_loop_ull_maybe_nonmonotonic_runtime_start,
   3361 	GOMP_loop_ull_nonmonotonic_runtime_next,
   3362 	GOMP_loop_ull_nonmonotonic_runtime_start,
   3363 	GOMP_parallel_loop_maybe_nonmonotonic_runtime,
   3364 	GOMP_parallel_loop_nonmonotonic_runtime, GOMP_parallel_reductions,
   3365 	GOMP_taskgroup_reduction_register,
   3366 	GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap,
   3367 	GOMP_teams_reg and GOMP_taskwait_depend.
   3368 	(OMP_5.0): Export omp_pause_resource{,_all}{,_},
   3369 	omp_{capture,display}_affinity{,_}, and
   3370 	omp_[gs]et_affinity_format{,_}.
   3371 	* loop.c: Include string.h.
   3372 	(GOMP_loop_runtime_next): Add ialias.
   3373 	(GOMP_taskgroup_reduction_register): Add ialias_redirect.
   3374 	(gomp_loop_static_start, gomp_loop_dynamic_start,
   3375 	gomp_loop_guided_start, gomp_loop_ordered_static_start,
   3376 	gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
   3377 	gomp_loop_doacross_static_start, gomp_loop_doacross_dynamic_start,
   3378 	gomp_loop_doacross_guided_start): Adjust gomp_work_share_start
   3379 	or gomp_doacross_init callers.
   3380 	(gomp_adjust_sched, GOMP_loop_start, GOMP_loop_ordered_start,
   3381 	GOMP_loop_doacross_start): New functions.
   3382 	(GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
   3383 	GOMP_loop_doacross_runtime_start, GOMP_parallel_loop_runtime_start):
   3384 	Mask off GFS_MONOTONIC bit.
   3385 	(GOMP_loop_maybe_nonmonotonic_runtime_next,
   3386 	GOMP_loop_maybe_nonmonotonic_runtime_start,
   3387 	GOMP_loop_nonmonotonic_runtime_next,
   3388 	GOMP_loop_nonmonotonic_runtime_start,
   3389 	GOMP_parallel_loop_maybe_nonmonotonic_runtime,
   3390 	GOMP_parallel_loop_nonmonotonic_runtime): New aliases or wrapper
   3391 	functions.
   3392 	(gomp_parallel_loop_start): Pass NULL as taskgroup to
   3393 	gomp_team_start.
   3394 	* loop_ull.c: Include string.h.
   3395 	(GOMP_loop_ull_runtime_next): Add ialias.
   3396 	(GOMP_taskgroup_reduction_register): Add ialias_redirect.
   3397 	(gomp_loop_ull_static_start, gomp_loop_ull_dynamic_start,
   3398 	gomp_loop_ull_guided_start, gomp_loop_ull_ordered_static_start,
   3399 	gomp_loop_ull_ordered_dynamic_start,
   3400 	gomp_loop_ull_ordered_guided_start,
   3401 	gomp_loop_ull_doacross_static_start,
   3402 	gomp_loop_ull_doacross_dynamic_start,
   3403 	gomp_loop_ull_doacross_guided_start): Adjust gomp_work_share_start
   3404 	and gomp_doacross_ull_init callers.
   3405 	(gomp_adjust_sched, GOMP_loop_ull_start, GOMP_loop_ull_ordered_start,
   3406 	GOMP_loop_ull_doacross_start): New functions.
   3407 	(GOMP_loop_ull_runtime_start,
   3408 	GOMP_loop_ull_ordered_runtime_start,
   3409 	GOMP_loop_ull_doacross_runtime_start): Mask off GFS_MONOTONIC bit.
   3410 	(GOMP_loop_ull_maybe_nonmonotonic_runtime_next,
   3411 	GOMP_loop_ull_maybe_nonmonotonic_runtime_start,
   3412 	GOMP_loop_ull_nonmonotonic_runtime_next,
   3413 	GOMP_loop_ull_nonmonotonic_runtime_start): Likewise.
   3414 	* Makefile.am (libgomp_la_SOURCES): Add teams.c and affinity-fmt.c.
   3415 	* omp.h.in (enum omp_sched_t): Add omp_sched_monotonic.
   3416 	(omp_pause_resource_t, omp_depend_t): New typedefs.
   3417 	(enum omp_lock_hint_t): Renamed to ...
   3418 	(enum omp_sync_hint_t): ... this.  Define omp_sync_hint_*
   3419 	enumerators using numbers and omp_lock_hint_* as their aliases.
   3420 	(omp_lock_hint_t): New typedef.  Rename to ...
   3421 	(omp_sync_hint_t): ... this.
   3422 	(omp_init_lock_with_hint, omp_init_nest_lock_with_hint): Use
   3423 	omp_sync_hint_t instead of omp_lock_hint_t.
   3424 	(omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format,
   3425 	omp_get_affinity_format, omp_display_affinity, omp_capture_affinity):
   3426 	Declare.
   3427 	(omp_target_is_present, omp_target_disassociate_ptr):
   3428 	Change first argument from void * to const void *.
   3429 	(omp_target_memcpy, omp_target_memcpy_rect): Change second argument
   3430 	from void * to const void *.
   3431 	(omp_target_associate_ptr): Change first and second arguments from
   3432 	void * to const void *.
   3433 	* omp_lib.f90.in (omp_pause_resource_kind, omp_pause_soft,
   3434 	omp_pause_hard): New parameters.
   3435 	(omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format,
   3436 	omp_get_affinity_format, omp_display_affinity, omp_capture_affinity):
   3437 	New interfaces.
   3438 	* omp_lib.h.in (omp_pause_resource_kind, omp_pause_soft,
   3439 	omp_pause_hard): New parameters.
   3440 	(omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format,
   3441 	omp_get_affinity_format, omp_display_affinity, omp_capture_affinity):
   3442 	New externals.
   3443 	* ordered.c (gomp_doacross_init, gomp_doacross_ull_init): Add
   3444 	EXTRA argument.  If not needed to prepare array, if extra is 0,
   3445 	clear ws->doacross, otherwise allocate just doacross structure and
   3446 	extra payload.  If array is needed, allocate also extra payload.
   3447 	(GOMP_doacross_post, GOMP_doacross_wait, GOMP_doacross_ull_post,
   3448 	GOMP_doacross_ull_wait): Handle doacross->array == NULL like
   3449 	doacross == NULL.
   3450 	* parallel.c (GOMP_parallel_start): Pass NULL as taskgroup to
   3451 	gomp_team_start.
   3452 	(GOMP_parallel): Likewise.  Formatting fix.
   3453 	(GOMP_parallel_reductions): New function.
   3454 	(GOMP_cancellation_point): If taskgroup has workshare
   3455 	flag set, check cancelled of prev taskgroup if any.
   3456 	(GOMP_cancel): If taskgroup has workshare flag set, set cancelled
   3457 	on prev taskgroup if any.
   3458 	* sections.c: Include string.h.
   3459 	(GOMP_taskgroup_reduction_register): Add ialias_redirect.
   3460 	(GOMP_sections_start): Adjust gomp_work_share_start caller.
   3461 	(GOMP_sections2_start): New function.
   3462 	(GOMP_parallel_sections_start, GOMP_parallel_sections):
   3463 	Pass NULL as taskgroup to gomp_team_start.
   3464 	* single.c (GOMP_single_start, GOMP_single_copy_start): Adjust
   3465 	gomp_work_share_start callers.
   3466 	* target.c (GOMP_target_update_ext, GOMP_target_enter_exit_data):
   3467 	If taskgroup has workshare flag set, check cancelled on prev
   3468 	taskgroup if any.  Guard all cancellation tests with
   3469 	gomp_cancel_var test.
   3470 	(omp_target_is_present, omp_target_disassociate_ptr):
   3471 	Change ptr argument from void * to const void *.
   3472 	(omp_target_memcpy): Change src argument from void * to const void *.
   3473 	(omp_target_memcpy_rect): Likewise.
   3474 	(omp_target_memcpy_rect_worker): Likewise.  Use const char * casts
   3475 	instead of char * where needed.
   3476 	(omp_target_associate_ptr): Change host_ptr and device_ptr arguments
   3477 	from void * to const void *.
   3478 	(omp_pause_resource, omp_pause_resource_all): New functions.
   3479 	* task.c (gomp_task_handle_depend): Handle new depend array format
   3480 	in addition to the old.  Handle mutexinoutset kinds the same as
   3481 	inout for now, handle unspecified kinds.
   3482 	(gomp_create_target_task): If taskgroup has workshare flag set, check
   3483 	cancelled on prev taskgroup if any.  Guard all cancellation tests with
   3484 	gomp_cancel_var test.  Handle new depend array format count in
   3485 	addition to the old.
   3486 	(GOMP_task): Likewise.  Adjust function comment.
   3487 	(gomp_task_run_pre): If taskgroup has workshare flag set, check
   3488 	cancelled on prev taskgroup if any.  Guard all cancellation tests with
   3489 	gomp_cancel_var test.
   3490 	(GOMP_taskwait_depend): New function.
   3491 	(gomp_task_maybe_wait_for_dependencies): Handle new depend array
   3492 	format in addition to the old.  Handle mutexinoutset kinds the same as
   3493 	inout for now, handle unspecified kinds.  Fix a function comment typo.
   3494 	(gomp_taskgroup_init): New function.
   3495 	(GOMP_taskgroup_start): Use it.
   3496 	(gomp_reduction_register, gomp_create_artificial_team,
   3497 	GOMP_taskgroup_reduction_register,
   3498 	GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap,
   3499 	gomp_parallel_reduction_register,
   3500 	gomp_workshare_task_reduction_register,
   3501 	gomp_workshare_taskgroup_start,
   3502 	GOMP_workshare_task_reduction_unregister): New functions.
   3503 	* taskloop.c (GOMP_taskloop): If taskgroup has workshare flag set,
   3504 	check cancelled on prev taskgroup if any.  Guard all cancellation
   3505 	tests with gomp_cancel_var test.  Handle GOMP_TASK_FLAG_REDUCTION flag
   3506 	by calling GOMP_taskgroup_reduction_register.
   3507 	* team.c (gomp_thread_attr): Remove comment.
   3508 	(struct gomp_thread_start_data): Add handle field.
   3509 	(gomp_thread_start): Call pthread_detach.
   3510 	(gomp_new_team): Adjust gomp_init_work_share caller.
   3511 	(gomp_free_pool_helper): Call pthread_detach.
   3512 	(gomp_team_start): Add taskgroup argument, initialize implicit
   3513 	tasks' taskgroup field to that.  Don't call
   3514 	pthread_attr_setdetachstate.  Handle OMP_DISPLAY_AFFINITY env var.
   3515 	(gomp_team_end): Determine nesting by thr->ts.level != 0
   3516 	rather than thr->ts.team != NULL.
   3517 	(gomp_pause_pool_helper, gomp_pause_host): New functions.
   3518 	* work.c (alloc_work_share): Use gomp_aligned_alloc instead of
   3519 	gomp_malloc if GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined.
   3520 	(gomp_init_work_share): Change ORDERED argument from bool to size_t,
   3521 	if more than 1 allocate also extra payload at the end of array.  Never
   3522 	keep ordered_team_ids NULL, set it to inline_ordered_team_ids instead.
   3523 	(gomp_work_share_start): Change ORDERED argument from bool to size_t,
   3524 	return true instead of ws.
   3525 	* Makefile.in: Regenerated.
   3526 	* configure: Regenerated.
   3527 	* config.h.in: Regenerated.
   3528 	* testsuite/libgomp.c/cancel-for-2.c (foo): Use cancel modifier
   3529 	in some cases.
   3530 	* testsuite/libgomp.c-c++-common/cancel-parallel-1.c: New test.
   3531 	* testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: New test.
   3532 	* testsuite/libgomp.c-c++-common/depend-iterator-1.c: New test.
   3533 	* testsuite/libgomp.c-c++-common/depend-iterator-2.c: New test.
   3534 	* testsuite/libgomp.c-c++-common/depend-mutexinout-1.c: New test.
   3535 	* testsuite/libgomp.c-c++-common/depend-mutexinout-2.c: New test.
   3536 	* testsuite/libgomp.c-c++-common/depobj-1.c: New test.
   3537 	* testsuite/libgomp.c-c++-common/display-affinity-1.c: New test.
   3538 	* testsuite/libgomp.c-c++-common/for-10.c: New test.
   3539 	* testsuite/libgomp.c-c++-common/for-11.c: New test.
   3540 	* testsuite/libgomp.c-c++-common/for-12.c: New test.
   3541 	* testsuite/libgomp.c-c++-common/for-13.c: New test.
   3542 	* testsuite/libgomp.c-c++-common/for-14.c: New test.
   3543 	* testsuite/libgomp.c-c++-common/for-15.c: New test.
   3544 	* testsuite/libgomp.c-c++-common/for-2.h: If CONDNE macro is defined,
   3545 	define a different N(test), don't define N(f0) to N(f14), but instead
   3546 	define N(f20) to N(f34) using != comparisons.
   3547 	* testsuite/libgomp.c-c++-common/for-7.c: New test.
   3548 	* testsuite/libgomp.c-c++-common/for-8.c: New test.
   3549 	* testsuite/libgomp.c-c++-common/for-9.c: New test.
   3550 	* testsuite/libgomp.c-c++-common/master-combined-1.c: New test.
   3551 	* testsuite/libgomp.c-c++-common/pause-1.c: New test.
   3552 	* testsuite/libgomp.c-c++-common/pause-2.c: New test.
   3553 	* testsuite/libgomp.c-c++-common/pr66199-10.c: New test.
   3554 	* testsuite/libgomp.c-c++-common/pr66199-11.c: New test.
   3555 	* testsuite/libgomp.c-c++-common/pr66199-12.c: New test.
   3556 	* testsuite/libgomp.c-c++-common/pr66199-13.c: New test.
   3557 	* testsuite/libgomp.c-c++-common/pr66199-14.c: New test.
   3558 	* testsuite/libgomp.c-c++-common/simd-1.c: New test.
   3559 	* testsuite/libgomp.c-c++-common/taskloop-reduction-1.c: New test.
   3560 	* testsuite/libgomp.c-c++-common/taskloop-reduction-2.c: New test.
   3561 	* testsuite/libgomp.c-c++-common/taskloop-reduction-3.c: New test.
   3562 	* testsuite/libgomp.c-c++-common/taskloop-reduction-4.c: New test.
   3563 	* testsuite/libgomp.c-c++-common/task-reduction-11.c: New test.
   3564 	* testsuite/libgomp.c-c++-common/task-reduction-12.c: New test.
   3565 	* testsuite/libgomp.c-c++-common/task-reduction-1.c: New test.
   3566 	* testsuite/libgomp.c-c++-common/task-reduction-2.c: New test.
   3567 	* testsuite/libgomp.c-c++-common/task-reduction-3.c: New test.
   3568 	* testsuite/libgomp.c-c++-common/task-reduction-4.c: New test.
   3569 	* testsuite/libgomp.c-c++-common/task-reduction-5.c: New test.
   3570 	* testsuite/libgomp.c-c++-common/task-reduction-6.c: New test.
   3571 	* testsuite/libgomp.c-c++-common/task-reduction-7.c: New test.
   3572 	* testsuite/libgomp.c-c++-common/task-reduction-8.c: New test.
   3573 	* testsuite/libgomp.c-c++-common/task-reduction-9.c: New test.
   3574 	* testsuite/libgomp.c-c++-common/taskwait-depend-1.c: New test.
   3575 	* testsuite/libgomp.c++/depend-1.C: New test.
   3576 	* testsuite/libgomp.c++/depend-iterator-1.C: New test.
   3577 	* testsuite/libgomp.c++/depobj-1.C: New test.
   3578 	* testsuite/libgomp.c++/for-16.C: New test.
   3579 	* testsuite/libgomp.c++/for-21.C: New test.
   3580 	* testsuite/libgomp.c++/for-22.C: New test.
   3581 	* testsuite/libgomp.c++/for-23.C: New test.
   3582 	* testsuite/libgomp.c++/for-24.C: New test.
   3583 	* testsuite/libgomp.c++/for-25.C: New test.
   3584 	* testsuite/libgomp.c++/for-26.C: New test.
   3585 	* testsuite/libgomp.c++/taskloop-reduction-1.C: New test.
   3586 	* testsuite/libgomp.c++/taskloop-reduction-2.C: New test.
   3587 	* testsuite/libgomp.c++/taskloop-reduction-3.C: New test.
   3588 	* testsuite/libgomp.c++/taskloop-reduction-4.C: New test.
   3589 	* testsuite/libgomp.c++/task-reduction-10.C: New test.
   3590 	* testsuite/libgomp.c++/task-reduction-11.C: New test.
   3591 	* testsuite/libgomp.c++/task-reduction-12.C: New test.
   3592 	* testsuite/libgomp.c++/task-reduction-13.C: New test.
   3593 	* testsuite/libgomp.c++/task-reduction-14.C: New test.
   3594 	* testsuite/libgomp.c++/task-reduction-15.C: New test.
   3595 	* testsuite/libgomp.c++/task-reduction-16.C: New test.
   3596 	* testsuite/libgomp.c++/task-reduction-17.C: New test.
   3597 	* testsuite/libgomp.c++/task-reduction-18.C: New test.
   3598 	* testsuite/libgomp.c++/task-reduction-19.C: New test.
   3599 	* testsuite/libgomp.c/task-reduction-1.c: New test.
   3600 	* testsuite/libgomp.c++/task-reduction-1.C: New test.
   3601 	* testsuite/libgomp.c/task-reduction-2.c: New test.
   3602 	* testsuite/libgomp.c++/task-reduction-2.C: New test.
   3603 	* testsuite/libgomp.c++/task-reduction-3.C: New test.
   3604 	* testsuite/libgomp.c++/task-reduction-4.C: New test.
   3605 	* testsuite/libgomp.c++/task-reduction-5.C: New test.
   3606 	* testsuite/libgomp.c++/task-reduction-6.C: New test.
   3607 	* testsuite/libgomp.c++/task-reduction-7.C: New test.
   3608 	* testsuite/libgomp.c++/task-reduction-8.C: New test.
   3609 	* testsuite/libgomp.c++/task-reduction-9.C: New test.
   3610 	* testsuite/libgomp.c/teams-1.c: New test.
   3611 	* testsuite/libgomp.c/teams-2.c: New test.
   3612 	* testsuite/libgomp.c/thread-limit-4.c: New test.
   3613 	* testsuite/libgomp.c/thread-limit-5.c: New test.
   3614 	* testsuite/libgomp.fortran/display-affinity-1.f90: New test.
   3615 
   3616 2018-11-06  Chung-Lin Tang <cltang (a] codesourcery.com>
   3617 
   3618 	* oacc-mem.c (memcpy_tofrom_device): New function, combined from
   3619 	acc_memcpy_to/from_device functions, now with async parameter.
   3620 	(acc_memcpy_to_device): Modify to use memcpy_tofrom_device.
   3621 	(acc_memcpy_from_device): Likewise.
   3622 	(acc_memcpy_to_device_async): New API function.
   3623 	(acc_memcpy_from_device_async): Likewise.
   3624 	(present_create_copy): Add async parameter and async setting/unsetting.
   3625 	(acc_create): Adjust present_create_copy call.
   3626 	(acc_copyin): Likewise.
   3627 	(acc_present_or_create): Likewise.
   3628 	(acc_present_or_copyin): Likewise.
   3629 	(acc_create_async): New API function.
   3630 	(acc_copyin_async): New API function.
   3631 	(delete_copyout): Add async parameter and async setting/unsetting.
   3632 	(acc_delete): Adjust delete_copyout call.
   3633 	(acc_copyout): Likewise.
   3634 	(acc_delete_async): New API function.
   3635 	(acc_copyout_async): Likewise.
   3636 	(update_dev_host): Add async parameter and async setting/unsetting.
   3637 	(acc_update_device): Adjust update_dev_host call.
   3638 	(acc_update_self): Likewise.
   3639 	(acc_update_device_async): New API function.
   3640 	(acc_update_self_async): Likewise.
   3641 	* openacc.h (acc_copyin_async): Declare new API function.
   3642 	(acc_create_async): Likewise.
   3643 	(acc_copyout_async): Likewise.
   3644 	(acc_delete_async): Likewise.
   3645 	(acc_update_device_async): Likewise.
   3646 	(acc_update_self_async): Likewise.
   3647 	(acc_memcpy_to_device_async): Likewise.
   3648 	(acc_memcpy_from_device_async): Likewise.
   3649 	* openacc_lib.h (acc_copyin_async_32_h): New subroutine.
   3650 	(acc_copyin_async_64_h): New subroutine.
   3651 	(acc_copyin_async_array_h): New subroutine.
   3652 	(acc_create_async_32_h): New subroutine.
   3653 	(acc_create_async_64_h): New subroutine.
   3654 	(acc_create_async_array_h): New subroutine.
   3655 	(acc_copyout_async_32_h): New subroutine.
   3656 	(acc_copyout_async_64_h): New subroutine.
   3657 	(acc_copyout_async_array_h): New subroutine.
   3658 	(acc_delete_async_32_h): New subroutine.
   3659 	(acc_delete_async_64_h): New subroutine.
   3660 	(acc_delete_async_array_h): New subroutine.
   3661 	(acc_update_device_async_32_h): New subroutine.
   3662 	(acc_update_device_async_64_h): New subroutine.
   3663 	(acc_update_device_async_array_h): New subroutine.
   3664 	(acc_update_self_async_32_h): New subroutine.
   3665 	(acc_update_self_async_64_h): New subroutine.
   3666 	(acc_update_self_async_array_h): New subroutine.
   3667 	* openacc.f90 (acc_copyin_async_32_h): New subroutine.
   3668 	(acc_copyin_async_64_h): New subroutine.
   3669 	(acc_copyin_async_array_h): New subroutine.
   3670 	(acc_create_async_32_h): New subroutine.
   3671 	(acc_create_async_64_h): New subroutine.
   3672 	(acc_create_async_array_h): New subroutine.
   3673 	(acc_copyout_async_32_h): New subroutine.
   3674 	(acc_copyout_async_64_h): New subroutine.
   3675 	(acc_copyout_async_array_h): New subroutine.
   3676 	(acc_delete_async_32_h): New subroutine.
   3677 	(acc_delete_async_64_h): New subroutine.
   3678 	(acc_delete_async_array_h): New subroutine.
   3679 	(acc_update_device_async_32_h): New subroutine.
   3680 	(acc_update_device_async_64_h): New subroutine.
   3681 	(acc_update_device_async_array_h): New subroutine.
   3682 	(acc_update_self_async_32_h): New subroutine.
   3683 	(acc_update_self_async_64_h): New subroutine.
   3684 	(acc_update_self_async_array_h): New subroutine.
   3685 	* libgomp.map (OACC_2.5): Add acc_copyin_async*, acc_copyout_async*,
   3686 	acc_copyout_finalize_async*, acc_create_async*, acc_delete_async*,
   3687 	acc_delete_finalize_async*, acc_memcpy_from_device_async*,
   3688 	acc_memcpy_to_device_async*, acc_update_device_async*, and
   3689 	acc_update_self_async* entries.
   3690 	* testsuite/libgomp.oacc-c-c++-common/lib-94.c: New test.
   3691 	* testsuite/libgomp.oacc-c-c++-common/lib-95.c: New test.
   3692 	* testsuite/libgomp.oacc-fortran/lib-16.f90: New test.
   3693 
   3694 2018-10-31  Joseph Myers  <joseph (a] codesourcery.com>
   3695 
   3696 	PR bootstrap/82856
   3697 	* Makefile.am: Include multilib.am
   3698 	(AUTOMAKE_OPTIONS): Add info-in-builddir.
   3699 	(CLEANFILES): Remove libgomp.info.
   3700 	* configure.ac: Remove AC_PREREQ.
   3701 	* testsuite/Makefile.am (RUNTEST): Remove quotes.
   3702 	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
   3703 	Regenerate.
   3704 
   3705 2018-10-29  Joseph Myers  <joseph (a] codesourcery.com>
   3706 	    Julian Brown  <julian (a] codesourcery.com>
   3707 
   3708 	* testsuite/libgomp.oacc-c++/this.C: New.
   3709 
   3710 2018-09-18  Cesar Philippidis  <cesar (a] codesourcery.com>
   3711 
   3712 	* plugin/plugin-nvptx.c (struct cuda_map): New.
   3713 	(struct ptx_stream): Replace d, h, h_begin, h_end, h_next, h_prev,
   3714 	h_tail with (cuda_map *) map.
   3715 	(cuda_map_create): New function.
   3716 	(cuda_map_destroy): New function.
   3717 	(map_init): Update to use a linked list of cuda_map objects.
   3718 	(map_fini): Likewise.
   3719 	(map_pop): Likewise.
   3720 	(map_push): Likewise.  Return CUdeviceptr instead of void.
   3721 	(init_streams_for_device): Remove stales references to ptx_stream
   3722 	members.
   3723 	(select_stream_for_async): Likewise.
   3724 	(nvptx_exec): Update call to map_init.
   3725 
   3726 2018-09-09  Cesar Philippidis  <cesar (a] codesourcery.com>
   3727             Julian Brown  <julian (a] codesourcery.com>
   3728 
   3729 	PR middle-end/86336
   3730 	* testsuite/libgomp.oacc-c++/non-scalar-data.C: Remove XFAIL.
   3731 
   3732 2018-08-21  Nicolas Koenig  <koenigni (a] gcc.gnu.org>
   3733 	Thomas Koenig <tkoenig (a] gcc.gnu.org>
   3734 
   3735 	PR fortran/25829
   3736 	* testsuite/libgomp.fortran/async_io_1.f90: New test.
   3737 	* testsuite/libgomp.fortran/async_io_2.f90: New test.
   3738 	* testsuite/libgomp.fortran/async_io_3.f90: New test.
   3739 	* testsuite/libgomp.fortran/async_io_4.f90: New test.
   3740 	* testsuite/libgomp.fortran/async_io_5.f90: New test.
   3741 	* testsuite/libgomp.fortran/async_io_6.f90: New test.
   3742 	* testsuite/libgomp.fortran/async_io_7.f90: New test.
   3743 
   3744 2018-08-13  Cesar Philippidis  <cesar (a] codesourcery.com>
   3745 	    Tom de Vries  <tdevries (a] suse.de>
   3746 
   3747 	PR target/85590
   3748 	* plugin/cuda/cuda.h (CUoccupancyB2DSize): New typedef.
   3749 	(cuOccupancyMaxPotentialBlockSize): Declare.
   3750 	* plugin/cuda-lib.def (cuOccupancyMaxPotentialBlockSize): New
   3751 	CUDA_ONE_CALL_MAYBE_NULL.
   3752 	* plugin/plugin-nvptx.c (CUDA_VERSION < 6050): Define
   3753 	CUoccupancyB2DSize and declare
   3754 	cuOccupancyMaxPotentialBlockSize.
   3755 	(nvptx_exec): Use cuOccupancyMaxPotentialBlockSize to set the
   3756 	default num_gangs and num_workers when the driver supports it.
   3757 
   3758 2018-08-08  Tom de Vries  <tdevries (a] suse.de>
   3759 
   3760 	* plugin/cuda-lib.def (cuLinkAddData_v2, cuLinkCreate_v2): Declare using
   3761 	CUDA_ONE_CALL_MAYBE_NULL.
   3762 	* plugin/plugin-nvptx.c (cuLinkAddData, cuLinkCreate): Undef and declare.
   3763 	(cuLinkAddData_v2, cuLinkCreate_v2): Declare.
   3764 	(link_ptx): Fall back to cuLinkAddData/cuLinkCreate if the _v2 versions
   3765 	are not found.
   3766 
   3767 2018-08-08  Tom de Vries  <tdevries (a] suse.de>
   3768 
   3769 	* plugin/cuda-lib.def (cuGetErrorString): Use CUDA_ONE_CALL_MAYBE_NULL.
   3770 	* plugin/plugin-nvptx.c (cuda_error): Handle if cuGetErrorString is not
   3771 	present.
   3772 
   3773 2018-08-08  Tom de Vries  <tdevries (a] suse.de>
   3774 
   3775 	* plugin/plugin-nvptx.c
   3776 	(CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR): Define.
   3777 	(nvptx_open_device): Use
   3778 	CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR.
   3779 
   3780 2018-08-08  Tom de Vries  <tdevries (a] suse.de>
   3781 
   3782 	* plugin/plugin-nvptx.c (cuda_error): Move declaration of cuGetErrorString ...
   3783 	(cuGetErrorString): ... here.  Guard with CUDA_VERSION < 6000.
   3784 
   3785 2018-08-07  Tom de Vries  <tdevries (a] suse.de>
   3786 
   3787 	* plugin/plugin-nvptx.c (DO_PRAGMA): Define.
   3788 	(struct cuda_lib_s): Add def/undef of CUDA_ONE_CALL_MAYBE_NULL.
   3789 	(init_cuda_lib): Add new param to CUDA_ONE_CALL_1.  Add arg to
   3790 	corresponding call in CUDA_ONE_CALL.  Add def/undef of
   3791 	CUDA_ONE_CALL_MAYBE_NULL.
   3792 	(CUDA_CALL_EXISTS): Define.
   3793 
   3794 2018-08-07  Tom de Vries  <tdevries (a] suse.de>
   3795 
   3796 	* plugin/plugin-nvptx.c (struct cuda_lib_s, init_cuda_lib): Put
   3797 	CUDA_ONE_CALL defines right before the cuda-lib.def include, and the
   3798 	corresponding undefs right after.
   3799 
   3800 2018-08-04  Tom de Vries  <tdevries (a] suse.de>
   3801 
   3802 	* plugin/configfrag.ac: For --without-cuda-driver, set
   3803 	CUDA_DRIVER_INCLUDE and CUDA_DRIVER_LIB to no.  Handle
   3804 	CUDA_DRIVER_INCLUDE == no and CUDA_DRIVER_LIB == no.
   3805 	* configure: Regenerate.
   3806 
   3807 2018-08-02  Tom de Vries  <tdevries (a] suse.de>
   3808 
   3809 	PR target/86660
   3810 	* testsuite/libgomp.oacc-c++/routine-1-auto.C: Remove -fno-exceptions.
   3811 	* testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Same.
   3812 	* testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C:
   3813 	Same.
   3814 	* testsuite/libgomp.oacc-c++/routine-1-template.C: Same.
   3815 	* testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C: Same.
   3816 	* testsuite/libgomp.oacc-c-c++-common/routine-1.c: Same.
   3817 
   3818 2018-08-01  Cesar Philippidis  <cesar (a] codesourcery.com>
   3819 	    Thomas Schwinge <thomas (a] codesourcery.com>
   3820 
   3821 	* config/nvptx/oacc-parallel.c: Truncate.
   3822 
   3823 2018-08-01  Cesar Philippidis  <cesar (a] codesourcery.com>
   3824 	    James Norris <jnorris (a] codesourcery.com>
   3825 
   3826 	* plugin/plugin-nvptx.c (struct map): Removed.
   3827 	(map_init, map_pop): Remove use of struct map.
   3828 	(map_push): Likewise and change argument list.
   3829 	* testsuite/libgomp.oacc-c-c++-common/mapping-1.c: New
   3830 
   3831 2018-08-01  Tom de Vries  <tdevries (a] suse.de>
   3832 
   3833 	* plugin/cuda-lib.def: New file.  Factor out of ...
   3834 	* plugin/plugin-nvptx.c (CUDA_CALLS): ... here.
   3835 	(struct cuda_lib_s, init_cuda_lib): Include cuda-lib.def instead of
   3836 	using CUDA_CALLS.
   3837 
   3838 2018-07-31  Andre Vieira  <andre.simoesdiasvieira (a] arm.com>
   3839 
   3840 	Revert 'AsyncI/O patch committed'.
   3841 	2018-07-25  Nicolas Koenig  <koenigni (a] gcc.gnu.org>
   3842 		Thomas Koenig <tkoenig (a] gcc.gnu.org>
   3843 
   3844 	PR fortran/25829
   3845 	* testsuite/libgomp.fortran/async_io_1.f90: New test.
   3846 	* testsuite/libgomp.fortran/async_io_2.f90: New test.
   3847 	* testsuite/libgomp.fortran/async_io_3.f90: New test.
   3848 	* testsuite/libgomp.fortran/async_io_4.f90: New test.
   3849 	* testsuite/libgomp.fortran/async_io_5.f90: New test.
   3850 	* testsuite/libgomp.fortran/async_io_6.f90: New test.
   3851 	* testsuite/libgomp.fortran/async_io_7.f90: New test.
   3852 
   3853 2018-07-30  Tom de Vries  <tdevries (a] suse.de>
   3854 
   3855 	* plugin/plugin-nvptx.c (MIN, MAX): Redefine.
   3856 	(nvptx_exec): Ensure worker and vector default dims don't exceed
   3857 	targ_fn->max_threads_per_block.
   3858 
   3859 2018-07-30  Tom de Vries  <tdevries (a] suse.de>
   3860 
   3861 	* plugin/plugin-nvptx.c (struct ptx_device): Add default_dims field.
   3862 	(nvptx_open_device): Init default_dims for device.
   3863 	(nvptx_exec): Use default_dims from device.
   3864 
   3865 2018-07-26  Jakub Jelinek  <jakub (a] redhat.com>
   3866 
   3867 	PR testsuite/86660
   3868 	* testsuite/libgomp.c++/for-15.C (results): Include it in
   3869 	omp declare target region.
   3870 	(main): Use map (always, tofrom: results) instead of
   3871 	map (tofrom: results).
   3872 
   3873 	PR middle-end/86660
   3874 	* testsuite/libgomp.c/pr86660.c: New test.
   3875 
   3876 2018-07-26  Cesar Philippidis  <cesar (a] codesourcery.com>
   3877 	    Tom de Vries  <tdevries (a] suse.de>
   3878 
   3879 	* plugin/plugin-nvptx.c (nvptx_exec): Error if the hardware doesn't have
   3880 	sufficient resources to launch a kernel, and give a hint on how to fix
   3881 	it.
   3882 
   3883 2018-07-26  Cesar Philippidis  <cesar (a] codesourcery.com>
   3884 	    Tom de Vries  <tdevries (a] suse.de>
   3885 
   3886 	* plugin/plugin-nvptx.c (struct ptx_device): Add warp_size,
   3887 	max_threads_per_block and max_threads_per_multiprocessor fields.
   3888 	(nvptx_open_device): Initialize new fields.
   3889 	(nvptx_exec): Use num_sms, and new fields.
   3890 
   3891 2018-07-26  Tom de Vries  <tdevries (a] suse.de>
   3892 
   3893 	* testsuite/libgomp.oacc-fortran/lib-12.f90: Move acc_async_test calls
   3894 	to correct locations.  Remove xfail.
   3895 
   3896 2018-07-26  Tom de Vries  <tdevries (a] suse.de>
   3897 
   3898 	* testsuite/libgomp.oacc-fortran/lib-13.f90: Replace acc_wait_all with
   3899 	acc_wait.  Move acc_async_test calls to correct locations.  Remove
   3900 	xfail.
   3901 
   3902 2018-07-25  Nicolas Koenig  <koenigni (a] gcc.gnu.org>
   3903 	Thomas Koenig <tkoenig (a] gcc.gnu.org>
   3904 
   3905 	PR fortran/25829
   3906 	* testsuite/libgomp.fortran/async_io_1.f90: New test.
   3907 	* testsuite/libgomp.fortran/async_io_2.f90: New test.
   3908 	* testsuite/libgomp.fortran/async_io_3.f90: New test.
   3909 	* testsuite/libgomp.fortran/async_io_4.f90: New test.
   3910 	* testsuite/libgomp.fortran/async_io_5.f90: New test.
   3911 	* testsuite/libgomp.fortran/async_io_6.f90: New test.
   3912 	* testsuite/libgomp.fortran/async_io_7.f90: New test.
   3913 
   3914 2018-07-17  Jakub Jelinek  <jakub (a] redhat.com>
   3915 
   3916 	PR middle-end/86542
   3917 	* testsuite/libgomp.c++/pr86542.C: New test.
   3918 
   3919 	PR middle-end/86539
   3920 	* testsuite/libgomp.c++/pr86539.C: New test.
   3921 
   3922 2018-07-11  Jakub Jelinek  <jakub (a] redhat.com>
   3923 
   3924 	PR c++/86443
   3925 	* testsuite/libgomp.c++/for-15.C (a): Remove unused variable.
   3926 	(results): Make sure the variable is not inside declare target region.
   3927 	(qux): Remove unused function.
   3928 
   3929 2018-07-10  Jakub Jelinek  <jakub (a] redhat.com>
   3930 
   3931 	PR c++/86443
   3932 	* testsuite/libgomp.c++/for-15.C: New test.
   3933 
   3934 2018-06-26  Jakub Jelinek  <jakub (a] redhat.com>
   3935 
   3936 	PR c++/86291
   3937 	* testsuite/libgomp.c++/pr86291.C: New test.
   3938 
   3939 2018-06-24  Gerald Pfeifer  <gerald (a] pfeifer.com>
   3940 
   3941 	* libgomp.texi (Top): Move www.openmp.org to https.
   3942 	(Enabling OpenMP): Ditto.
   3943 	(omp_get_active_level): Ditto.
   3944 	(omp_get_ancestor_thread_num): Ditto.
   3945 	(omp_get_cancellation): Ditto.
   3946 	(omp_get_default_device): Ditto.
   3947 	(omp_get_dynamic): Ditto.
   3948 	(omp_get_level): Ditto.
   3949 	(omp_get_max_active_levels): Ditto.
   3950 	(omp_get_max_task_priority): Ditto.
   3951 	(omp_get_max_threads): Ditto.
   3952 	(omp_get_nested): Ditto.
   3953 	(omp_get_num_devices): Ditto.
   3954 	(omp_get_num_procs): Ditto.
   3955 	(omp_get_num_teams): Ditto.
   3956 	(omp_get_num_threads): Ditto.
   3957 	(omp_get_proc_bind): Ditto.
   3958 	(omp_get_schedule): Ditto.
   3959 	(omp_get_team_num): Ditto.
   3960 	(omp_get_team_size): Ditto.
   3961 	(omp_get_thread_limit): Ditto.
   3962 	(omp_get_thread_num): Ditto.
   3963 	(omp_in_parallel): Ditto.
   3964 	(omp_in_final): Ditto.
   3965 	(omp_is_initial_device): Ditto.
   3966 	(omp_set_default_device): Ditto.
   3967 	(omp_set_dynamic): Ditto.
   3968 	(omp_set_max_active_levels): Ditto.
   3969 	(omp_set_nested): Ditto.
   3970 	(omp_set_num_threads): Ditto.
   3971 	(omp_set_schedule): Ditto.
   3972 	(omp_init_lock): Ditto.
   3973 	(omp_set_lock): Ditto.
   3974 	(omp_test_lock): Ditto.
   3975 	(omp_unset_lock): Ditto.
   3976 	(omp_destroy_lock): Ditto.
   3977 	(omp_init_nest_lock): Ditto.
   3978 	(omp_set_nest_lock): Ditto.
   3979 	(omp_test_nest_lock): Ditto.
   3980 	(omp_unset_nest_lock): Ditto.
   3981 	(omp_destroy_nest_lock): Ditto.
   3982 	(omp_get_wtick): Ditto.
   3983 	(omp_get_wtime): Ditto.
   3984 	(OMP_CANCELLATION): Ditto.
   3985 	(OMP_DISPLAY_ENV): Ditto.
   3986 	(OMP_DEFAULT_DEVICE): Ditto.
   3987 	(OMP_DYNAMIC): Ditto.
   3988 	(OMP_MAX_ACTIVE_LEVELS): Ditto.
   3989 	(OMP_MAX_TASK_PRIORITY): Ditto.
   3990 	(OMP_NESTED): Ditto.
   3991 	(OMP_NUM_THREADS): Ditto.
   3992 	(OMP_PROC_BIND): Ditto.
   3993 	(OMP_PLACES): Ditto.
   3994 	(OMP_STACKSIZE): Ditto.
   3995 	(OMP_SCHEDULE): Ditto.
   3996 	(OMP_THREAD_LIMIT): Ditto.
   3997 	(OMP_WAIT_POLICY): Ditto.
   3998 
   3999 2018-06-22  Cesar Philippidis  <cesar (a] codesourcery.com>
   4000 	    James Norris  <jnorris (a] codesourcery.com>
   4001 	    Julian Brown  <julian (a] codesourcery.com>
   4002 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   4003 	    Tom de Vries  <tom (a] codesourcery.com>
   4004 
   4005 	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Don't force "-O2".
   4006 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Update.
   4007 	* testsuite/libgomp.oacc-c-c++-common/host_data-1.c: Likewise.
   4008 	* testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: Likewise.
   4009 	* testsuite/libgomp.oacc-fortran/data-1.f90: Likewise.
   4010 	* testsuite/libgomp.oacc-fortran/data-2.f90: Likewise.
   4011 	* testsuite/libgomp.oacc-c++/non-scalar-data.C: New file.
   4012 	* testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise.
   4013 	* testsuite/libgomp.oacc-c-c++-common/enter-data.c: Likewise.
   4014 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c:
   4015 	Likewise.
   4016 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c:
   4017 	Likewise.
   4018 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c:
   4019 	Likewise.
   4020 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c:
   4021 	Likewise.
   4022 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c:
   4023 	Likewise.
   4024 	* testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c:
   4025 	Likewise.
   4026 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c:
   4027 	Likewise.
   4028 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c:
   4029 	Likewise.
   4030 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c:
   4031 	Likewise.
   4032 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c:
   4033 	Likewise.
   4034 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c:
   4035 	Likewise.
   4036 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c:
   4037 	Likewise.
   4038 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c:
   4039 	Likewise.
   4040 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c:
   4041 	Likewise.
   4042 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c:
   4043 	Likewise.
   4044 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c:
   4045 	Likewise.
   4046 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c:
   4047 	Likewise.
   4048 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c:
   4049 	Likewise.
   4050 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c:
   4051 	Likewise.
   4052 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c:
   4053 	Likewise.
   4054 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c:
   4055 	Likewise.
   4056 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c:
   4057 	Likewise.
   4058 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c:
   4059 	Likewise.
   4060 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c:
   4061 	Likewise.
   4062 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c:
   4063 	Likewise.
   4064 	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c:
   4065 	Likewise.
   4066 	* testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c:
   4067 	Likewise.
   4068 	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c: Likewise.
   4069 	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h: Likewise.
   4070 	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-2.h: Likewise.
   4071 	* testsuite/libgomp.oacc-fortran/cublas-fixed.h: Likewise.
   4072 	* testsuite/libgomp.oacc-fortran/dummy-array.f90: Likewise.
   4073 	* testsuite/libgomp.oacc-fortran/host_data-2.f90: Likewise.
   4074 	* testsuite/libgomp.oacc-fortran/host_data-3.f: Likewise.
   4075 	* testsuite/libgomp.oacc-fortran/host_data-4.f90: Likewise.
   4076 	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90:
   4077 	Likewise.
   4078 	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90:
   4079 	Likewise.
   4080 	* testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Likewise.
   4081 	* testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Likewise.
   4082 	* testsuite/libgomp.oacc-fortran/kernels-independent.f90:
   4083 	Likewise.
   4084 	* testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Likewise.
   4085 	* testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Likewise.
   4086 	* testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95:
   4087 	Likewise.
   4088 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90:
   4089 	Likewise.
   4090 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90:
   4091 	Likewise.
   4092 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90:
   4093 	Likewise.
   4094 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90:
   4095 	Likewise.
   4096 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90:
   4097 	Likewise.
   4098 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90:
   4099 	Likewise.
   4100 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90:
   4101 	Likewise.
   4102 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90:
   4103 	Likewise.
   4104 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90:
   4105 	Likewise.
   4106 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90:
   4107 	Likewise.
   4108 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90:
   4109 	Likewise.
   4110 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90:
   4111 	Likewise.
   4112 	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90:
   4113 	Likewise.
   4114 	* testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90:
   4115 	Likewise.
   4116 	* testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise.
   4117 	* testsuite/libgomp.oacc-fortran/lib-13.f90: Likewise.
   4118 	* testsuite/libgomp.oacc-fortran/lib-14.f90: Likewise.
   4119 	* testsuite/libgomp.oacc-fortran/lib-15.f90: Likewise.
   4120 	* testsuite/libgomp.oacc-fortran/parallel-loop-1.f90: Likewise.
   4121 	* testsuite/libgomp.oacc-fortran/reference-reductions.f90: Likewise.
   4122 	* testsuite/libgomp.oacc-fortran/vector-routine.f90: Likewise.
   4123 
   4124 2018-06-20  Chung-Lin Tang <cltang (a] codesourcery.com>
   4125 	    Thomas Schwinge <thomas (a] codesourcery.com>
   4126 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   4127 
   4128 	* libgomp.h (struct splay_tree_key_s): Add dynamic_refcount member.
   4129 	(gomp_acc_remove_pointer): Update declaration.
   4130 	(gomp_acc_declare_allocate): Declare.
   4131 	(gomp_remove_var): Declare.
   4132 	* libgomp.map (OACC_2.5): Define.
   4133 	* oacc-mem.c (acc_map_data): Update refcount.
   4134 	(acc_unmap_data): Likewise.
   4135 	(present_create_copy): Likewise.
   4136 	(acc_create): Add FLAG_PRESENT when calling present_create_copy.
   4137 	(acc_copyin): Likewise.
   4138 	(FLAG_FINALIZE): Define.
   4139 	(delete_copyout): Update dynamic refcounts, add support for FINALIZE.
   4140 	(acc_delete_finalize): New function.
   4141 	(acc_delete_finalize_async): New function.
   4142 	(acc_copyout_finalize): New function.
   4143 	(acc_copyout_finalize_async): New function.
   4144 	(gomp_acc_insert_pointer): Update refcounts.
   4145 	(gomp_acc_remove_pointer): Return if data is not present on the
   4146 	accelerator.
   4147 	* oacc-parallel.c (find_pset): Rename to find_pointer.
   4148 	(find_pointer): Add support for GOMP_MAP_POINTER.
   4149 	(handle_ftn_pointers): New function.
   4150 	(GOACC_parallel_keyed): Update refcounts of variables.
   4151 	(GOACC_enter_exit_data): Add support for finalized data mappings.
   4152 	Add support for GOMP_MAP_{TO,ALLOC,RELESE,FROM}. Update handling
   4153 	of fortran arrays.
   4154 	(GOACC_update): Add support for GOMP_MAP_{ALWAYS_POINTER,TO,FROM}.
   4155 	(GOACC_declare): Add support for GOMP_MAP_RELEASE, remove support
   4156 	for GOMP_MAP_FORCE_FROM.
   4157 	* openacc.f90 (module openacc_internal): Add
   4158 	acc_copyout_finalize_{32_h,64_h,array_h,_l}, and
   4159 	acc_delete_finalize_{32_h,64_h,array_h,_l}. Add interfaces for
   4160 	acc_copyout_finalize and acc_delete_finalize.
   4161 	(acc_copyout_finalize_32_h): New subroutine.
   4162 	(acc_copyout_finalize_64_h): New subroutine.
   4163 	(acc_copyout_finalize_array_h): New subroutine.
   4164 	(acc_delete_finalize_32_h): New subroutine.
   4165 	(acc_delete_finalize_64_h): New subroutine.
   4166 	(acc_delete_finalize_array_h): New subroutine.
   4167 	* openacc.h (acc_copyout_finalize): Declare.
   4168 	(acc_copyout_finalize_async): Declare.
   4169 	(acc_delete_finalize): Declare.
   4170 	(acc_delete_finalize_async): Declare.
   4171 	* openacc_lib.h (acc_copyout_finalize): New interface.
   4172 	(acc_delete_finalize): New interface.
   4173 	* target.c (gomp_map_vars): Update dynamic_refcount.
   4174 	(gomp_remove_var): New function.
   4175 	(gomp_unmap_vars): Use it.
   4176 	(gomp_unload_image_from_device): Likewise.
   4177 	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Update test
   4178 	case to utilize OpenACC 2.5 data clause semantics.
   4179 	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
   4180 	* testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise.
   4181 	* testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise.
   4182 	* testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise.
   4183 	* testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise.
   4184 	* testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise.
   4185 	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
   4186 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   4187 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   4188 	* testsuite/libgomp.oacc-c-c++-common/lib-32.c: Likewise.
   4189 	* testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise.
   4190 	* testsuite/libgomp.oacc-fortran/data-5.f90: New test.
   4191 	* testsuite/libgomp.oacc-fortran/data-already-1.f: Update test case to
   4192 	utilize OpenACC 2.5 data clause semantics.
   4193 	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
   4194 	* testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise.
   4195 	* testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise.
   4196 	* testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise.
   4197 	* testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise.
   4198 	* testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise.
   4199 	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
   4200 	* testsuite/libgomp.oacc-fortran/lib-32-1.f: Likewise.
   4201 	* testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise.
   4202 
   4203 2018-05-21  Janus Weil  <janus (a] gcc.gnu.org>
   4204 
   4205 	PR fortran/85841
   4206 	PR testsuite/85865
   4207 	* testsuite/libgomp.fortran/collapse2.f90: Add option "-std=legacy".
   4208 	* testsuite/libgomp.fortran/omp_atomic2.f90: Ditto.
   4209 	* testsuite/libgomp.fortran/omp_parse1.f90: Ditto.
   4210 	* testsuite/libgomp.fortran/omp_parse3.f90: Ditto.
   4211 	* testsuite/libgomp.fortran/task2.f90: Ditto.
   4212 	* testsuite/libgomp.fortran/vla1.f90: Ditto.
   4213 	* testsuite/libgomp.fortran/vla2.f90: Ditto.
   4214 	* testsuite/libgomp.fortran/vla3.f90: Ditto.
   4215 	* testsuite/libgomp.fortran/vla4.f90: Ditto.
   4216 	* testsuite/libgomp.fortran/vla5.f90: Ditto.
   4217 	* testsuite/libgomp.fortran/vla6.f90: Ditto.
   4218 	* testsuite/libgomp.fortran/vla8.f90: Ditto.
   4219 	* testsuite/libgomp.oacc-fortran/collapse-2.f90: Ditto.
   4220 	* testsuite/libgomp.oacc-fortran/nested-function-1.f90: Ditto.
   4221 
   4222 2018-05-18  Cesar Philippidis  <cesar (a] codesourcery.com>
   4223 
   4224 	PR c++/85782
   4225 	* testsuite/libgomp.oacc-c-c++-common/pr85782.c: New test.
   4226 
   4227 2018-05-09  Tom de Vries  <tom (a] codesourcery.com>
   4228 
   4229 	PR libgomp/82901
   4230 	* oacc-parallel.c (GOACC_declare): Use GOMP_ASYNC_SYNC as async argument
   4231 	to GOACC_enter_exit_data.
   4232 
   4233 2018-05-09  Tom de Vries  <tom (a] codesourcery.com>
   4234 
   4235 	PR libgomp/83792
   4236 	* oacc-int.h (async_valid_stream_id_p, async_valid_p)
   4237 	(async_synchronous_p): New function.
   4238 	* oacc-async.c (acc_async_test, acc_wait, acc_wait_all_async): Use
   4239 	async_valid_p.
   4240 	* oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use
   4241 	async_valid_stream_id_p.
   4242 	* oacc-mem.c (gomp_acc_remove_pointer): Use async_synchronous_p.
   4243 	* oacc-parallel.c (GOACC_parallel_keyed): Same.
   4244 
   4245 2018-05-07  Tom de Vries  <tom (a] codesourcery.com>
   4246 
   4247 	PR testsuite/85677
   4248 	* testsuite/lib/libgomp.exp (libgomp_init): Move inclusion of top-level
   4249 	include directory in ALWAYS_CFLAGS out of $blddir != "" condition.
   4250 
   4251 2018-05-03  Tom de Vries  <tom (a] codesourcery.com>
   4252 
   4253 	PR testsuite/85106
   4254 	* testsuite/lib/libgomp-dg.exp (libgomp-dg-test): Add save-temps to
   4255 	extra_tool_flags if it contains an -foffload=-fdump-* flag.
   4256 	* testsuite/lib/libgomp.exp: Include scanoffloadtree.exp.
   4257 	* testsuite/libgomp.oacc-c/vec.c: Use scan-offload-tree-dump.
   4258 
   4259 2018-05-02  Tom de Vries  <tom (a] codesourcery.com>
   4260 
   4261 	PR libgomp/85411
   4262 	* plugin/plugin-nvptx.c (nvptx_exec): Move parsing of
   4263 	GOMP_OPENACC_DIM ...
   4264 	* env.c (parse_gomp_openacc_dim): ... here.  New function.
   4265 	(initialize_env): Call parse_gomp_openacc_dim.
   4266 	(goacc_default_dims): Define.
   4267 	* libgomp.h (goacc_default_dims): Declare.
   4268 	* oacc-plugin.c (GOMP_PLUGIN_acc_default_dim): New function.
   4269 	* oacc-plugin.h (GOMP_PLUGIN_acc_default_dim): Declare.
   4270 	* libgomp.map: New version "GOMP_PLUGIN_1.2". Add
   4271 	GOMP_PLUGIN_acc_default_dim.
   4272 	* testsuite/libgomp.oacc-c-c++-common/loop-default-runtime.c: New test.
   4273 	* testsuite/libgomp.oacc-c-c++-common/loop-default.h: New test.
   4274 
   4275 2018-05-02  Tom de Vries  <tom (a] codesourcery.com>
   4276 
   4277 	PR testsuite/83791
   4278 	* testsuite/libgomp.c++/udr-9.C: Update.
   4279 	* testsuite/libgomp.c++/atomic-16.C: Remove.
   4280 	* testsuite/libgomp.c++/cancel-taskgroup-2.C: Remove.
   4281 	* testsuite/libgomp.c++/loop-13.C: Remove.
   4282 	* testsuite/libgomp.c++/loop-14.C: Remove.
   4283 	* testsuite/libgomp.c++/loop-15.C: Remove.
   4284 	* testsuite/libgomp.c++/monotonic-1.C: Remove.
   4285 	* testsuite/libgomp.c++/monotonic-2.C: Remove.
   4286 	* testsuite/libgomp.c++/nonmonotonic-1.C: Remove.
   4287 	* testsuite/libgomp.c++/nonmonotonic-2.C: Remove.
   4288 	* testsuite/libgomp.c++/ordered-1.C: Remove.
   4289 	* testsuite/libgomp.c++/pr45784.C: Remove.
   4290 	* testsuite/libgomp.c++/pr64824.C: Remove.
   4291 	* testsuite/libgomp.c++/pr64868.C: Remove.
   4292 	* testsuite/libgomp.c++/pr66199-1.C: Remove.
   4293 	* testsuite/libgomp.c++/pr66199-2.C: Remove.
   4294 	* testsuite/libgomp.c++/pr66199-3.C: Remove.
   4295 	* testsuite/libgomp.c++/pr66199-4.C: Remove.
   4296 	* testsuite/libgomp.c++/pr66199-5.C: Remove.
   4297 	* testsuite/libgomp.c++/pr66199-6.C: Remove.
   4298 	* testsuite/libgomp.c++/pr66199-7.C: Remove.
   4299 	* testsuite/libgomp.c++/pr66199-8.C: Remove.
   4300 	* testsuite/libgomp.c++/pr66199-9.C: Remove.
   4301 	* testsuite/libgomp.c++/pr69389.C: Remove.
   4302 	* testsuite/libgomp.c++/simd10.C: Remove.
   4303 	* testsuite/libgomp.c++/simd11.C: Remove.
   4304 	* testsuite/libgomp.c++/simd12.C: Remove.
   4305 	* testsuite/libgomp.c++/simd13.C: Remove.
   4306 	* testsuite/libgomp.c++/target-1.C: Remove.
   4307 	* testsuite/libgomp.c++/target-3.C: Remove.
   4308 	* testsuite/libgomp.c++/target-4.C: Remove.
   4309 	* testsuite/libgomp.c++/target-5.C: Remove.
   4310 	* testsuite/libgomp.c++/taskgroup-1.C: Remove.
   4311 	* testsuite/libgomp.c++/taskloop-1.C: Remove.
   4312 	* testsuite/libgomp.c++/taskloop-2.C: Remove.
   4313 	* testsuite/libgomp.c++/taskloop-3.C: Remove.
   4314 	* testsuite/libgomp.c++/taskloop-4.C: Remove.
   4315 	* testsuite/libgomp.c++/udr-9.C: Remove.
   4316 	* testsuite/libgomp.c++/for-10.C: Remove.
   4317 	* testsuite/libgomp.c++/for-11.C: Remove.
   4318 	* testsuite/libgomp.c++/for-12.C: Remove.
   4319 	* testsuite/libgomp.c++/for-13.C: Remove.
   4320 	* testsuite/libgomp.c++/for-14.C: Remove.
   4321 	* testsuite/libgomp.c++/for-9.C: Remove.
   4322 	* testsuite/libgomp.c/atomic-18.c: Move ...
   4323 	* testsuite/libgomp.c-c++-common/atomic-18.c: ... here.
   4324 	* testsuite/libgomp.c/cancel-taskgroup-2.c: Move ...
   4325 	* testsuite/libgomp.c-c++-common/cancel-taskgroup-2.c: here.
   4326 	* testsuite/libgomp.c/loop-13.c: Move ...
   4327 	* testsuite/libgomp.c-c++-common/loop-13.c: ... here.
   4328 	* testsuite/libgomp.c/loop-14.c: Move ...
   4329 	* testsuite/libgomp.c-c++-common/loop-14.c: ... here.
   4330 	* testsuite/libgomp.c/loop-15.c: Remove.
   4331 	* testsuite/libgomp.c-c++-common/loop-15.c: New test.
   4332 	* testsuite/libgomp.c/monotonic-1.c: Move ...
   4333 	* testsuite/libgomp.c-c++-common/monotonic-1.c: ... here.
   4334 	* testsuite/libgomp.c/monotonic-2.c: Move ...
   4335 	* testsuite/libgomp.c-c++-common/monotonic-2.c: ... here.
   4336 	* testsuite/libgomp.c/nonmonotonic-1.c: Move ...
   4337 	* testsuite/libgomp.c-c++-common/nonmonotonic-1.c: ... here.
   4338 	* testsuite/libgomp.c/nonmonotonic-2.c: Move ...
   4339 	* testsuite/libgomp.c-c++-common/nonmonotonic-2.c: ... here.
   4340 	* testsuite/libgomp.c/ordered-4.c: Move ...
   4341 	* testsuite/libgomp.c-c++-common/ordered-4.c: ... here.
   4342 	* testsuite/libgomp.c/pr45784.c: Move ...
   4343 	* testsuite/libgomp.c-c++-common/pr45784.c: ... here.
   4344 	* testsuite/libgomp.c/pr64824.c: Move ...
   4345 	* testsuite/libgomp.c-c++-common/pr64824.c: ... here.
   4346 	* testsuite/libgomp.c/pr64868.c: Move ...
   4347 	* testsuite/libgomp.c-c++-common/pr64868.c: ... here.
   4348 	* testsuite/libgomp.c/pr66199-1.c: Move ...
   4349 	* testsuite/libgomp.c-c++-common/pr66199-1.c: ... here.
   4350 	* testsuite/libgomp.c/pr66199-2.c: Move ...
   4351 	* testsuite/libgomp.c-c++-common/pr66199-2.c: ... here.
   4352 	* testsuite/libgomp.c/pr66199-3.c: Move ...
   4353 	* testsuite/libgomp.c-c++-common/pr66199-3.c: ... here.
   4354 	* testsuite/libgomp.c/pr66199-4.c: Move ...
   4355 	* testsuite/libgomp.c-c++-common/pr66199-4.c: ... here.
   4356 	* testsuite/libgomp.c/pr66199-5.c: Move ...
   4357 	* testsuite/libgomp.c-c++-common/pr66199-5.c: ... here.
   4358 	* testsuite/libgomp.c/pr66199-6.c: Move ...
   4359 	* testsuite/libgomp.c-c++-common/pr66199-6.c: ... here.
   4360 	* testsuite/libgomp.c/pr66199-7.c: Move ...
   4361 	* testsuite/libgomp.c-c++-common/pr66199-7.c: ... here.
   4362 	* testsuite/libgomp.c/pr66199-8.c: Move ...
   4363 	* testsuite/libgomp.c-c++-common/pr66199-8.c: ... here.
   4364 	* testsuite/libgomp.c/pr66199-9.c: Move ...
   4365 	* testsuite/libgomp.c-c++-common/pr66199-9.c: ... here.
   4366 	* testsuite/libgomp.c/pr69389.c: Move ...
   4367 	* testsuite/libgomp.c-c++-common/pr69389.c: ... here.
   4368 	* testsuite/libgomp.c/simd-14.c: Move ...
   4369 	* testsuite/libgomp.c-c++-common/simd-14.c: ... here.
   4370 	* testsuite/libgomp.c/simd-15.c: Move ...
   4371 	* testsuite/libgomp.c-c++-common/simd-15.c: ... here.
   4372 	* testsuite/libgomp.c/simd-16.c: Move ...
   4373 	* testsuite/libgomp.c-c++-common/simd-16.c: ... here.
   4374 	* testsuite/libgomp.c/simd-17.c: Move ...
   4375 	* testsuite/libgomp.c-c++-common/simd-17.c: ... here.
   4376 	* testsuite/libgomp.c/target-1.c: Move ...
   4377 	* testsuite/libgomp.c-c++-common/target-1.c: ... here.
   4378 	* testsuite/libgomp.c/target-10.c: Move ...
   4379 	* testsuite/libgomp.c-c++-common/target-10.c: ... here.
   4380 	* testsuite/libgomp.c/target-13.c: Move ...
   4381 	* testsuite/libgomp.c-c++-common/target-13.c: ... here.
   4382 	* testsuite/libgomp.c/target-2.c: Move ...
   4383 	* testsuite/libgomp.c-c++-common/target-2.c: ... here.
   4384 	* testsuite/libgomp.c/taskgroup-1.c: Move ...
   4385 	* testsuite/libgomp.c-c++-common/taskgroup-1.c: ... here.
   4386 	* testsuite/libgomp.c/taskloop-1.c: Move ...
   4387 	* testsuite/libgomp.c-c++-common/taskloop-1.c: ... here.
   4388 	* testsuite/libgomp.c/taskloop-2.c: Move ...
   4389 	* testsuite/libgomp.c-c++-common/taskloop-2.c: ... here.
   4390 	* testsuite/libgomp.c/taskloop-3.c: Move ...
   4391 	* testsuite/libgomp.c-c++-common/taskloop-3.c: ... here.
   4392 	* testsuite/libgomp.c/taskloop-4.c: Move ...
   4393 	* testsuite/libgomp.c-c++-common/taskloop-4.c: ... here.
   4394 	* testsuite/libgomp.c/udr-1.c: Move ...
   4395 	* testsuite/libgomp.c-c++-common/udr-1.c: ... here.
   4396 	* testsuite/libgomp.c/for-1.c: Move ...
   4397 	* testsuite/libgomp.c-c++-common/for-1.c: ... here.
   4398 	* testsuite/libgomp.c/for-1.h: Move ...
   4399 	* testsuite/libgomp.c-c++-common/for-1.h: ... here.
   4400 	* testsuite/libgomp.c/for-2.c: Move ...
   4401 	* testsuite/libgomp.c-c++-common/for-2.c: ... here.
   4402 	* testsuite/libgomp.c/for-2.h: Move ...
   4403 	* testsuite/libgomp.c-c++-common/for-2.h: ... here.
   4404 	* testsuite/libgomp.c/for-3.c: Move ...
   4405 	* testsuite/libgomp.c-c++-common/for-3.c: ... here.
   4406 	* testsuite/libgomp.c/for-4.c: Move ...
   4407 	* testsuite/libgomp.c-c++-common/for-4.c: ... here.
   4408 	* testsuite/libgomp.c/for-5.c: Move ...
   4409 	* testsuite/libgomp.c-c++-common/for-5.c: ... here.
   4410 	* testsuite/libgomp.c/for-6.c: Move ...
   4411 	* testsuite/libgomp.c-c++-common/for-6.c: ... here.
   4412 
   4413 2018-05-02  Tom de Vries  <tom (a] codesourcery.com>
   4414 
   4415 	PR libgomp/82428
   4416 	* testsuite/libgomp.oacc-c-c++-common/gang-static-2.c: Use
   4417 	__builtin_goacc_parlevel_{id,size}.
   4418 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Same.
   4419 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Same.
   4420 	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Same.
   4421 	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Same.
   4422 	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Same.
   4423 	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Same.
   4424 	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Same.
   4425 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Same.
   4426 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Same.
   4427 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Same.
   4428 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Same.
   4429 	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Same.
   4430 	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Same.
   4431 	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Same.
   4432 	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Same.
   4433 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Same.
   4434 	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Same.
   4435 	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Same.
   4436 	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Same.
   4437 	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Same.
   4438 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Same.
   4439 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Same.
   4440 	* testsuite/libgomp.oacc-c-c++-common/tile-1.c: Same.
   4441 
   4442 2018-05-02  Tom de Vries  <tom (a] codesourcery.com>
   4443 
   4444 	PR testsuite/85106
   4445 	* testsuite/lib/libgomp.exp: Include scanltranstree.exp.
   4446 
   4447 2018-05-02  Tom de Vries  <tom (a] codesourcery.com>
   4448 
   4449 	PR testsuite/85106
   4450 	* testsuite/lib/libgomp.exp: Include scanwpaipa.exp.
   4451 
   4452 2018-04-29  Julian Brown  <julian (a] codesourcery.com>
   4453 	    Tom de Vries  <tom (a] codesourcery.com>
   4454 
   4455 	PR testsuite/85527
   4456 	* testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c: Allow
   4457 	arbitrary order for iterations of atomic subtract check.
   4458 
   4459 2018-04-28  Tom de Vries  <tom (a] codesourcery.com>
   4460 
   4461 	PR testsuite/85527
   4462 	* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90 (main): Store
   4463 	atomic capture results obtained in parallel loop to an array, instead of
   4464 	to a scalar.
   4465 
   4466 2018-04-26  Tom de Vries  <tom (a] codesourcery.com>
   4467 
   4468 	PR libgomp/84020
   4469 	* plugin/cuda/cuda.h (CUjit_option): Add CU_JIT_OPTIMIZATION_LEVEL.
   4470 	* plugin/plugin-nvptx.c (_GNU_SOURCE): Define.
   4471 	(process_GOMP_NVPTX_JIT): New function.
   4472 	(link_ptx): Use process_GOMP_NVPTX_JIT.
   4473 
   4474 2018-04-26  Richard Biener <rguenther (a] suse.de>
   4475 	    Tom de Vries  <tom (a] codesourcery.com>
   4476 
   4477 	PR lto/85422
   4478 	* testsuite/libgomp.oacc-c-c++-common/pr85422.c: New test.
   4479 
   4480 2018-04-26  Tom de Vries  <tom (a] codesourcery.com>
   4481 
   4482 	PR target/85519
   4483 	* testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Reduce
   4484 	recursion depth from 25 to 23.
   4485 	* testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same.
   4486 
   4487 2018-04-24  H.J. Lu  <hongjiu.lu (a] intel.com>
   4488 
   4489 	* configure: Regenerated.
   4490 
   4491 2018-04-20  Nathan Sidwell  <nathan (a] codesourcery.com>
   4492 	    Tom de Vries  <tom (a] codesourcery.com>
   4493 
   4494 	PR target/85445
   4495 	* testsuite/libgomp.oacc-c++/ref-1.C: New.
   4496 
   4497 2018-04-19  Thomas Schwinge  <thomas (a] codesourcery.com>
   4498 
   4499 	PR libgomp/85463
   4500 	* testsuite/libgomp.oacc-fortran/error_stop-1.f: New file.
   4501 	* testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise.
   4502 	* testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise.
   4503 	* testsuite/libgomp.oacc-fortran/stop-1.f: Likewise.
   4504 	* testsuite/libgomp.oacc-fortran/stop-2.f: Likewise.
   4505 	* testsuite/libgomp.oacc-fortran/stop-3.f: Likewise.
   4506 
   4507 	PR libfortran/85166
   4508 	* testsuite/libgomp.oacc-fortran/abort-1.f90: Switch back to "call
   4509 	abort".
   4510 	* testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise.
   4511 
   4512 2018-04-19  Jakub Jelinek  <jakub (a] redhat.com>
   4513 
   4514 	* configure: Regenerated.
   4515 
   4516 2018-04-18  David Malcolm  <dmalcolm (a] redhat.com>
   4517 
   4518 	PR jit/85384
   4519 	* configure: Regenerate.
   4520 
   4521 2018-04-16  Cesar Philippidis  <cesar (a] codesourcery.com>
   4522 	    Tom de Vries  <tom (a] codesourcery.com>
   4523 
   4524 	PR middle-end/84955
   4525 	* testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test.
   4526 	* testsuite/libgomp.oacc-fortran/pr84955.f90: New test.
   4527 
   4528 2018-04-12  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
   4529 
   4530 	PR fortran/83064
   4531 	PR testsuite/85346
   4532 	* testsuite/libgomp.fortran/do_concurrent_5.f90: Move modified
   4533 	test from gfortran.dg to here.
   4534 
   4535 2018-04-12  Cesar Philippidis  <cesar (a] codesourcery.com>
   4536 
   4537 	* testsuite/libgomp.oacc-c-c++-common/pr84955.c: Revert 259346.
   4538 	* testsuite/libgomp.oacc-fortran/pr84955.f90: Likewise.
   4539 
   4540 2018-04-12  Cesar Philippidis  <cesar (a] codesourcery.com>
   4541 
   4542 	PR middle-end/84955
   4543 	* testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test.
   4544 	* testsuite/libgomp.oacc-fortran/pr84955.f90: New test.
   4545 
   4546 2018-04-05  Tom de Vries  <tom (a] codesourcery.com>
   4547 
   4548 	PR target/85204
   4549 	* testsuite/libgomp.oacc-c-c++-common/broadcast-1.c: New test.
   4550 
   4551 2018-03-26  Tom de Vries  <tom (a] codesourcery.com>
   4552 
   4553 	PR tree-optimization/85063
   4554 	* testsuite/libgomp.c/switch-conversion-2.c: New test.
   4555 	* testsuite/libgomp.c/switch-conversion.c: New test.
   4556 	* testsuite/libgomp.oacc-c-c++-common/switch-conversion-2.c: New test.
   4557 	* testsuite/libgomp.oacc-c-c++-common/switch-conversion.c: New test.
   4558 
   4559 2018-03-25  Thomas Koenig  <tkoenig (a] gcc.gnu.org>
   4560 
   4561 	PR fortran/84381
   4562 	* testsuite/libgomp.fortran/aligned1.f03: Replace non-standard
   4563 	call abort by STOP n.
   4564 	* testsuite/libgomp.fortran/alloc-comp-1.f90: Likewise.
   4565 	* testsuite/libgomp.fortran/alloc-comp-2.f90: Likewise.
   4566 	* testsuite/libgomp.fortran/alloc-comp-3.f90: Likewise.
   4567 	* testsuite/libgomp.fortran/allocatable1.f90: Likewise.
   4568 	* testsuite/libgomp.fortran/allocatable10.f90: Likewise.
   4569 	* testsuite/libgomp.fortran/allocatable11.f90: Likewise.
   4570 	* testsuite/libgomp.fortran/allocatable12.f90: Likewise.
   4571 	* testsuite/libgomp.fortran/allocatable2.f90: Likewise.
   4572 	* testsuite/libgomp.fortran/allocatable3.f90: Likewise.
   4573 	* testsuite/libgomp.fortran/allocatable4.f90: Likewise.
   4574 	* testsuite/libgomp.fortran/allocatable5.f90: Likewise.
   4575 	* testsuite/libgomp.fortran/allocatable6.f90: Likewise.
   4576 	* testsuite/libgomp.fortran/allocatable7.f90: Likewise.
   4577 	* testsuite/libgomp.fortran/allocatable8.f90: Likewise.
   4578 	* testsuite/libgomp.fortran/allocatable9.f90: Likewise.
   4579 	* testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.
   4580 	* testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Likewise.
   4581 	* testsuite/libgomp.fortran/associate1.f90: Likewise.
   4582 	* testsuite/libgomp.fortran/associate2.f90: Likewise.
   4583 	* testsuite/libgomp.fortran/associate3.f90: Likewise.
   4584 	* testsuite/libgomp.fortran/cancel-do-1.f90: Likewise.
   4585 	* testsuite/libgomp.fortran/cancel-do-2.f90: Likewise.
   4586 	* testsuite/libgomp.fortran/cancel-parallel-1.f90: Likewise.
   4587 	* testsuite/libgomp.fortran/cancel-sections-1.f90: Likewise.
   4588 	* testsuite/libgomp.fortran/cancel-taskgroup-2.f90: Likewise.
   4589 	* testsuite/libgomp.fortran/character1.f90: Likewise.
   4590 	* testsuite/libgomp.fortran/character2.f90: Likewise.
   4591 	* testsuite/libgomp.fortran/collapse1.f90: Likewise.
   4592 	* testsuite/libgomp.fortran/collapse2.f90: Likewise.
   4593 	* testsuite/libgomp.fortran/collapse3.f90: Likewise.
   4594 	* testsuite/libgomp.fortran/collapse4.f90: Likewise.
   4595 	* testsuite/libgomp.fortran/crayptr1.f90: Likewise.
   4596 	* testsuite/libgomp.fortran/crayptr2.f90: Likewise.
   4597 	* testsuite/libgomp.fortran/crayptr3.f90: Likewise.
   4598 	* testsuite/libgomp.fortran/declare-simd-1.f90: Likewise.
   4599 	* testsuite/libgomp.fortran/declare-simd-3.f90: Likewise.
   4600 	* testsuite/libgomp.fortran/declare-target-2.f90: Likewise.
   4601 	* testsuite/libgomp.fortran/depend-1.f90: Likewise.
   4602 	* testsuite/libgomp.fortran/depend-2.f90: Likewise.
   4603 	* testsuite/libgomp.fortran/depend-3.f90: Likewise.
   4604 	* testsuite/libgomp.fortran/do1.f90: Likewise.
   4605 	* testsuite/libgomp.fortran/do2.f90: Likewise.
   4606 	* testsuite/libgomp.fortran/doacross1.f90: Likewise.
   4607 	* testsuite/libgomp.fortran/doacross2.f90: Likewise.
   4608 	* testsuite/libgomp.fortran/doacross3.f90: Likewise.
   4609 	* testsuite/libgomp.fortran/examples-4/array_sections-3.f90: Likewise.
   4610 	* testsuite/libgomp.fortran/examples-4/array_sections-4.f90: Likewise.
   4611 	* testsuite/libgomp.fortran/examples-4/async_target-1.f90: Likewise.
   4612 	* testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise.
   4613 	* testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Likewise.
   4614 	* testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Likewise.
   4615 	* testsuite/libgomp.fortran/examples-4/declare_target-3.f90: Likewise.
   4616 	* testsuite/libgomp.fortran/examples-4/declare_target-4.f90: Likewise.
   4617 	* testsuite/libgomp.fortran/examples-4/declare_target-5.f90: Likewise.
   4618 	* testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise.
   4619 	* testsuite/libgomp.fortran/examples-4/device-2.f90: Likewise.
   4620 	* testsuite/libgomp.fortran/examples-4/device-3.f90: Likewise.
   4621 	* testsuite/libgomp.fortran/examples-4/simd-1.f90: Likewise.
   4622 	* testsuite/libgomp.fortran/examples-4/simd-2.f90: Likewise.
   4623 	* testsuite/libgomp.fortran/examples-4/simd-3.f90: Likewise.
   4624 	* testsuite/libgomp.fortran/examples-4/simd-4.f90: Likewise.
   4625 	* testsuite/libgomp.fortran/examples-4/simd-5.f90: Likewise.
   4626 	* testsuite/libgomp.fortran/examples-4/simd-6.f90: Likewise.
   4627 	* testsuite/libgomp.fortran/examples-4/simd-7.f90: Likewise.
   4628 	* testsuite/libgomp.fortran/examples-4/simd-8.f90: Likewise.
   4629 	* testsuite/libgomp.fortran/examples-4/target-1.f90: Likewise.
   4630 	* testsuite/libgomp.fortran/examples-4/target-2.f90: Likewise.
   4631 	* testsuite/libgomp.fortran/examples-4/target-3.f90: Likewise.
   4632 	* testsuite/libgomp.fortran/examples-4/target-4.f90: Likewise.
   4633 	* testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise.
   4634 	* testsuite/libgomp.fortran/examples-4/target_data-1.f90: Likewise.
   4635 	* testsuite/libgomp.fortran/examples-4/target_data-2.f90: Likewise.
   4636 	* testsuite/libgomp.fortran/examples-4/target_data-3.f90: Likewise.
   4637 	* testsuite/libgomp.fortran/examples-4/target_data-4.f90: Likewise.
   4638 	* testsuite/libgomp.fortran/examples-4/target_data-5.f90: Likewise.
   4639 	* testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise.
   4640 	* testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise.
   4641 	* testsuite/libgomp.fortran/examples-4/target_update-1.f90: Likewise.
   4642 	* testsuite/libgomp.fortran/examples-4/target_update-2.f90: Likewise.
   4643 	* testsuite/libgomp.fortran/examples-4/task_dep-1.f90: Likewise.
   4644 	* testsuite/libgomp.fortran/examples-4/task_dep-2.f90: Likewise.
   4645 	* testsuite/libgomp.fortran/examples-4/task_dep-3.f90: Likewise.
   4646 	* testsuite/libgomp.fortran/examples-4/task_dep-4.f90: Likewise.
   4647 	* testsuite/libgomp.fortran/examples-4/task_dep-5.f90: Likewise.
   4648 	* testsuite/libgomp.fortran/examples-4/teams-2.f90: Likewise.
   4649 	* testsuite/libgomp.fortran/examples-4/teams-3.f90: Likewise.
   4650 	* testsuite/libgomp.fortran/examples-4/teams-4.f90: Likewise.
   4651 	* testsuite/libgomp.fortran/examples-4/teams-5.f90: Likewise.
   4652 	* testsuite/libgomp.fortran/examples-4/teams-6.f90: Likewise.
   4653 	* testsuite/libgomp.fortran/lastprivate1.f90: Likewise.
   4654 	* testsuite/libgomp.fortran/lastprivate2.f90: Likewise.
   4655 	* testsuite/libgomp.fortran/lib1.f90: Likewise.
   4656 	* testsuite/libgomp.fortran/lib2.f: Likewise.
   4657 	* testsuite/libgomp.fortran/lib3.f: Likewise.
   4658 	* testsuite/libgomp.fortran/lib4.f90: Likewise.
   4659 	* testsuite/libgomp.fortran/lock-1.f90: Likewise.
   4660 	* testsuite/libgomp.fortran/lock-2.f90: Likewise.
   4661 	* testsuite/libgomp.fortran/nested1.f90: Likewise.
   4662 	* testsuite/libgomp.fortran/nestedfn1.f90: Likewise.
   4663 	* testsuite/libgomp.fortran/nestedfn2.f90: Likewise.
   4664 	* testsuite/libgomp.fortran/nestedfn3.f90: Likewise.
   4665 	* testsuite/libgomp.fortran/nestedfn4.f90: Likewise.
   4666 	* testsuite/libgomp.fortran/nestedfn5.f90: Likewise.
   4667 	* testsuite/libgomp.fortran/omp_atomic1.f90: Likewise.
   4668 	* testsuite/libgomp.fortran/omp_atomic2.f90: Likewise.
   4669 	* testsuite/libgomp.fortran/omp_atomic3.f90: Likewise.
   4670 	* testsuite/libgomp.fortran/omp_atomic4.f90: Likewise.
   4671 	* testsuite/libgomp.fortran/omp_atomic5.f90: Likewise.
   4672 	* testsuite/libgomp.fortran/omp_cond1.f: Likewise.
   4673 	* testsuite/libgomp.fortran/omp_cond2.f: Likewise.
   4674 	* testsuite/libgomp.fortran/omp_cond3.F90: Likewise.
   4675 	* testsuite/libgomp.fortran/omp_cond4.F90: Likewise.
   4676 	* testsuite/libgomp.fortran/omp_parse1.f90: Likewise.
   4677 	* testsuite/libgomp.fortran/omp_parse2.f90: Likewise.
   4678 	* testsuite/libgomp.fortran/omp_parse3.f90: Likewise.
   4679 	* testsuite/libgomp.fortran/omp_parse4.f90: Likewise.
   4680 	* testsuite/libgomp.fortran/openmp_version-1.f: Likewise.
   4681 	* testsuite/libgomp.fortran/openmp_version-2.f90: Likewise.
   4682 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: Likewise.
   4683 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: Likewise.
   4684 	* testsuite/libgomp.fortran/pointer1.f90: Likewise.
   4685 	* testsuite/libgomp.fortran/pointer2.f90: Likewise.
   4686 	* testsuite/libgomp.fortran/pr25162.f: Likewise.
   4687 	* testsuite/libgomp.fortran/pr25219.f90: Likewise.
   4688 	* testsuite/libgomp.fortran/pr27395-1.f90: Likewise.
   4689 	* testsuite/libgomp.fortran/pr27395-2.f90: Likewise.
   4690 	* testsuite/libgomp.fortran/pr27416-1.f90: Likewise.
   4691 	* testsuite/libgomp.fortran/pr27916-1.f90: Likewise.
   4692 	* testsuite/libgomp.fortran/pr27916-2.f90: Likewise.
   4693 	* testsuite/libgomp.fortran/pr28390.f: Likewise.
   4694 	* testsuite/libgomp.fortran/pr29629.f90: Likewise.
   4695 	* testsuite/libgomp.fortran/pr32550.f90: Likewise.
   4696 	* testsuite/libgomp.fortran/pr33880.f90: Likewise.
   4697 	* testsuite/libgomp.fortran/pr34020.f90: Likewise.
   4698 	* testsuite/libgomp.fortran/pr35130.f90: Likewise.
   4699 	* testsuite/libgomp.fortran/pr42162.f90: Likewise.
   4700 	* testsuite/libgomp.fortran/pr46753.f90: Likewise.
   4701 	* testsuite/libgomp.fortran/pr48894.f90: Likewise.
   4702 	* testsuite/libgomp.fortran/pr49792-1.f90: Likewise.
   4703 	* testsuite/libgomp.fortran/pr49792-2.f90: Likewise.
   4704 	* testsuite/libgomp.fortran/pr63938-1.f90: Likewise.
   4705 	* testsuite/libgomp.fortran/pr63938-2.f90: Likewise.
   4706 	* testsuite/libgomp.fortran/pr65597.f90: Likewise.
   4707 	* testsuite/libgomp.fortran/pr66199-1.f90: Likewise.
   4708 	* testsuite/libgomp.fortran/pr71014.f90: Likewise.
   4709 	* testsuite/libgomp.fortran/pr81304.f90: Likewise.
   4710 	* testsuite/libgomp.fortran/pr81841.f90: Likewise.
   4711 	* testsuite/libgomp.fortran/pr84418-1.f90: Likewise.
   4712 	* testsuite/libgomp.fortran/pr84418-2.f90: Likewise.
   4713 	* testsuite/libgomp.fortran/procptr1.f90: Likewise.
   4714 	* testsuite/libgomp.fortran/recursion1.f90: Likewise.
   4715 	* testsuite/libgomp.fortran/reduction1.f90: Likewise.
   4716 	* testsuite/libgomp.fortran/reduction2.f90: Likewise.
   4717 	* testsuite/libgomp.fortran/reduction3.f90: Likewise.
   4718 	* testsuite/libgomp.fortran/reduction4.f90: Likewise.
   4719 	* testsuite/libgomp.fortran/reduction5.f90: Likewise.
   4720 	* testsuite/libgomp.fortran/reduction6.f90: Likewise.
   4721 	* testsuite/libgomp.fortran/reference1.f90: Likewise.
   4722 	* testsuite/libgomp.fortran/reference2.f90: Likewise.
   4723 	* testsuite/libgomp.fortran/retval1.f90: Likewise.
   4724 	* testsuite/libgomp.fortran/retval2.f90: Likewise.
   4725 	* testsuite/libgomp.fortran/sharing1.f90: Likewise.
   4726 	* testsuite/libgomp.fortran/sharing2.f90: Likewise.
   4727 	* testsuite/libgomp.fortran/simd1.f90: Likewise.
   4728 	* testsuite/libgomp.fortran/simd2.f90: Likewise.
   4729 	* testsuite/libgomp.fortran/simd3.f90: Likewise.
   4730 	* testsuite/libgomp.fortran/simd4.f90: Likewise.
   4731 	* testsuite/libgomp.fortran/simd5.f90: Likewise.
   4732 	* testsuite/libgomp.fortran/simd6.f90: Likewise.
   4733 	* testsuite/libgomp.fortran/simd7.f90: Likewise.
   4734 	* testsuite/libgomp.fortran/stack.f90: Likewise.
   4735 	* testsuite/libgomp.fortran/strassen.f90: Likewise.
   4736 	* testsuite/libgomp.fortran/tabs1.f90: Likewise.
   4737 	* testsuite/libgomp.fortran/tabs2.f: Likewise.
   4738 	* testsuite/libgomp.fortran/target1.f90: Likewise.
   4739 	* testsuite/libgomp.fortran/target2.f90: Likewise.
   4740 	* testsuite/libgomp.fortran/target3.f90: Likewise.
   4741 	* testsuite/libgomp.fortran/target4.f90: Likewise.
   4742 	* testsuite/libgomp.fortran/target5.f90: Likewise.
   4743 	* testsuite/libgomp.fortran/target6.f90: Likewise.
   4744 	* testsuite/libgomp.fortran/target7.f90: Likewise.
   4745 	* testsuite/libgomp.fortran/target8.f90: Likewise.
   4746 	* testsuite/libgomp.fortran/task1.f90: Likewise.
   4747 	* testsuite/libgomp.fortran/task2.f90: Likewise.
   4748 	* testsuite/libgomp.fortran/task3.f90: Likewise.
   4749 	* testsuite/libgomp.fortran/task4.f90: Likewise.
   4750 	* testsuite/libgomp.fortran/taskgroup1.f90: Likewise.
   4751 	* testsuite/libgomp.fortran/taskloop1.f90: Likewise.
   4752 	* testsuite/libgomp.fortran/taskloop2.f90: Likewise.
   4753 	* testsuite/libgomp.fortran/taskloop3.f90: Likewise.
   4754 	* testsuite/libgomp.fortran/taskloop4.f90: Likewise.
   4755 	* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
   4756 	* testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
   4757 	* testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
   4758 	* testsuite/libgomp.fortran/threadprivate4.f90: Likewise.
   4759 	* testsuite/libgomp.fortran/udr1.f90: Likewise.
   4760 	* testsuite/libgomp.fortran/udr10.f90: Likewise.
   4761 	* testsuite/libgomp.fortran/udr11.f90: Likewise.
   4762 	* testsuite/libgomp.fortran/udr12.f90: Likewise.
   4763 	* testsuite/libgomp.fortran/udr13.f90: Likewise.
   4764 	* testsuite/libgomp.fortran/udr14.f90: Likewise.
   4765 	* testsuite/libgomp.fortran/udr15.f90: Likewise.
   4766 	* testsuite/libgomp.fortran/udr2.f90: Likewise.
   4767 	* testsuite/libgomp.fortran/udr3.f90: Likewise.
   4768 	* testsuite/libgomp.fortran/udr4.f90: Likewise.
   4769 	* testsuite/libgomp.fortran/udr5.f90: Likewise.
   4770 	* testsuite/libgomp.fortran/udr6.f90: Likewise.
   4771 	* testsuite/libgomp.fortran/udr7.f90: Likewise.
   4772 	* testsuite/libgomp.fortran/udr8.f90: Likewise.
   4773 	* testsuite/libgomp.fortran/udr9.f90: Likewise.
   4774 	* testsuite/libgomp.fortran/vla1.f90: Likewise.
   4775 	* testsuite/libgomp.fortran/vla2.f90: Likewise.
   4776 	* testsuite/libgomp.fortran/vla3.f90: Likewise.
   4777 	* testsuite/libgomp.fortran/vla4.f90: Likewise.
   4778 	* testsuite/libgomp.fortran/vla5.f90: Likewise.
   4779 	* testsuite/libgomp.fortran/vla6.f90: Likewise.
   4780 	* testsuite/libgomp.fortran/vla7.f90: Likewise.
   4781 	* testsuite/libgomp.fortran/vla8.f90: Likewise.
   4782 	* testsuite/libgomp.fortran/workshare1.f90: Likewise.
   4783 	* testsuite/libgomp.fortran/workshare2.f90: Likewise.
   4784 	* testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise.
   4785 	* testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise.
   4786 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise.
   4787 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise.
   4788 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise.
   4789 	* testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise.
   4790 	* testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise.
   4791 	* testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise.
   4792 	* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Likewise.
   4793 	* testsuite/libgomp.oacc-fortran/atomic_rw-1.f90: Likewise.
   4794 	* testsuite/libgomp.oacc-fortran/atomic_update-1.f90: Likewise.
   4795 	* testsuite/libgomp.oacc-fortran/c2.pl: Likewise.
   4796 	* testsuite/libgomp.oacc-fortran/clauses-1.f90: Likewise.
   4797 	* testsuite/libgomp.oacc-fortran/collapse-1.f90: Likewise.
   4798 	* testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise.
   4799 	* testsuite/libgomp.oacc-fortran/collapse-3.f90: Likewise.
   4800 	* testsuite/libgomp.oacc-fortran/collapse-4.f90: Likewise.
   4801 	* testsuite/libgomp.oacc-fortran/collapse-5.f90: Likewise.
   4802 	* testsuite/libgomp.oacc-fortran/collapse-6.f90: Likewise.
   4803 	* testsuite/libgomp.oacc-fortran/collapse-7.f90: Likewise.
   4804 	* testsuite/libgomp.oacc-fortran/collapse-8.f90: Likewise.
   4805 	* testsuite/libgomp.oacc-fortran/combined-directives-1.f90: Likewise.
   4806 	* testsuite/libgomp.oacc-fortran/combined-reduction.f90: Likewise.
   4807 	* testsuite/libgomp.oacc-fortran/data-1.f90: Likewise.
   4808 	* testsuite/libgomp.oacc-fortran/data-2.f90: Likewise.
   4809 	* testsuite/libgomp.oacc-fortran/data-3.f90: Likewise.
   4810 	* testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise.
   4811 	* testsuite/libgomp.oacc-fortran/data-4.f90: Likewise.
   4812 	* testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise.
   4813 	* testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise.
   4814 	* testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise.
   4815 	* testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise.
   4816 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise.
   4817 	* testsuite/libgomp.oacc-fortran/default-1.f90: Likewise.
   4818 	* testsuite/libgomp.oacc-fortran/firstprivate-1.f90: Likewise.
   4819 	* testsuite/libgomp.oacc-fortran/gang-static-1.f90: Likewise.
   4820 	* testsuite/libgomp.oacc-fortran/host_data-1.f90: Likewise.
   4821 	* testsuite/libgomp.oacc-fortran/if-1.f90: Likewise.
   4822 	* testsuite/libgomp.oacc-fortran/implicit-firstprivate-ref.f90: Likewise.
   4823 	* testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise.
   4824 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95: Likewise.
   4825 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95: Likewise.
   4826 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95: Likewise.
   4827 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95: Likewise.
   4828 	* testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Likewise.
   4829 	* testsuite/libgomp.oacc-fortran/kernels-loop.f95: Likewise.
   4830 	* testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise.
   4831 	* testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise.
   4832 	* testsuite/libgomp.oacc-fortran/lib-2.f: Likewise.
   4833 	* testsuite/libgomp.oacc-fortran/lib-3.f: Likewise.
   4834 	* testsuite/libgomp.oacc-fortran/lib-32-1.f: Likewise.
   4835 	* testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise.
   4836 	* testsuite/libgomp.oacc-fortran/lib-4.f90: Likewise.
   4837 	* testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise.
   4838 	* testsuite/libgomp.oacc-fortran/lib-6.f90: Likewise.
   4839 	* testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise.
   4840 	* testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise.
   4841 	* testsuite/libgomp.oacc-fortran/map-1.f90: Likewise.
   4842 	* testsuite/libgomp.oacc-fortran/nested-function-1.f90: Likewise.
   4843 	* testsuite/libgomp.oacc-fortran/nested-function-2.f90: Likewise.
   4844 	* testsuite/libgomp.oacc-fortran/nested-function-3.f90: Likewise.
   4845 	* testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Likewise.
   4846 	* testsuite/libgomp.oacc-fortran/openacc_version-1.f: Likewise.
   4847 	* testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise.
   4848 	* testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: Likewise.
   4849 	* testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise.
   4850 	* testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise.
   4851 	* testsuite/libgomp.oacc-fortran/pointer-align-1.f90: Likewise.
   4852 	* testsuite/libgomp.oacc-fortran/pr70643.f90: Likewise.
   4853 	* testsuite/libgomp.oacc-fortran/pr81352.f90: Likewise.
   4854 	* testsuite/libgomp.oacc-fortran/pr83920.f90: Likewise.
   4855 	* testsuite/libgomp.oacc-fortran/pr84028.f90: Likewise.
   4856 	* testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise.
   4857 	* testsuite/libgomp.oacc-fortran/pset-1.f90: Likewise.
   4858 	* testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise.
   4859 	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
   4860 	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
   4861 	* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
   4862 	* testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise.
   4863 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
   4864 	* testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise.
   4865 	* testsuite/libgomp.oacc-fortran/reduction-8.f90: Likewise.
   4866 	* testsuite/libgomp.oacc-fortran/routine-1.f90: Likewise.
   4867 	* testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise.
   4868 	* testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise.
   4869 	* testsuite/libgomp.oacc-fortran/routine-4.f90: Likewise.
   4870 	* testsuite/libgomp.oacc-fortran/routine-5.f90: Likewise.
   4871 	* testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise.
   4872 	* testsuite/libgomp.oacc-fortran/routine-9.f90: Likewise.
   4873 	* testsuite/libgomp.oacc-fortran/subarrays-1.f90: Likewise.
   4874 	* testsuite/libgomp.oacc-fortran/subarrays-2.f90: Likewise.
   4875 	* testsuite/libgomp.oacc-fortran/update-1.f90: Likewise.
   4876 
   4877 2018-03-20  Richard Biener  <rguenther (a] suse.de>
   4878 
   4879 	* testsuite/libgomp.graphite/force-parallel-4.c: XFAIL one
   4880 	parallelizable loop.
   4881 
   4882 2018-02-19  Igor Tsimbalist  <igor.v.tsimbalist (a] intel.com>
   4883 
   4884 	PR target/84148
   4885 	* configure: Regenerate.
   4886 
   4887 2018-02-16  Jakub Jelinek  <jakub (a] redhat.com>
   4888 
   4889 	PR fortran/84418
   4890 	* libgomp.fortran/pr84418-1.f90: New test.
   4891 	* libgomp.fortran/pr84418-2.f90: New test.
   4892 
   4893 2018-02-14  Jakub Jelinek  <jakub (a] redhat.com>
   4894 
   4895 	PR fortran/84313
   4896 	* testsuite/libgomp.fortran/threadprivate4.f90: Add
   4897 	-std=f2003 -fall-intrinsics into dg-additional-options.
   4898 
   4899 2018-02-08  Martin Jambor  <mjambor (a] suse.cz>
   4900 
   4901 	* testsuite/libgomp.hsa.c/pr82416.c: Make the function with target
   4902 	clonable.
   4903 
   4904 2018-02-08  Martin Jambor  <mjambor (a] suse.cz>
   4905 
   4906 	* testsuite/libgomp.hsa.c/staticvar.c: New test.
   4907 
   4908 2018-02-07  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   4909 
   4910 	* testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort)
   4911 	[__cplusplus]: Declare extern "C".
   4912 
   4913 2018-02-07  Tom de Vries  <tom (a] codesourcery.com>
   4914 
   4915 	PR libgomp/84217
   4916 	* testsuite/libgomp.oacc-c-c++-common/pr84217.c: New test.
   4917 
   4918 2018-01-29  Christoph Spiel  <cspiel (a] freenet.de>
   4919 	    Jakub Jelinek  <jakub (a] redhat.com>
   4920 
   4921 	PR libgomp/84096
   4922 	* omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t
   4923 	instead of omp_lock_t.
   4924 
   4925 2018-01-25  Tom de Vries  <tom (a] codesourcery.com>
   4926 
   4927 	PR target/84028
   4928 	* testsuite/libgomp.oacc-fortran/pr84028.f90: New test.
   4929 
   4930 2018-01-24  Tom de Vries  <tom (a] codesourcery.com>
   4931 
   4932 	PR target/83589
   4933 	* testsuite/libgomp.oacc-c-c++-common/pr83589.c: New test.
   4934 
   4935 2018-01-24  Tom de Vries  <tom (a] codesourcery.com>
   4936 
   4937 	PR target/81352
   4938 	* testsuite/libgomp.oacc-fortran/pr81352.f90: New test.
   4939 
   4940 2018-01-19  Tom de Vries  <tom (a] codesourcery.com>
   4941 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   4942 
   4943 	PR target/83920
   4944 	* testsuite/libgomp.oacc-c-c++-common/pr83920.c: New test.
   4945 	* testsuite/libgomp.oacc-fortran/pr83920.f90: New test.
   4946 
   4947 2018-01-03  Jakub Jelinek  <jakub (a] redhat.com>
   4948 
   4949 	Update copyright years.
   4950 
   4951 	* libgomp.texi: Bump @copying's copyright year.
   4952 
   4953 2017-12-30  Tom de Vries  <tom (a] codesourcery.com>
   4954 
   4955 	PR libgomp/83046
   4956 	* testsuite/libgomp.oacc-c-c++-common/pr83046.c: New test.
   4957 	* testsuite/libgomp.c-c++-common/pr83046.c: New test.
   4958 
   4959 2017-12-27  Tom de Vries  <tom (a] codesourcery.com>
   4960 
   4961 	PR c++/83046
   4962 	* testsuite/libgomp.oacc-c-c++-common/gang-static-2.c (test_static)
   4963 	(test_nonstatic): Fix return type to workaround PR83046.
   4964 
   4965 2017-12-05  Jakub Jelinek  <jakub (a] redhat.com>
   4966 
   4967 	PR testsuite/83281
   4968 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c (main): Use
   4969 	j suffix instead of i.
   4970 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c (main):
   4971 	Likewise.
   4972 
   4973 2017-12-01  Cesar Philippidis  <cesar (a] codesourcery.com>
   4974 
   4975 	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Add missing
   4976 	call to acc_wait (1).
   4977 
   4978 2017-11-24  Jakub Jelinek  <jakub (a] redhat.com>
   4979 
   4980 	PR fortran/81304
   4981 	* testsuite/libgomp.fortran/pr81304.f90: New test.
   4982 
   4983 2017-11-23  Jakub Jelinek  <jakub (a] redhat.com>
   4984 
   4985 	PR fortran/81841
   4986 	* libgomp.fortran/pr81841.f90: New test.
   4987 
   4988 2017-11-22  Jakub Jelinek  <jakub (a] redhat.com>
   4989 
   4990 	PR libgomp/83106
   4991 	* target.c (gomp_target_init): Compute lengths just once and
   4992 	use them in both malloc size and subsequent copying.
   4993 
   4994 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist (a] intel.com>
   4995 
   4996 	* configure.ac: Set CET_FLAGS, update XCFLAGS and FCFLAGS.
   4997 	* acinclude.m4: Add cet.m4.
   4998 	* configure: Regenerate.
   4999 	* Makefile.in: Likewise.
   5000 	* testsuite/Makefile.in: Likewise.
   5001 
   5002 2017-11-15  Tom de Vries  <tom (a] codesourcery.com>
   5003 
   5004 	* testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: New test, copied
   5005 	from asyncwait-1.f90.  Rewrite into C.  Rewrite from float to int.
   5006 	* testsuite/libgomp.oacc-c-c++-common/f-asyncwait-2.c: New test, copied
   5007 	from asyncwait-2.f90.  Rewrite into C.  Rewrite from float to int.
   5008 	* testsuite/libgomp.oacc-c-c++-common/f-asyncwait-3.c: New test, copied
   5009 	from asyncwait-3.f90.  Rewrite into C.  Rewrite from float to int.
   5010 
   5011 2017-11-14  Tom de Vries  <tom (a] codesourcery.com>
   5012 
   5013 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Allow to run for
   5014 	non-nvidia devices.
   5015 
   5016 2017-11-07  Jakub Jelinek  <jakub (a] redhat.com>
   5017 
   5018 	PR c++/82835
   5019 	* testsuite/libgomp.c++/pr82835.C: New test.
   5020 
   5021 2017-11-06  Martin Liska  <mliska (a] suse.cz>
   5022 
   5023 	* testsuite/libgomp.c++/loop-2.C: Return a value
   5024 	for functions with non-void return type, or change type to void,
   5025 	or add -Wno-return-type for test.
   5026 	* testsuite/libgomp.c++/loop-4.C: Likewise.
   5027 	* testsuite/libgomp.c++/parallel-1.C: Likewise.
   5028 	* testsuite/libgomp.c++/shared-1.C: Likewise.
   5029 	* testsuite/libgomp.c++/single-1.C: Likewise.
   5030 	* testsuite/libgomp.c++/single-2.C: Likewise.
   5031 
   5032 2017-10-31  Tom de Vries  <tom (a] codesourcery.com>
   5033 
   5034 	* plugin/plugin-hsa.c (HSA_LOG): Remove semicolon after
   5035 	"do {} while (false)".
   5036 	(init_single_kernel, GOMP_OFFLOAD_async_run): Add missing semicolon
   5037 	after HSA_DEBUG call.
   5038 
   5039 2017-10-28  Jakub Jelinek  <jakub (a] redhat.com>
   5040 
   5041 	* target.c (struct gomp_coalesce_buf): New type.
   5042 	(MAX_COALESCE_BUF_SIZE, MAX_COALESCE_BUF_GAP): Define.
   5043 	(gomp_coalesce_buf_add, gomp_to_device_kind_p): New functions.
   5044 	(gomp_copy_host2dev): Add CBUF argument, if copying into
   5045 	the cached ranges, memcpy into buffer instead of copying
   5046 	into device.
   5047 	(gomp_map_vars_existing, gomp_map_pointer, gomp_map_fields_existing):
   5048 	Add CBUF argument, pass it through to other calls.
   5049 	(gomp_map_vars): Aggregate copies from host to device if small enough
   5050 	and with small enough gaps in between into memcpy into a buffer and
   5051 	fewer host to device copies from the buffer.
   5052 	(gomp_update): Adjust gomp_copy_host2dev caller.
   5053 
   5054 2017-10-17  Thomas Schwinge  <thomas (a] codesourcery.com>
   5055 
   5056 	* testsuite/libgomp.oacc-fortran/declare-1.f90: Restore "dg-do
   5057 	run" directive.
   5058 	* testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise.
   5059 	* testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise.
   5060 	* testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise.
   5061 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise.
   5062 
   5063 2017-10-16  Tom de Vries  <tom (a] codesourcery.com>
   5064 
   5065 	* testsuite/libgomp.oacc-c-c++-common/declare-1.c: Don't require
   5066 	openacc_nvidia_accel_selected.
   5067 	* testsuite/libgomp.oacc-c-c++-common/declare-2.c: Same.
   5068 	* testsuite/libgomp.oacc-c-c++-common/declare-4.c: Same.
   5069 	* testsuite/libgomp.oacc-fortran/declare-2.f90: Same.
   5070 	* testsuite/libgomp.oacc-fortran/declare-4.f90: Same
   5071 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Same.
   5072 	* testsuite/libgomp.oacc-c-c++-common/declare-5.c: Don't require
   5073 	openacc_nvidia_accel_selected. Skip for shared memory device.
   5074 	* testsuite/libgomp.oacc-fortran/declare-1.f90: Same.
   5075 	* testsuite/libgomp.oacc-fortran/declare-3.f90: Same.
   5076 
   5077 2017-10-09  Martin Jambor  <mjambor (a] suse.cz>
   5078 
   5079 	PR hsa/82416
   5080 	* testsuite/libgomp.hsa.c/pr82416.c: New test.
   5081 
   5082 2017-10-07  Tom de Vries  <tom (a] codesourcery.com>
   5083 
   5084 	* testsuite/libgomp.oacc-fortran/firstprivate-1.f90 (firstprivate):
   5085 	Remove acc_device_nvidia references.
   5086 	* testsuite/libgomp.oacc-fortran/parallel-reduction.f90 (reduction):
   5087 	Same.
   5088 
   5089 2017-10-05  Tom de Vries  <tom (a] codesourcery.com>
   5090 
   5091 	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c (main): Remove
   5092 	vector_length(32) clause from acc parallel directive.
   5093 	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c (main): Same.
   5094 
   5095 2017-10-04  Tom de Vries  <tom (a] codesourcery.com>
   5096 
   5097 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c
   5098 	(main): Reduce sum of arr elements.  Assert that hres is exactly
   5099 	representable in 32-bit floating point.
   5100 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c
   5101 	(main): Reduce sum of arr elements.  Assert that hres and hmres are
   5102 	exactly representable in 32-bit floating point.
   5103 	* testsuite/libgomp.oacc-c-c++-common/reduction-7.c (gwv_np_4): Same.
   5104 
   5105 2017-09-28  Tom de Vries  <tom (a] codesourcery.com>
   5106 
   5107 	* testsuite/libgomp.c++/for-12.C: Remove superfluous -fopenmp option
   5108 	setting.
   5109 	* testsuite/libgomp.c++/pr69393.C: Same.
   5110 	* testsuite/libgomp.c++/taskloop-1.C: Same.
   5111 	* testsuite/libgomp.c++/taskloop-3.C: Same.
   5112 	* testsuite/libgomp.c++/taskloop-4.C: Same.
   5113 	* testsuite/libgomp.c/for-4.c: Same.
   5114 	* testsuite/libgomp.c/pr66199-3.c: Same.
   5115 	* testsuite/libgomp.c/pr66199-4.c: Same.
   5116 	* testsuite/libgomp.c/pr66199-6.c: Same.
   5117 	* testsuite/libgomp.c/taskloop-1.c: Same.
   5118 	* testsuite/libgomp.c/taskloop-3.c: Same.
   5119 	* testsuite/libgomp.c/taskloop-4.c: Same.
   5120 	* testsuite/libgomp.fortran/aligned1.f03: Same.
   5121 	* testsuite/libgomp.fortran/condinc1.f: Same.
   5122 	* testsuite/libgomp.fortran/condinc3.f90: Same.
   5123 	* testsuite/libgomp.fortran/crayptr1.f90: Same.
   5124 	* testsuite/libgomp.fortran/crayptr2.f90: Same.
   5125 	* testsuite/libgomp.fortran/crayptr3.f90: Same.
   5126 	* testsuite/libgomp.fortran/omp_cond1.f: Same.
   5127 	* testsuite/libgomp.fortran/omp_cond3.F90: Same.
   5128 	* testsuite/libgomp.fortran/pr66199-1.f90: Same.
   5129 	* testsuite/libgomp.fortran/pr66199-2.f90: Same.
   5130 	* testsuite/libgomp.fortran/recursion1.f90: Same.
   5131 	* testsuite/libgomp.fortran/target2.f90: Same.
   5132 	* testsuite/libgomp.fortran/target5.f90: Same.
   5133 	* testsuite/libgomp.fortran/task3.f90: Same.
   5134 
   5135 2017-09-28  Tom de Vries  <tom (a] codesourcery.com>
   5136 
   5137 	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
   5138 	vector_length(32) clause from acc parallel directive.
   5139 	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same.
   5140 
   5141 2017-09-27  Tom de Vries  <tom (a] codesourcery.com>
   5142 
   5143 	* testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c (main):
   5144 	Remove acc_device_nvidia references.
   5145 
   5146 2017-09-16  Tom de Vries  <tom (a] codesourcery.com>
   5147 
   5148 	PR c/81875
   5149 	* testsuite/libgomp.c-c++-common/pr81875.c: New test.
   5150 
   5151 2017-09-14  Tom de Vries  <tom (a] codesourcery.com>
   5152 
   5153 	* testsuite/libgomp.c++/cancel-taskgroup-1.C: Remove.
   5154 	* testsuite/libgomp.c/cancel-taskgroup-1.c: Move to ...
   5155 	* testsuite/libgomp.c-c++-common/cancel-taskgroup-1.c: ... here.
   5156 	* testsuite/libgomp.c/c.exp: Include test-cases from
   5157 	libgomp.c-c++-common.
   5158 	* testsuite/libgomp.c++/c++.exp: Same.  Force c++-mode compilation of .c
   5159 	files.
   5160 
   5161 2017-09-14  Jakub Jelinek  <jakub (a] redhat.com>
   5162 
   5163 	PR c++/81314
   5164 	* testsuite/libgomp.c++/pr81314.C: New test.
   5165 
   5166 2017-09-03  Gerald Pfeifer  <gerald (a] pfeifer.com>
   5167 
   5168 	* libgomp.texi (Top): www.openacc.org now uses https.
   5169 	(Enabling OpenACC): Ditto.
   5170 	(acc_get_num_devices): Ditto.
   5171 	(acc_set_device_type): Ditto.
   5172 	(acc_get_device_type): Ditto.
   5173 	(acc_set_device_num): Ditto.
   5174 	(acc_get_device_num): Ditto.
   5175 	(acc_async_test): Ditto.
   5176 	(acc_async_test_all): Ditto.
   5177 	(acc_wait): Ditto.
   5178 	(acc_wait_all): Ditto.
   5179 	(acc_wait_all_async): Ditto.
   5180 	(acc_wait_async): Ditto.
   5181 	(acc_init): Ditto.
   5182 	(acc_shutdown): Ditto.
   5183 	(acc_on_device): Ditto.
   5184 	(acc_malloc): Ditto.
   5185 	(acc_free): Ditto.
   5186 	(acc_copyin): Ditto.
   5187 	(acc_present_or_copyin): Ditto.
   5188 	(acc_create): Ditto.
   5189 	(acc_present_or_create): Ditto.
   5190 	(acc_copyout): Ditto.
   5191 	(acc_delete): Ditto.
   5192 	(acc_update_device): Ditto.
   5193 	(acc_update_self): Ditto.
   5194 	(acc_map_data): Ditto.
   5195 	(acc_unmap_data): Ditto.
   5196 	(acc_deviceptr): Ditto.
   5197 	(acc_hostptr): Ditto.
   5198 	(acc_is_present): Ditto.
   5199 	(acc_memcpy_to_device): Ditto.
   5200 	(acc_memcpy_from_device): Ditto.
   5201 	(acc_get_current_cuda_device): Ditto.
   5202 	(acc_get_current_cuda_context): Ditto.
   5203 	(acc_get_cuda_stream): Ditto.
   5204 	(acc_set_cuda_stream): Ditto.
   5205 	(ACC_DEVICE_TYPE): Ditto.
   5206 	(ACC_DEVICE_NUM): Ditto.
   5207 	(OpenACC Library Interoperability): Ditto.
   5208 
   5209 2017-08-09  Jakub Jelinek  <jakub (a] redhat.com>
   5210 
   5211 	PR c/81687
   5212 	* testsuite/libgomp.c/pr81687-1.c: New test.
   5213 	* testsuite/libgomp.c/pr81687-2.c: New test.
   5214 
   5215 2017-08-07  Jakub Jelinek  <jakub (a] redhat.com>
   5216 
   5217 	PR c/69389
   5218 	* testsuite/libgomp.c/pr69389.c: New test.
   5219 	* testsuite/libgomp.c++/pr69389.C: New test.
   5220 
   5221 2017-08-07  Tom de Vries  <tom (a] codesourcery.com>
   5222 
   5223 	PR middle-end/78266
   5224 	* testsuite/libgomp.oacc-c-c++-common/vprop-2.c: New test.
   5225 	* testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove xfail.
   5226 
   5227 2017-07-27  Jakub Jelinek  <jakub (a] redhat.com>
   5228 
   5229 	PR c/45784
   5230 	* testsuite/libgomp.c/pr45784.c: New test.
   5231 	* testsuite/libgomp.c++/pr45784.C: New test.
   5232 
   5233 2017-07-19  Tom de Vries  <tom (a] codesourcery.com>
   5234 
   5235 	* testsuite/libgomp.oacc-c/vec.c: New test.
   5236 
   5237 2017-07-03  Tom de Vries  <tom (a] codesourcery.com>
   5238 
   5239 	* plugin/plugin-hsa.c: Fix secure_getenv.h include.
   5240 
   5241 2017-06-27  Tom de Vries  <tom (a] codesourcery.com>
   5242 
   5243 	* plugin/plugin-nvptx.c (notify_var): New function.
   5244 	(nvptx_exec): Use notify_var for GOMP_OPENACC_DIM.
   5245 
   5246 2017-06-27  Tom de Vries  <tom (a] codesourcery.com>
   5247 
   5248 	* env.c (parse_unsigned_long_1): Factor out of ...
   5249 	(parse_unsigned_long): ... here.
   5250 	(parse_int_1): Factor out of ...
   5251 	(parse_int): ... here.
   5252 	(parse_int_secure): New function.
   5253 	(initialize_env): Use parse_int_secure for GOMP_DEBUG.
   5254 	* secure_getenv.h: Factor out of ...
   5255 	* plugin/plugin-hsa.c: ... here.
   5256 	* testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c: New test.
   5257 
   5258 2017-06-21  Jakub Jelinek  <jakub (a] redhat.com>
   5259 
   5260 	PR c++/81130
   5261 	* testsuite/libgomp.c++/pr81130.C: New test.
   5262 
   5263 2017-06-17  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   5264 
   5265 	* testsuite/libgomp.fortran/strassen.f90: Remove dg-skip-if
   5266 	default args.
   5267 	* testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove
   5268 	dg-xfail-run-if default args.
   5269 
   5270 2017-06-02  Bernd Edlinger  <bernd.edlinger (a] hotmail.de>
   5271 
   5272 	* testsuite/libgomp.c/pr39591-2.c: Fix test case.
   5273 	* testsuite/libgomp.c/pr39591-3.c: Likewise.
   5274 
   5275 2017-05-30  Jakub Jelinek  <jakub (a] redhat.com>
   5276 
   5277 	PR libgomp/80822
   5278 	* config/linux/affinity.c (gomp_affinity_init_level_1): New function.
   5279 	(gomp_affinity_init_level): Use it.  Always analyze the core and thread
   5280 	sibling lists, depending on level just pick up what CPUs to put
   5281 	together into a place vs. whether add multiple ordered places.
   5282 
   5283 2017-05-24  Thomas Schwinge  <thomas (a] codesourcery.com>
   5284 
   5285 	* openacc.h (acc_async_wait, acc_async_wait_all): New prototypes.
   5286 	* libgomp.map (OACC_2.0.1): Add these.
   5287 	* oacc-async.c (acc_async_wait, acc_async_wait_all): New aliases
   5288 	for "acc_wait", and "acc_wait_all", respectively.
   5289 	* openacc.f90 (acc_async_wait, acc_async_wait_all): New interfaces
   5290 	for "acc_wait", and "acc_wait_all", respectively.
   5291 	* openacc_lib.h (acc_async_wait, acc_async_wait_all): Likewise.
   5292 	* libgomp.texi (acc_wait, acc_wait_all): Update.
   5293 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Update.
   5294 	* testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: New file.
   5295 	* testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise.
   5296 
   5297 	* openacc_lib.h (acc_pcopyin, acc_pcreate): Route to
   5298 	acc_present_or_copyin and acc_present_or_create procedures,
   5299 	respectively.
   5300 	* testsuite/libgomp.oacc-fortran/lib-32-1.f: Exercise these, and
   5301 	generally different variants of OpenACC Runtime Library functions.
   5302 	* testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise.
   5303 
   5304 	* testsuite/libgomp.oacc-fortran/lib-32-1.f: New file.
   5305 	* testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise.
   5306 
   5307 	* openacc.h (acc_pcopyin, acc_pcreate): Provide prototypes instead
   5308 	of preprocessor definitions.
   5309 	* libgomp.h (strong_alias): Guard by "#ifdef
   5310 	HAVE_ATTRIBUTE_ALIAS".
   5311 	* oacc-mem.c: Provide "acc_pcreate" as alias for
   5312 	"acc_present_or_create", and "acc_pcopyin" as alias for
   5313 	"acc_present_or_copyin".
   5314 	* libgomp.map: New version "OACC_2.0.1".
   5315 	(OACC_2.0.1): Add "acc_pcopyin", and "acc_pcreate".
   5316 	* testsuite/libgomp.oacc-c-c++-common/lib-38.c: Remove, merging
   5317 	its content into...
   5318 	* testsuite/libgomp.oacc-c-c++-common/lib-32.c: ... this file.
   5319 	Extend testing.
   5320 
   5321 	* plugin/plugin-nvptx.c (nvptx_get_num_devices): Debugging output
   5322 	when disabling nvptx offloading.
   5323 
   5324 2017-05-23  Thomas Schwinge  <thomas (a] codesourcery.com>
   5325 
   5326 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Update.
   5327 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise.
   5328 	* testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise.
   5329 
   5330 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Rewrite.
   5331 	* testsuite/lib/libgomp.exp
   5332 	(check_effective_target_openacc_nvidia_accel_configured): New
   5333 	proc.
   5334 	* testsuite/libgomp.oacc-c++/c++.exp (check_effective_target_c)
   5335 	(check_effective_target_c++): New procs.
   5336 	* testsuite/libgomp.oacc-c/c.exp (check_effective_target_c)
   5337 	(check_effective_target_c++): Likewise.
   5338 
   5339 2017-05-22  Jakub Jelinek  <jakub (a] redhat.com>
   5340 
   5341 	PR middle-end/80809
   5342 	* testsuite/libgomp.c/pr80809-2.c: New test.
   5343 	* testsuite/libgomp.c/pr80809-3.c: New test.
   5344 
   5345 	PR middle-end/80809
   5346 	* testsuite/libgomp.c/pr80809-1.c: New test.
   5347 
   5348 	PR middle-end/80853
   5349 	* testsuite/libgomp.c/pr80853.c: New test.
   5350 
   5351 2017-05-19  Thomas Schwinge  <thomas (a] codesourcery.com>
   5352 
   5353 	* testsuite/libgomp.oacc-c++/template-reduction.C: Update.
   5354 	* testsuite/libgomp.oacc-c-c++-common/nested-2.c: Update.
   5355 	* testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise.
   5356 	* testsuite/libgomp.oacc-fortran/default-1.f90: Likewise.
   5357 	* testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Likewise.
   5358 
   5359 	* plugin/plugin-hsa.c (DLSYM_FN, init_hsa_runtime_functions):
   5360 	Debug output for failure.
   5361 
   5362 2017-05-12  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   5363 
   5364 	* testsuite/lib/libgomp.exp: Load scanlang.exp.
   5365 
   5366 2017-04-27  Jakub Jelinek  <jakub (a] redhat.com>
   5367 
   5368 	PR bootstrap/80531
   5369 	* configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid
   5370 	bootstrap compare failures.
   5371 
   5372 2017-04-20  Alexander Monakov  <amonakov (a] ispras.ru>
   5373 
   5374 	* testsuite/libgomp.c/target-36.c: New testcase.
   5375 
   5376 2017-04-13  Jakub Jelinek  <jakub (a] redhat.com>
   5377 
   5378 	* plugin/plugin-nvptx.c (cuda_lib_inited): Use signed char type
   5379 	instead of char.
   5380 
   5381 2017-04-11  Jakub Jelinek  <jakub (a] redhat.com>
   5382 
   5383 	PR libgomp/80394
   5384 	* testsuite/libgomp.c/pr80394.c: New test.
   5385 
   5386 2017-04-04  Jakub Jelinek  <jakub (a] redhat.com>
   5387 
   5388 	PR libgomp/79876
   5389 	* config/posix/thread-stacksize.h: New file.
   5390 	* config/darwin/thread-stacksize.h: New file.
   5391 	* config/nvptx/thread-stacksize.h: New file.
   5392 	* env.c: Include thread-stacksize.h.
   5393 	(initialize_env): Initialize stacksize to GOMP_DEFAULT_STACKSIZE
   5394 	instead of 0.  Call pthread_attr_setstacksize even if
   5395 	GOMP_DEFAULT_STACKSIZE is non-zero.
   5396 
   5397 2017-03-30  Jakub Jelinek  <jakub (a] redhat.com>
   5398 
   5399 	* env.c (initialize_env): Initialize stacksize to 0.
   5400 
   5401 2017-03-22  Cesar Philippidis  <cesar (a] codesourcery.com>
   5402 
   5403 	PR c++/80029
   5404 	* testsuite/libgomp.oacc-c-c++-common/declare-vla.c: New test.
   5405 
   5406 2017-03-08  Jakub Jelinek  <jakub (a] redhat.com>
   5407 
   5408 	PR c/79940
   5409 	* testsuite/libgomp.c/pr79940.c: New test.
   5410 
   5411 2017-02-15  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   5412 
   5413 	* testsuite/libgomp.c/pr48591.c: Enable on all __float128
   5414 	targets.
   5415 	Add __float128 options.
   5416 
   5417 2017-02-11  John David Anglin  <danglin (a] gcc.gnu.org>
   5418 
   5419 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Remove
   5420 	hppa*-*-* dg-skip-if directive.
   5421 
   5422 2017-02-09  Jakub Jelinek  <jakub (a] redhat.com>
   5423 
   5424 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Move
   5425 	dg-skip-if directive into a comment.
   5426 
   5427 2017-02-09  Nathan Sidwell  <nathan (a] codesourcery.com>
   5428 	    Chung-Lin Tang  <cltang (a] codesourcery.com>
   5429 
   5430 	* testsuite/libgomp.oacc-c-c++-common/tile-1.c: New.
   5431 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust and
   5432 	add additional case.
   5433 	* testsuite/libgomp.oacc-c-c++-common/vprop.c: XFAIL under
   5434 	"openacc_nvidia_accel_selected".
   5435 	* libgomp.oacc-fortran/nested-function-1.f90 (test2):
   5436 	Add num_workers(8) clause.
   5437 
   5438 2017-02-08  John David Anglin  <danglin (a] gcc.gnu.org>
   5439 
   5440 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on
   5441 	hppa*-*-*.
   5442 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Don't
   5443 	include complex.h on hppa*-*-hpux*.
   5444 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise.
   5445 
   5446 2017-02-02  Thomas Schwinge  <thomas (a] codesourcery.com>
   5447 
   5448 	* plugin/plugin-nvptx.c (nvptx_exec): Make it static.
   5449 
   5450 	* libgomp-plugin.h (GOMP_OFFLOAD_openacc_parallel): Rename to
   5451 	GOMP_OFFLOAD_openacc_exec.  Adjust all users.
   5452 	(GOMP_OFFLOAD_openacc_get_current_cuda_device): Rename to
   5453 	GOMP_OFFLOAD_openacc_cuda_get_current_device.  Adjust all users.
   5454 	(GOMP_OFFLOAD_openacc_get_current_cuda_context): Rename to
   5455 	GOMP_OFFLOAD_openacc_cuda_get_current_context.  Adjust all users.
   5456 	(GOMP_OFFLOAD_openacc_get_cuda_stream): Rename to
   5457 	GOMP_OFFLOAD_openacc_cuda_get_stream.  Adjust all users.
   5458 	(GOMP_OFFLOAD_openacc_set_cuda_stream): Rename to
   5459 	GOMP_OFFLOAD_openacc_cuda_set_stream.  Adjust all users.
   5460 
   5461 2017-01-31  Thomas Schwinge  <thomas (a] codesourcery.com>
   5462 
   5463 	* libgomp-plugin.h: #include <stdbool.h>.
   5464 	(GOMP_OFFLOAD_get_name, GOMP_OFFLOAD_get_caps)
   5465 	(GOMP_OFFLOAD_get_type, GOMP_OFFLOAD_get_num_devices)
   5466 	(GOMP_OFFLOAD_init_device, GOMP_OFFLOAD_fini_device)
   5467 	(GOMP_OFFLOAD_version, GOMP_OFFLOAD_load_image)
   5468 	(GOMP_OFFLOAD_unload_image, GOMP_OFFLOAD_alloc, GOMP_OFFLOAD_free)
   5469 	(GOMP_OFFLOAD_dev2host, GOMP_OFFLOAD_host2dev)
   5470 	(GOMP_OFFLOAD_dev2dev, GOMP_OFFLOAD_can_run, GOMP_OFFLOAD_run)
   5471 	(GOMP_OFFLOAD_async_run, GOMP_OFFLOAD_openacc_parallel)
   5472 	(GOMP_OFFLOAD_openacc_register_async_cleanup)
   5473 	(GOMP_OFFLOAD_openacc_async_test)
   5474 	(GOMP_OFFLOAD_openacc_async_test_all)
   5475 	(GOMP_OFFLOAD_openacc_async_wait)
   5476 	(GOMP_OFFLOAD_openacc_async_wait_async)
   5477 	(GOMP_OFFLOAD_openacc_async_wait_all)
   5478 	(GOMP_OFFLOAD_openacc_async_wait_all_async)
   5479 	(GOMP_OFFLOAD_openacc_async_set_async)
   5480 	(GOMP_OFFLOAD_openacc_create_thread_data)
   5481 	(GOMP_OFFLOAD_openacc_destroy_thread_data)
   5482 	(GOMP_OFFLOAD_openacc_get_current_cuda_device)
   5483 	(GOMP_OFFLOAD_openacc_get_current_cuda_context)
   5484 	(GOMP_OFFLOAD_openacc_get_cuda_stream)
   5485 	(GOMP_OFFLOAD_openacc_set_cuda_stream): New prototypes.
   5486 	* libgomp.h (struct acc_dispatch_t, struct gomp_device_descr): Use
   5487 	these.
   5488 	* plugin/plugin-hsa.c (GOMP_OFFLOAD_load_image)
   5489 	(GOMP_OFFLOAD_unload_image): Fix argument types.
   5490 
   5491 2017-01-26  Jakub Jelinek  <jakub (a] redhat.com>
   5492 
   5493 	* testsuite/lib/libgomp.exp
   5494 	(check_effective_target_hsa_offloading_selected_nocache): Fix up
   5495 	check_compile invocation.  Fix up removal of executable.  Drop
   5496 	bogus "2>&1" argument.
   5497 
   5498 	* testsuite/libgomp.fortran/declare-simd-4.f90: Add cleanup-modules
   5499 	directive.
   5500 
   5501 2017-01-24  Pekka Jskelinen  <pekka (a] parmance.com>
   5502 	    Martin Jambor  <mjambor (a] suse.cz>
   5503 
   5504 	* plugin/hsa.h: Moved to top level include.
   5505 	* plugin/plugin-hsa.c: Chanfgd include of hsa.h accordingly.
   5506 
   5507 2017-01-21  Jakub Jelinek  <jakub (a] redhat.com>
   5508 
   5509 	PR other/79046
   5510 	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
   5511 	of cat to get version from BASE-VER file.
   5512 	* testsuite/Makefile.in: Regenerated.
   5513 
   5514 2017-01-19  Jakub Jelinek  <jakub (a] redhat.com>
   5515 
   5516 	* plugin/cuda/cuda.h (CUdeviceptr): Typedef to unsigned long long even
   5517 	for _WIN64.
   5518 
   5519 2017-01-17  Jakub Jelinek  <jakub (a] redhat.com>
   5520 
   5521 	* plugin/hsa.h: Add GCC runtime library exception.
   5522 	* plugin/hsa_ext_finalize.h: Likewise.
   5523 
   5524 	* plugin/configfrag.ac: For --without-cuda-driver don't initialize
   5525 	CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB.  If both
   5526 	CUDA_DRIVER_INCLUDE and CUDA_DRIVER_LIB are empty and linking small
   5527 	cuda program fails, define PLUGIN_NVPTX_DYNAMIC to 1 and use
   5528 	plugin/include/cuda as include dir and -ldl instead of -lcuda as
   5529 	library to link ptx plugin against.
   5530 	* plugin/plugin-nvptx.c: Include dlfcn.h if PLUGIN_NVPTX_DYNAMIC.
   5531 	(CUDA_CALLS): Define.
   5532 	(cuda_lib, cuda_lib_inited): New variables.
   5533 	(init_cuda_lib): New function.
   5534 	(CUDA_CALL_PREFIX): Define.
   5535 	(CUDA_CALL_ERET, CUDA_CALL_ASSERT): Use CUDA_CALL_PREFIX.
   5536 	(CUDA_CALL): Use FN instead of (FN).
   5537 	(CUDA_CALL_NOCHECK): Define.
   5538 	(cuda_error, fini_streams_for_device, select_stream_for_async,
   5539 	nvptx_attach_host_thread_to_device, nvptx_open_device, link_ptx,
   5540 	event_gc, nvptx_exec, nvptx_async_test, nvptx_async_test_all,
   5541 	nvptx_wait_all, nvptx_set_clocktick, GOMP_OFFLOAD_unload_image,
   5542 	nvptx_stacks_alloc, nvptx_stacks_free, GOMP_OFFLOAD_run): Use
   5543 	CUDA_CALL_NOCHECK.
   5544 	(nvptx_init): Call init_cuda_lib, if it fails, return false.  Use
   5545 	CUDA_CALL_NOCHECK.
   5546 	(nvptx_get_num_devices): Call init_cuda_lib, if it fails, return 0.
   5547 	Use CUDA_CALL_NOCHECK.
   5548 	* plugin/cuda/cuda.h: New file.
   5549 	* config.h.in: Regenerated.
   5550 	* configure: Regenerated.
   5551 
   5552 	PR other/79046
   5553 	* configure.ac: Add GCC_BASE_VER.
   5554 	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
   5555 	get version from BASE-VER file.
   5556 	* testsuite/Makefile.in: Regenerated.
   5557 	* configure: Regenerated.
   5558 	* Makefile.in: Regenerated.
   5559 
   5560 2017-01-09  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
   5561 
   5562 	PR libgomp/60670
   5563 	* Makefile.am: Make fincludedir multilib-aware.
   5564 	* Makefile.in: Regenerate.
   5565 
   5566 2017-01-01  Jakub Jelinek  <jakub (a] redhat.com>
   5567 
   5568 	Update copyright years.
   5569 
   5570 	* libgomp.texi: Bump @copying's copyright year.
   5571 
   5572 2016-12-02  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   5573 
   5574 	* libgomp/config/rtems/pool.h (gomp_thread_pool_reservoir): Use
   5575 	pthread_spinlock_t instead of gomp_mutex_t lock.
   5576 	(gomp_get_thread_pool): Likewise.
   5577 	(gomp_release_thread_pool): Likewise.
   5578 	* libgomp/config/rtems/proc.c (allocate_thread_pool_reservoir):
   5579 	Likewise.
   5580 
   5581 2016-12-02  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   5582 
   5583 	* config/rtems/pool.h (gomp_get_thread_pool): Return proper
   5584 	thread pool in case nthreads == 1.
   5585 
   5586 2016-11-30  Alexander Monakov  <amonakov (a] ispras.ru>
   5587 
   5588 	* config/nvptx/env.c: Delete.
   5589 	* icv.c: Move definitions of ICV variables back ...
   5590 	* env.c: ...here.  Do not compile environment-related functionality if
   5591 	LIBGOMP_OFFLOADED_ONLY is set.
   5592 
   5593 2016-11-30  Alexander Monakov  <amonakov (a] ispras.ru>
   5594 
   5595 	* configure.ac [nvptx*-*-*] (libgomp_offloaded_only): Set and use it...
   5596 	(LIBGOMP_OFFLOADED_ONLY): ...here; new define.
   5597 	* configure: Regenerate.
   5598 	* config.h.in: Likewise.
   5599 
   5600 2016-11-30  Alexander Monakov  <amonakov (a] ispras.ru>
   5601 
   5602 	* Makefile.in: Regenerate with automake-1.11.6.
   5603 	* aclocal.m4: Likewise.
   5604 	* configure: Likewise.
   5605 	* testsuite/Makefile.in: Likewise.
   5606 
   5607 2016-11-28  Alexander Monakov  <amonakov (a] ispras.ru>
   5608 
   5609 	* config/nvptx/critical.c: Delete to use generic implementation.
   5610 
   5611 2016-11-28  Jonas Hahnfeld  <Hahnfeld (a] itc.rwth-aachen.de>
   5612 
   5613 	* config/linux/affinity.c [!HAVE_PTHREAD_AFFINITY_NP]: Include
   5614 	../../affinity.c as fallback.
   5615 	* config/nvptx/affinity.c: Delete to use fallback implementation.
   5616 
   5617 2016-11-23  Alexander Monakov  <amonakov (a] ispras.ru>
   5618 	    Jakub Jelinek  <jakub (a] redhat.com>
   5619 	    Dmitry Melnik  <dm (a] ispras.ru>
   5620 
   5621 	* Makefile.am (libgomp_la_SOURCES): Add atomic.c, icv.c, icv-device.c.
   5622 	* Makefile.in. Regenerate.
   5623 	* configure.ac [nvptx*-*-*] (libgomp_use_pthreads): Set and use it...
   5624 	(LIBGOMP_USE_PTHREADS): ...here; new define.
   5625 	* configure: Regenerate.
   5626 	* config.h.in: Likewise.
   5627 	* config/posix/affinity.c: Move to...
   5628 	* affinity.c: ...here (new file).  Guard use of Pthreads-specific
   5629 	interface by LIBGOMP_USE_PTHREADS. 
   5630 	* critical.c: Split out GOMP_atomic_{start,end} into...
   5631 	* atomic.c: ...here (new file).
   5632 	* env.c: Split out ICV definitions into...
   5633 	* icv.c: ...here (new file) and...
   5634 	* icv-device.c: ...here. New file.
   5635 	* config/linux/lock.c (gomp_init_lock_30): Move to generic lock.c.
   5636 	(gomp_destroy_lock_30): Ditto.
   5637 	(gomp_set_lock_30): Ditto.
   5638 	(gomp_unset_lock_30): Ditto.
   5639 	(gomp_test_lock_30): Ditto.
   5640 	(gomp_init_nest_lock_30): Ditto.
   5641 	(gomp_destroy_nest_lock_30): Ditto.
   5642 	(gomp_set_nest_lock_30): Ditto.
   5643 	(gomp_unset_nest_lock_30): Ditto.
   5644 	(gomp_test_nest_lock_30): Ditto.
   5645 	* lock.c: New.
   5646 	* config/nvptx/lock.c: New.
   5647 	* config/nvptx/bar.c: New.
   5648 	* config/nvptx/bar.h: New.
   5649 	* config/nvptx/doacross.h: New.
   5650 	* config/nvptx/error.c: New.
   5651 	* config/nvptx/icv-device.c: New.
   5652 	* config/nvptx/mutex.h: New.
   5653 	* config/nvptx/pool.h: New.
   5654 	* config/nvptx/proc.c: New.
   5655 	* config/nvptx/ptrlock.h: New.
   5656 	* config/nvptx/sem.h: New.
   5657 	* config/nvptx/simple-bar.h: New.
   5658 	* config/nvptx/target.c: New.
   5659 	* config/nvptx/task.c: New.
   5660 	* config/nvptx/team.c: New.
   5661 	* config/nvptx/time.c: New.
   5662 	* config/posix/simple-bar.h: New.
   5663 	* libgomp.h: Guard pthread.h inclusion.  Include simple-bar.h.
   5664 	(gomp_num_teams_var): Declare.
   5665 	(struct gomp_thread_pool): Change threads_dock member to
   5666 	gomp_simple_barrier_t.
   5667 	[__nvptx__] (gomp_thread): New implementation.
   5668 	(gomp_thread_attr): Guard by LIBGOMP_USE_PTHREADS.
   5669 	(gomp_thread_destructor): Ditto.
   5670 	(gomp_init_thread_affinity): Ditto.
   5671 	* team.c: Guard uses of Pthreads-specific interfaces by
   5672 	LIBGOMP_USE_PTHREADS.  Adjust all uses of threads_dock.
   5673 	(gomp_free_thread) [__nvptx__]: Do not call 'free'.
   5674 	* config/nvptx/alloc.c: Delete.
   5675 	* config/nvptx/barrier.c: Ditto.
   5676 	* config/nvptx/fortran.c: Ditto.
   5677 	* config/nvptx/iter.c: Ditto.
   5678 	* config/nvptx/iter_ull.c: Ditto.
   5679 	* config/nvptx/loop.c: Ditto.
   5680 	* config/nvptx/loop_ull.c: Ditto.
   5681 	* config/nvptx/ordered.c: Ditto.
   5682 	* config/nvptx/parallel.c: Ditto.
   5683 	* config/nvptx/priority_queue.c: Ditto.
   5684 	* config/nvptx/sections.c: Ditto.
   5685 	* config/nvptx/single.c: Ditto.
   5686 	* config/nvptx/splay-tree.c: Ditto.
   5687 	* config/nvptx/work.c: Ditto.
   5688 	* testsuite/libgomp.fortran/fortran.exp (lang_link_flags): Pass
   5689 	-foffload=-lgfortran in addition to -lgfortran.
   5690 	* testsuite/libgomp.oacc-fortran/fortran.exp (lang_link_flags): Ditto.
   5691 	* plugin/plugin-nvptx.c: Include <limits.h>.
   5692 	(struct targ_fn_descriptor): Add new fields.
   5693 	(struct ptx_device): Ditto.  Set them...
   5694 	(nvptx_open_device): ...here.
   5695 	(nvptx_adjust_launch_bounds): New.
   5696 	(nvptx_host2dev): Allow NULL 'nvthd'.
   5697 	(nvptx_dev2host): Ditto.
   5698 	(GOMP_OFFLOAD_get_caps): Add GOMP_OFFLOAD_CAP_OPENMP_400.
   5699 	(link_ptx): Adjust log sizes.
   5700 	(nvptx_host2dev): Allow NULL 'nvthd'.
   5701 	(nvptx_dev2host): Ditto.
   5702 	(nvptx_set_clocktick): New.  Use it...
   5703 	(GOMP_OFFLOAD_load_image): ...here.  Set new targ_fn_descriptor
   5704 	fields.
   5705 	(GOMP_OFFLOAD_dev2dev): New.
   5706 	(nvptx_adjust_launch_bounds): New.
   5707 	(nvptx_stacks_size): New.
   5708 	(nvptx_stacks_alloc): New.
   5709 	(nvptx_stacks_free): New.
   5710 	(GOMP_OFFLOAD_run): New.
   5711 	(GOMP_OFFLOAD_async_run): New (stub).
   5712 
   5713 2016-11-23  Martin Jambor  <mjambor (a] suse.cz>
   5714 
   5715 	* testsuite/libgomp.hsa.c/bits-insns.c: New test.
   5716 	* testsuite/libgomp.hsa.c/tiling-1.c: Likewise.
   5717 	* testsuite/libgomp.hsa.c/tiling-2.c: Likewise.
   5718 
   5719 2016-11-23  Martin Liska  <mliska (a] suse.cz>
   5720 	    Martin Jambor  <mjambor (a] suse.cz>
   5721 
   5722 	* plugin/hsa.h: New file.
   5723 	* plugin/hsa_ext_finalize.h: New file.
   5724 	* plugin/configfrag.ac: Remove hsa-kmt-lib test.  Added checks for
   5725 	header file unistd.h, and functions secure_getenv, __secure_getenv,
   5726 	getuid, geteuid, getgid and getegid.
   5727 	* plugin/Makefrag.am (libgomp_plugin_hsa_la_CPPFLAGS): Added
   5728 	-D_GNU_SOURCE.
   5729 	* plugin/plugin-hsa.c: Include config.h, inttypes.h and stdbool.h.
   5730 	Handle various cases of secure_getenv presence, add an implementation
   5731 	when we can test effective UID and GID.
   5732 	(struct hsa_runtime_fn_info): New structure.
   5733 	(hsa_runtime_fn_info hsa_fns): New variable.
   5734 	(hsa_runtime_lib): Likewise.
   5735 	(support_cpu_devices): Likewise.
   5736 	(init_enviroment_variables): Load newly introduced ENV
   5737 	variables.
   5738 	(hsa_warn): Call hsa run-time functions via hsa_fns structure.
   5739 	(hsa_fatal): Likewise.
   5740 	(DLSYM_FN): New macro.
   5741 	(init_hsa_runtime_functions): New function.
   5742 	(suitable_hsa_agent_p): Call hsa run-time functions via hsa_fns
   5743 	structure.  Depending on environment, also allow CPU devices.
   5744 	(init_hsa_context): Call hsa run-time functions via hsa_fns structure.
   5745 	(get_kernarg_memory_region): Likewise.
   5746 	(GOMP_OFFLOAD_init_device): Likewise.
   5747 	(destroy_hsa_program): Likewise.
   5748 	(init_basic_kernel_info): New function.
   5749 	(GOMP_OFFLOAD_load_image): Use it.
   5750 	(create_and_finalize_hsa_program): Call hsa run-time functions via
   5751 	hsa_fns structure.
   5752 	(create_single_kernel_dispatch): Likewise.
   5753 	(release_kernel_dispatch): Likewise.
   5754 	(init_single_kernel): Likewise.
   5755 	(parse_target_attributes): Allow up multiple HSA grid dimensions.
   5756 	(get_group_size): New function.
   5757 	(run_kernel): Likewise.
   5758 	(GOMP_OFFLOAD_run): Outline most functionality to run_kernel.
   5759 	(GOMP_OFFLOAD_fini_device): Call hsa run-time functions via hsa_fns
   5760 	structure.
   5761 	* testsuite/lib/libgomp.exp: Remove hsa_kmt_lib support.
   5762 	* testsuite/libgomp-test-support.exp.in: Likewise.
   5763 	* Makefile.in: Regenerated.
   5764 	* aclocal.m4: Likewise.
   5765 	* config.h.in: Likewise.
   5766 	* configure: Likewise.
   5767 	* testsuite/Makefile.in: Likewise.
   5768 
   5769 2016-11-15  Martin Jambor  <mjambor (a] suse.cz>
   5770 	    Alexander Monakov  <amonakov (a] ispras.ru>
   5771 
   5772 	* testsuite/libgomp.fortran/examples-4/device-1.f90 (e_57_1): Add
   5773 	mapping clauses to target constructs.
   5774 	* testsuite/libgomp.fortran/examples-4/device-3.f90 (e_57_3): Ditto.
   5775 
   5776 2016-11-15  Matthias Klose  <doko (a] ubuntu.com>
   5777 
   5778 	* configure: Regenerate.
   5779 
   5780 2016-11-10  Jakub Jelinek  <jakub (a] redhat.com>
   5781 
   5782 	* omp_lib.f90.in (openmp_version): Change to 201511 from 201307.
   5783 	* omp_lib.h.in (openmp_version): Likewise.
   5784 	* testsuite/libgomp.fortran/openmp_version-1.f: Expect 201511 instead
   5785 	of 201307.
   5786 	* testsuite/libgomp.fortran/openmp_version-2.f90: Likewise.
   5787 
   5788 	* testsuite/libgomp.fortran/examples-4/declare_target-1.f90
   5789 	(fib_wrapper): Add map(from: x) clause.
   5790 	* testsuite/libgomp.fortran/examples-4/declare_target-2.f90
   5791 	(e_53_2): Likewise.
   5792 	* testsuite/libgomp.fortran/examples-4/declare_target-4.f90
   5793 	(accum): Add map(tmp) clause.
   5794 	* testsuite/libgomp.fortran/examples-4/declare_target-5.f90
   5795 	(accum): Add map(tofrom: tmp) clause.
   5796 	* testsuite/libgomp.fortran/examples-4/target_data-3.f90
   5797 	(gramSchmidt): Likewise.
   5798 	* testsuite/libgomp.fortran/examples-4/teams-2.f90 (dotprod): Add
   5799 	map(tofrom: sum) clause.
   5800 	* testsuite/libgomp.fortran/nestedfn5.f90 (foo): Add twice
   5801 	map (alloc: a, l) clause.  Add defaultmap(tofrom: scalar) clause.
   5802 	* testsuite/libgomp.fortran/pr66199-2.f90: Adjust for linear clause
   5803 	only allowed on the loop iterator.
   5804 	* testsuite/libgomp.fortran/target4.f90 (foo): Add map(t) clause.
   5805 	* testsuite/libgomp.fortran/taskloop2.f90: New test.
   5806 	* testsuite/libgomp.fortran/taskloop4.f90: New test.
   5807 	* testsuite/libgomp.fortran/doacross1.f90: New test.
   5808 	* testsuite/libgomp.fortran/doacross3.f90: New test.
   5809 	* testsuite/libgomp.fortran/taskloop1.f90: New test.
   5810 	* testsuite/libgomp.fortran/taskloop3.f90: New test.
   5811 	* testsuite/libgomp.fortran/doacross2.f90: New test.
   5812 	* testsuite/libgomp.c/doacross-1.c (main): Add missing
   5813 	#pragma omp atomic read.
   5814 	* testsuite/libgomp.c/doacross-2.c (main): Likewise.
   5815 	* testsuite/libgomp.c/doacross-3.c (main): Likewise.
   5816 
   5817 2016-11-02  Cesar Philippidis  <cesar (a] codesourcery.com>
   5818 	    Nathan Sidwell  <nathan (a] acm.org>
   5819 
   5820 	* plugin/plugin-nvptx.c (nvptx_exec): Interrogate board attributes
   5821 	to determine default geometry.
   5822 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Set gang
   5823 	dimension.
   5824 
   5825 2016-11-01  Jakub Jelinek  <jakub (a] redhat.com>
   5826 
   5827 	* hashtab.h: Use standard GPLv3 with runtime exception
   5828 	boilerplate.
   5829 
   5830 2016-10-27  Aldy Hernandez  <aldyh (a] redhat.com>
   5831 
   5832 	* oacc-init.c (goacc_new_thread): Use sizeof of the appropriate
   5833 	size when allocating new thread.
   5834 
   5835 2016-09-14  Marek Polacek  <polacek (a] redhat.com>
   5836 
   5837 	* testsuite/libgomp.c++/atomic-3.C: Use -Wno-deprecated.
   5838 
   5839 2016-08-19  Jakub Jelinek  <jakub (a] redhat.com>
   5840 
   5841 	PR fortran/71014
   5842 	* testsuite/libgomp.fortran/pr71014.f90: New test.
   5843 
   5844 2016-08-18  Chung-Lin Tang  <cltang (a] codesourcery.com>
   5845 
   5846 	PR middle-end/70895
   5847 	* testsuite/libgomp.oacc-fortran/reduction-7.f90: Add explicit
   5848 	firstprivate clauses.
   5849 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Remove explicit
   5850 	copy clauses.
   5851 	* testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise.
   5852 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise.
   5853 	* testsuite/libgomp.oacc-c-c++-common/reduction-flt.c: Likewise.
   5854 	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise.
   5855 	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
   5856 	* testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise.
   5857 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
   5858 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise.
   5859 	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
   5860 	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
   5861 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
   5862 	* testsuite/libgomp.oacc-c-c++-common/reduction-dbl.c: Likewise.
   5863 
   5864 2016-08-14  Chung-Lin Tang  <cltang (a] codesourcery.com>
   5865 
   5866 	PR fortran/70598
   5867 	* testsuite/libgomp.oacc-fortran/host_data-1.f90: New test.
   5868 
   5869 2016-08-08  Jakub Jelinek  <jakub (a] redhat.com>
   5870 
   5871 	PR c++/58706
   5872 	* testsuite/libgomp.c++/pr58706.C: New test.
   5873 
   5874 2016-08-04  Thomas Schwinge  <thomas (a] codesourcery.com>
   5875 
   5876 	* testsuite/libgomp.oacc-c++/routine-1-auto.C: New file.
   5877 	* testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Likewise.
   5878 	* testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C:
   5879 	Likewise.
   5880 	* testsuite/libgomp.oacc-c++/routine-1-template.C: Likewise.
   5881 	* testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C:
   5882 	Likewise.
   5883 	* testsuite/libgomp.oacc-c-c++-common/routine-1.c: Adjust.
   5884 
   5885 	* testsuite/libgomp.oacc-c-c++-common/crash-1.c: Make it a "link"
   5886 	test, and don't hardcode -O0.
   5887 
   5888 2016-08-03  Nathan Sidwell  <nathan (a] codesourcery.com>
   5889 
   5890 	* testsuite/libgomp.oacc-c-c++-common/crash-1.c: New.
   5891 
   5892 2016-07-15  Cesar Philippidis  <cesar (a] codesourcery.com>
   5893 
   5894 	* testsuite/libgomp.oacc-c-c++-common/zero_length_subarrays.c: New
   5895 	test.
   5896 
   5897 2016-07-03  H.J. Lu  <hongjiu.lu (a] intel.com>
   5898 
   5899 	PR middle-end/71734
   5900 	* testsuite/libgomp.fortran/pr71734-1.f90: New test.
   5901 	* testsuite/libgomp.fortran/pr71734-2.f90: Likewise.
   5902 
   5903 2016-07-01  Jakub Jelinek  <jakub (a] redhat.com>
   5904 
   5905 	PR fortran/71717
   5906 	* testsuite/libgomp.fortran/associate3.f90: New test.
   5907 
   5908 2016-06-17  Jakub Jelinek  <jakub (a] redhat.com>
   5909 
   5910 	* testsuite/libgomp.c++/target-21.C: New test.
   5911 
   5912 2016-06-16  Jakub Jelinek  <jakub (a] redhat.com>
   5913 
   5914 	* testsuite/libgomp.c++/target-20.C: New test.
   5915 
   5916 2016-06-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   5917 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   5918 
   5919 	PR middle-end/71373
   5920 	* libgomp.oacc-c/nested-function-1.c: New file.
   5921 	* libgomp.oacc-c/nested-function-2.c: Likewise.
   5922 	* libgomp.oacc-fortran/nested-function-1.f90: Likewise.
   5923 	* libgomp.oacc-fortran/nested-function-2.f90: Likewise.
   5924 	* libgomp.oacc-fortran/nested-function-3.f90: Likewise.
   5925 
   5926 2016-06-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   5927 
   5928 	PR c/71381
   5929 	* testsuite/libgomp.oacc-c-c++-common/cache-1.c: #include
   5930 	"../../../gcc/testsuite/c-c++-common/goacc/cache-1.c".
   5931 	* testsuite/libgomp.oacc-fortran/cache-1.f95: New file.
   5932 
   5933 2016-06-03  Chung-Lin Tang  <cltang (a] codesourcery.com>
   5934 
   5935 	* testsuite/libgomp.oacc-fortran/reduction-8.f90: New testcase.
   5936 	* testsuite/libgomp.oacc-c-c++-common/reduction-8.c: New testcase.
   5937 
   5938 2016-06-01  Cesar Philippidis  <cesar (a] codesourcery.com>
   5939 
   5940 	PR c/70688
   5941 	* testsuite/libgomp.oacc-c-c++-common/pr70688.c: New file.
   5942 
   5943 2016-05-26  Jakub Jelinek  <jakub (a] redhat.com>
   5944 
   5945 	* testsuite/libgomp.c/doacross-1.c (main): Use schedule(static)
   5946 	instead of invalid schedule(static, 0).
   5947 	* testsuite/libgomp.c/doacross-2.c (main): Likewise.
   5948 
   5949 2016-05-26  Chung-Lin Tang  <cltang (a] codesourcery.com>
   5950 
   5951 	* oacc-plugin.h (GOMP_PLUGIN_async_unmap_vars): Add int parameter.
   5952 	* oacc-plugin.c (GOMP_PLUGIN_async_unmap_vars): Add 'int async'
   5953 	parameter, use to set async stream around call to gomp_unmap_vars,
   5954 	call gomp_unmap_vars() with 'do_copyfrom' set to true.
   5955 	* plugin/plugin-nvptx.c (struct ptx_event): Add 'int val' field.
   5956 	(event_gc): Adjust event handling loop, collect PTX_EVT_ASYNC_CLEANUP
   5957 	events and call GOMP_PLUGIN_async_unmap_vars() for each of them.
   5958 	(event_add): Add int parameter, initialize 'val' field when
   5959 	adding new ptx_event struct.
   5960 	(nvptx_evec): Adjust event_add() call arguments.
   5961 	(nvptx_host2dev): Likewise.
   5962 	(nvptx_dev2host): Likewise.
   5963 	(nvptx_wait_async): Likewise.
   5964 	(nvptx_wait_all_async): Likewise.
   5965 	(GOMP_OFFLOAD_openacc_register_async_cleanup): Add async parameter,
   5966 	pass to event_add() call.
   5967 	* oacc-host.c (host_openacc_register_async_cleanup): Add 'int async'
   5968 	parameter.
   5969 	* oacc-mem.c (gomp_acc_remove_pointer): Adjust async case to
   5970 	call openacc.register_async_cleanup_func() hook.
   5971 	* oacc-parallel.c (GOACC_parallel_keyed): Likewise.
   5972 	* target.c (gomp_copy_from_async): Delete function.
   5973 	(gomp_map_vars): Remove async_refcount.
   5974 	(gomp_unmap_vars): Likewise.
   5975 	(gomp_load_image_to_device): Likewise.
   5976 	(omp_target_associate_ptr): Likewise.
   5977 	* libgomp.h (struct splay_tree_key_s): Remove async_refcount.
   5978 	(acc_dispatch_t.register_async_cleanup_func): Add int parameter.
   5979 	(gomp_copy_from_async): Remove.
   5980 
   5981 2016-05-26  Chung-Lin Tang  <cltang (a] codesourcery.com>
   5982 
   5983 	* target.c (gomp_device_copy): New function.
   5984 	(gomp_copy_host2dev): Likewise.
   5985 	(gomp_copy_dev2host): Likewise.
   5986 	(gomp_free_device_memory): Likewise.
   5987 	(gomp_map_vars_existing): Adjust to call gomp_copy_host2dev.
   5988 	(gomp_map_pointer): Likewise.
   5989 	(gomp_map_vars): Adjust to call gomp_copy_host2dev, handle
   5990 	NULL value from alloc_func plugin hook.
   5991 	(gomp_unmap_tgt): Adjust to call gomp_free_device_memory.
   5992 	(gomp_copy_from_async): Adjust to call gomp_copy_dev2host.
   5993 	(gomp_unmap_vars): Likewise.
   5994 	(gomp_update): Adjust to call gomp_copy_dev2host and
   5995 	gomp_copy_host2dev functions.
   5996 	(gomp_unload_image_from_device): Handle false value from
   5997 	unload_image_func plugin hook.
   5998 	(gomp_init_device): Handle false value from init_device_func
   5999 	plugin hook.
   6000 	(gomp_exit_data): Adjust to call gomp_copy_dev2host.
   6001 	(omp_target_free): Adjust to call gomp_free_device_memory.
   6002 	(omp_target_memcpy): Handle return values from host2dev_func,
   6003 	dev2host_func, and dev2dev_func plugin hooks.
   6004 	(omp_target_memcpy_rect_worker): Likewise.
   6005 	(gomp_target_fini): Handle false value from fini_device_func
   6006 	plugin hook.
   6007 	* libgomp.h (struct gomp_device_descr): Adjust return type of
   6008 	init_device_func, fini_device_func, unload_image_func, free_func,
   6009 	dev2host_func,host2dev_func, and dev2dev_func plugin hooks to 'bool'.
   6010 	* oacc-init.c (acc_shutdown_1): Handle false value from
   6011 	fini_device_func plugin hook.
   6012 	* oacc-host.c (host_init_device): Change return type to bool.
   6013 	(host_fini_device): Likewise.
   6014 	(host_unload_image): Likewise.
   6015 	(host_free): Likewise.
   6016 	(host_dev2host): Likewise.
   6017 	(host_host2dev): Likewise.
   6018 	* oacc-mem.c (acc_free): Handle plugin hook fatal error case.
   6019 	(acc_memcpy_to_device): Likewise.
   6020 	(acc_memcpy_from_device): Likewise.
   6021 	(delete_copyout): Add libfnname parameter, handle free_func
   6022 	hook fatal error case.
   6023 	(acc_delete): Adjust delete_copyout call.
   6024 	(acc_copyout): Likewise.
   6025 	(update_dev_host): Move gomp_mutex_unlock to after
   6026 	host2dev/dev2host hook calls.
   6027 
   6028 	* plugin/plugin-hsa.c (hsa_warn): Adjust 'hsa_error' local variable
   6029 	to 'hsa_error_msg', for clarity.
   6030 	(hsa_fatal): Likewise.
   6031 	(hsa_error): New function.
   6032 	(init_hsa_context): Change return type to bool, adjust to return
   6033 	false on error.
   6034 	(GOMP_OFFLOAD_get_num_devices): Adjust to handle init_hsa_context
   6035 	return value.
   6036 	(GOMP_OFFLOAD_init_device): Change return type to bool, adjust to
   6037 	return false on error.
   6038 	(get_agent_info): Adjust to return NULL on error.
   6039 	(destroy_hsa_program): Change return type to bool, adjust to
   6040 	return false on error.
   6041 	(GOMP_OFFLOAD_load_image): Adjust to return -1 on error.
   6042 	(destroy_module): Change return type to bool, adjust to
   6043 	return false on error.
   6044 	(GOMP_OFFLOAD_unload_image): Likewise.
   6045 	(GOMP_OFFLOAD_fini_device): Likewise.
   6046 	(GOMP_OFFLOAD_alloc): Change to return NULL when called.
   6047 	(GOMP_OFFLOAD_free): Change to return false when called.
   6048 	(GOMP_OFFLOAD_dev2host): Likewise.
   6049 	(GOMP_OFFLOAD_host2dev): Likewise.
   6050 	(GOMP_OFFLOAD_dev2dev): Likewise.
   6051 
   6052 	* plugin/plugin-nvptx.c (CUDA_CALL_ERET): New convenience macro.
   6053 	(CUDA_CALL): Likewise.
   6054 	(CUDA_CALL_ASSERT): Likewise.
   6055 	(map_init): Change return type to bool, use CUDA_CALL* macros.
   6056 	(map_fini): Likewise.
   6057 	(init_streams_for_device): Change return type to bool, adjust
   6058 	call to map_init.
   6059 	(fini_streams_for_device): Change return type to bool, adjust
   6060 	call to map_fini.
   6061 	(select_stream_for_async): Release stream_lock before calls to
   6062 	GOMP_PLUGIN_fatal, adjust call to map_init.
   6063 	(nvptx_init): Use CUDA_CALL* macros.
   6064 	(nvptx_attach_host_thread_to_device): Change return type to bool,
   6065 	use CUDA_CALL* macros.
   6066 	(nvptx_open_device): Use CUDA_CALL* macros.
   6067 	(nvptx_close_device): Change return type to bool, use CUDA_CALL*
   6068 	macros.
   6069 	(nvptx_get_num_devices): Use CUDA_CALL* macros.
   6070 	(link_ptx): Change return type to bool, use CUDA_CALL* macros.
   6071 	(nvptx_exec): Use CUDA_CALL* macros.
   6072 	(nvptx_alloc): Use CUDA_CALL* macros.
   6073 	(nvptx_free): Change return type to bool, use CUDA_CALL* macros.
   6074 	(nvptx_host2dev): Likewise.
   6075 	(nvptx_dev2host): Likewise.
   6076 	(nvptx_wait): Use CUDA_CALL* macros.
   6077 	(nvptx_wait_async): Likewise.
   6078 	(nvptx_wait_all): Likewise.
   6079 	(nvptx_wait_all_async): Likewise.
   6080 	(nvptx_set_cuda_stream): Adjust order of stream_lock acquire,
   6081 	use CUDA_CALL* macros, adjust call to map_fini.
   6082 	(GOMP_OFFLOAD_init_device): Change return type to bool,
   6083 	adjust code accordingly.
   6084 	(GOMP_OFFLOAD_fini_device): Likewise.
   6085 	(GOMP_OFFLOAD_load_image): Adjust calls to
   6086 	nvptx_attach_host_thread_to_device/link_ptx to handle errors,
   6087 	use CUDA_CALL* macros.
   6088 	(GOMP_OFFLOAD_unload_image): Change return type to bool, adjust
   6089 	return code.
   6090 	(GOMP_OFFLOAD_alloc): Adjust calls to code to handle error return.
   6091 	(GOMP_OFFLOAD_free): Change return type to bool, adjust calls to
   6092 	handle error return.
   6093 	(GOMP_OFFLOAD_dev2host): Likewise.
   6094 	(GOMP_OFFLOAD_host2dev): Likewise.
   6095 	(GOMP_OFFLOAD_openacc_register_async_cleanup): Use CUDA_CALL* macros.
   6096 	(GOMP_OFFLOAD_openacc_create_thread_data): Likewise.
   6097 
   6098 2016-05-24  Cesar Philippidis  <cesar (a] codesourcery.com>
   6099 
   6100 	* oacc-mem.c (acc_malloc): Update handling of shared-memory targets.
   6101 	(acc_free): Likewise.
   6102 	(acc_memcpy_to_device): Likewise.
   6103 	(acc_memcpy_from_device): Likewise.
   6104 	(acc_deviceptr): Likewise.
   6105 	(acc_hostptr): Likewise.
   6106 	(acc_is_present): Likewise.
   6107 	(acc_map_data): Likewise.
   6108 	(acc_unmap_data): Likewise.
   6109 	(present_create_copy): Likewise.
   6110 	(delete_copyout): Likewise.
   6111 	(update_dev_host): Likewise.
   6112 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Remove xfail.
   6113 	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: New test.
   6114 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Adjust test.
   6115 	* testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise.
   6116 	* testsuite/libgomp.oacc-c-c++-common/enter_exit-lib.c: New test.
   6117 	* testsuite/libgomp.oacc-c-c++-common/lib-13.c: Adjust test so that
   6118 	it only runs on nvptx targets.
   6119 	* testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise.
   6120 	* testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise.
   6121 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   6122 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
   6123 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   6124 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
   6125 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
   6126 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
   6127 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   6128 	* testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise.
   6129 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   6130 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
   6131 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
   6132 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   6133 	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
   6134 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   6135 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
   6136 	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
   6137 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
   6138 	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
   6139 	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
   6140 	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
   6141 	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
   6142 
   6143 2016-05-23  Martin Jambor  <mjambor (a] suse.cz>
   6144 
   6145 	* testsuite/libgomp.hsa.c/switch-sbr-2.c: New test.
   6146 
   6147 2016-05-17  Chung-Lin Tang  <cltang (a] codesourcery.com>
   6148 
   6149 	* oacc-init.c (acc_init): Remove !cached_base_dev condition on call
   6150 	to gomp_init_targets_once.
   6151 	(acc_set_device_type): Remove !cached_base_dev condition on call to
   6152 	gomp_init_targets_once, move call to before acc_device_lock acquire,
   6153 	to avoid deadlock.
   6154 	(acc_get_device_num): Remove !cached_base_dev condition on call to
   6155 	gomp_init_targets_once.
   6156 	(acc_set_device_num): Likewise.
   6157 
   6158 2016-05-16  Martin Jambor  <mjambor (a] suse.cz>
   6159 
   6160 	* testsuite/libgomp.hsa.c/complex-align-2.c: New test.
   6161 
   6162 2016-05-02  Nathan Sidwell  <nathan (a] codesourcery.com>
   6163 
   6164 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust
   6165 	expected partitioning.
   6166 
   6167 2016-04-29  Cesar Philippidis  <cesar (a] codesourcery.com>
   6168 
   6169 	PR middle-end/70626
   6170 	* testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test.
   6171 	* testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New test.
   6172 	* testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test.
   6173 
   6174 2016-04-21  Alexander Monakov  <amonakov (a] ispras.ru>
   6175 
   6176 	* plugin/plugin-nvptx.c (map_fini): Make cuMemFreeHost error
   6177 	non-fatal.
   6178 
   6179 2016-04-19  Jakub Jelinek  <jakub (a] redhat.com>
   6180 
   6181 	PR middle-end/70680
   6182 	* testsuite/libgomp.c/pr70680-1.c: New test.
   6183 	* testsuite/libgomp.c/pr70680-2.c: New test.
   6184 
   6185 2016-04-14  Cesar Philippidis  <cesar (a] codesourcery.com>
   6186 
   6187 	* testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Don't
   6188 	pass parameter variables to subroutines.
   6189 
   6190 2016-04-14  Cesar Philippidis  <cesar (a] codesourcery.com>
   6191 
   6192 	PR middle-end/70643
   6193 	* testsuite/libgomp.oacc-fortran/pr70643.f90: New test.
   6194 
   6195 2016-04-13  Cesar Philippidis  <cesar (a] codesourcery.com>
   6196 
   6197 	PR testsuite/68242
   6198 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Adjust test.
   6199 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
   6200 
   6201 2016-04-12  Thomas Schwinge  <thomas (a] codesourcery.com>
   6202 
   6203 	* libgomp_g.h: Rename GOACC_parallel_keyd prototype to
   6204 	GOACC_parallel_keyed, restore GOACC_parallel prototype, new
   6205 	GOACC_declare prototype.
   6206 
   6207 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c:
   6208 	Merge this file, and...
   6209 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c:
   6210 	... this file, and...
   6211 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c:
   6212 	... this file, and...
   6213 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c:
   6214 	... this file, and...
   6215 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c:
   6216 	... this file, and...
   6217 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c:
   6218 	... this file, and...
   6219 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c:
   6220 	... this file, and...
   6221 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c:
   6222 	... this file, and...
   6223 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c:
   6224 	... this file, and...
   6225 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c:
   6226 	... this file, and...
   6227 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c:
   6228 	... this file, and...
   6229 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c:
   6230 	... this file, and...
   6231 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c:
   6232 	... this file into...
   6233 	* testsuite/libgomp.oacc-c-c++-common/reduction-7.c: ... this
   6234 	file.
   6235 
   6236 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c:
   6237 	Make failure observable.
   6238 
   6239 2016-04-12  Jakub Jelinek  <jakub (a] redhat.com>
   6240 
   6241 	* libgomp.h (struct gomp_target_task): Remove firstprivate_copies
   6242 	field.
   6243 	* target.c (gomp_target_fallback_firstprivate,
   6244 	gomp_target_unshare_firstprivate): Removed.
   6245 	(GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory
   6246 	before waiting for dependencies.
   6247 	(gomp_target_task_fn): Don't copy firstprivate vars here.
   6248 	* task.c (GOMP_PLUGIN_target_task_completion): Don't free
   6249 	firstprivate_copies here.
   6250 	(gomp_create_target_task): Don't initialize firstprivate_copies field.
   6251 	* testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of
   6252 	explicit/implicit firstprivate.
   6253 
   6254 2016-04-08  Cesar Philippidis  <cesar (a] codesourcery.com>
   6255 
   6256 	PR lto/70289
   6257 	PR ipa/70348
   6258 	PR tree-optimization/70373
   6259 	PR middle-end/70533
   6260 	PR middle-end/70534
   6261 	PR middle-end/70535
   6262 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: New
   6263 	test.
   6264 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: New
   6265 	test.
   6266 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: New
   6267 	test.
   6268 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: New
   6269 	test.
   6270 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: New
   6271 	test.
   6272 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: New
   6273 	test.
   6274 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: New
   6275 	test.
   6276 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: New
   6277 	test.
   6278 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: New
   6279 	test.
   6280 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: New test.
   6281 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: New test.
   6282 	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: New test.
   6283 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c: New
   6284 	test.
   6285 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: New
   6286 	test.
   6287 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c: New
   6288 	test.
   6289 	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: New
   6290 	test.
   6291 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Add test
   6292 	coverage.
   6293 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
   6294 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise.
   6295 	* testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: New test.
   6296 	* testsuite/libgomp.oacc-c-c++-common/pr70289.c: New test.
   6297 	* testsuite/libgomp.oacc-c-c++-common/pr70373.c: New test.
   6298 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Add test
   6299 	coverage.
   6300 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
   6301 	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
   6302 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
   6303 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
   6304 	* testsuite/libgomp.oacc-c-c++-common/reduction-6.c: New test.
   6305 	* testsuite/libgomp.oacc-c-c++-common/reduction.h: New test.
   6306 	* testsuite/libgomp.oacc-fortran/parallel-reduction.f90: New test.
   6307 	* testsuite/libgomp.oacc-fortran/pr70289.f90: New test.
   6308 	* testsuite/libgomp.oacc-fortran/reduction-1.f90: Add test coverage.
   6309 	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
   6310 	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
   6311 	* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
   6312 	* testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise.
   6313 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
   6314 	* testsuite/libgomp.oacc-fortran/reduction-7.f90: New test.
   6315 
   6316 2016-03-30  Thomas Schwinge  <thomas (a] codesourcery.com>
   6317 	    James Norris  <jnorris (a] codesourcery.com>
   6318 	    Nathan Sidwell  <nathan (a] codesourcery.com>
   6319 	    Julian Brown  <julian (a] codesourcery.com>
   6320 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   6321 	    Chung-Lin Tang  <cltang (a] codesourcery.com>
   6322 	    Tom de Vries  <tom (a] codesourcery.com>
   6323 
   6324 	* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Update.
   6325 	* testsuite/libgomp.oacc-c-c++-common/deviceptr-1.c: Likewise.
   6326 	* testsuite/libgomp.oacc-c-c++-common/if-1.c: Likewise.
   6327 	* testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Likewise.
   6328 	* testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise.
   6329 	* testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise.
   6330 	* testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise.
   6331 	* testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise.
   6332 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Likewise.
   6333 	XFAIL.
   6334 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Update.
   6335 	Incorporate...
   6336 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: ... this
   6337 	file.
   6338 	* testsuite/libgomp.oacc-c++/template-reduction.C: New file.
   6339 	* testsuite/libgomp.oacc-c-c++-common/gang-static-1.c: Likewise.
   6340 	* testsuite/libgomp.oacc-c-c++-common/gang-static-2.c: Likewise.
   6341 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-clauses.c:
   6342 	Likewise.
   6343 	* testsuite/libgomp.oacc-c-c++-common/private-variables.c:
   6344 	Likewise.
   6345 	* testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise.
   6346 	* testsuite/libgomp.oacc-c-c++-common/routine-1.c: Likewise.
   6347 	* testsuite/libgomp.oacc-c-c++-common/routine-4.c: Likewise.
   6348 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Likewise.
   6349 	* testsuite/libgomp.oacc-fortran/clauses-1.f90: Likewise.
   6350 	* testsuite/libgomp.oacc-fortran/default-1.f90: Likewise.
   6351 	* testsuite/libgomp.oacc-fortran/firstprivate-1.f90: Likewise.
   6352 	* testsuite/libgomp.oacc-fortran/gang-static-1.f90: Likewise.
   6353 	* testsuite/libgomp.oacc-fortran/if-1.f90: Likewise.
   6354 	* testsuite/libgomp.oacc-fortran/implicit-firstprivate-ref.f90:
   6355 	Likewise.
   6356 	* testsuite/libgomp.oacc-fortran/pr68813.f90: Likewise.
   6357 	* testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise.
   6358 	* testsuite/libgomp.oacc-c-c++-common/kernels-1.c: Merge this
   6359 	file...
   6360 	* testsuite/libgomp.oacc-c-c++-common/parallel-1.c: ..., and this
   6361 	file into...
   6362 	* testsuite/libgomp.oacc-c-c++-common/data-clauses.h: ... this new
   6363 	file.  Update.
   6364 	* testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels.c: New
   6365 	file.
   6366 	* testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel.c:
   6367 	Likewise.
   6368 	* testsuite/libgomp.oacc-c-c++-common/kernels-2.c: Rename to...
   6369 	* testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c:
   6370 	... this new file.  Update.
   6371 	* testsuite/libgomp.oacc-c-c++-common/parallel-2.c: Rename to...
   6372 	* testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c:
   6373 	... this new file.  Update.
   6374 	* testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: New
   6375 	file.  Incorporate...
   6376 	* testsuite/libgomp.oacc-c-c++-common/worker-single-1a.c: ... this
   6377 	file, and...
   6378 	* testsuite/libgomp.oacc-c-c++-common/worker-single-4.c: ... this
   6379 	file, and...
   6380 	* testsuite/libgomp.oacc-c-c++-common/worker-single-6.c: ... this
   6381 	file.
   6382 	* testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Remove file.
   6383 
   6384 2016-03-29  Thomas Schwinge  <thomas (a] codesourcery.com>
   6385 
   6386 	* testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call
   6387 	set-torture-options.
   6388 
   6389 2016-03-24  Thomas Schwinge  <thomas (a] codesourcery.com>
   6390 
   6391 	* testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use
   6392 	gcc-dg-runtest.
   6393 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   6394 	* testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: Specify
   6395 	-fno-builtin-acc_on_device instead of -O0.
   6396 	* testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: Skip for
   6397 	-O0.
   6398 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise.
   6399 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c:
   6400 	Likewise.
   6401 	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
   6402 	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
   6403 	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
   6404 	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
   6405 	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
   6406 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
   6407 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
   6408 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
   6409 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise.
   6410 	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
   6411 	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
   6412 	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
   6413 	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise.
   6414 	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
   6415 	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise.
   6416 	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise.
   6417 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise.
   6418 	* testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-2.c:
   6419 	Don't specify -O2.
   6420 	* testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-3.c:
   6421 	Likewise.
   6422 	* testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta.c:
   6423 	Likewise.
   6424 
   6425 2016-03-24  Martin Liska  <mliska (a] suse.cz>
   6426 
   6427 	* plugin/plugin-hsa.c (packet_store_release): New function
   6428 	that is taken from the HSA runtime manual.
   6429 	(GOMP_OFFLOAD_run): Use the function.
   6430 
   6431 2016-03-23  Jakub Jelinek  <jakub (a] redhat.com>
   6432 
   6433 	PR c++/70376
   6434 	* testsuite/libgomp.c++/pr70376.C: New test.
   6435 
   6436 2016-03-23  Tom de Vries  <tom (a] codesourcery.com>
   6437 
   6438 	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Add missing
   6439 	initialization of lresult and lvresult.
   6440 	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Same.
   6441 
   6442 2016-03-23  James Norris  <jnorris (a] codesourcery.com>
   6443 	    Daichi Fukuoka <dc-fukuoka (a] sgi.com>
   6444 
   6445 	PR libgomp/69414
   6446 	* oacc-mem.c (delete_copyout, update_dev_host): Fix device address.
   6447 	* testsuite/libgomp.oacc-c-c++-common/update-1.c: Additional tests.
   6448 	* testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise.
   6449 	* testsuite/libgomp.oacc-fortran/update-1.f90: New file.
   6450 
   6451 2016-03-23  Martin Liska  <mliska (a] suse.cz>
   6452 
   6453 	PR hsa/70337
   6454 	* plugin/plugin-hsa.c (GOMP_OFFLOAD_run): Copy shadow
   6455 	argument just in case a dispatched kernel uses that argument.
   6456 
   6457 2016-03-16  Thomas Schwinge  <thomas (a] codesourcery.com>
   6458 
   6459 	* testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Adjust to
   6460 	-ftree-parallelize-loops/-fopenacc changes.
   6461 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95:
   6462 	Likewise.
   6463 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95:
   6464 	Likewise.
   6465 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95:
   6466 	Likewise.
   6467 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95:
   6468 	Likewise.
   6469 	* testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Likewise.
   6470 	* testsuite/libgomp.oacc-fortran/kernels-loop.f95: Likewise.
   6471 
   6472 2016-03-13  Thomas Schwinge  <thomas (a] codesourcery.com>
   6473 
   6474 	* testsuite/lib/libgomp.exp (libgomp_init): Potentially append to
   6475 	always_ld_library_path the path to libgcc_s.
   6476 
   6477 2016-03-10  Cesar Philippidis  <cesar (a] codesourcery.com>
   6478 
   6479 	PR testsuite/70009
   6480 	* testsuite/libgomp.oacc-c-c++-common/vprop.c: Make test data signed.
   6481 
   6482 2016-03-09  Tom de Vries  <tom (a] codesourcery.com>
   6483 
   6484 	* testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: New test.
   6485 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95: Same.
   6486 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95:
   6487 	Same.
   6488 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95: Same.
   6489 	* testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95: Same.
   6490 	* testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Same.
   6491 	* testsuite/libgomp.oacc-fortran/kernels-loop.f95: Same.
   6492 
   6493 2016-03-07  Martin Jambor  <mjambor (a] suse.cz>
   6494 
   6495 	* testsuite/lib/libgomp.exp
   6496 	(check_effective_target_hsa_offloading_selected_nocache): New.
   6497 	(check_effective_target_hsa_offloading_selected): Likewise.
   6498 	* testsuite/libgomp.hsa.c/c.exp: Likewise.
   6499 	* testsuite/libgomp.hsa.c/alloca-1.c: Likewise.
   6500 	* testsuite/libgomp.hsa.c/bitfield-1.c: Likewise.
   6501 	* testsuite/libgomp.hsa.c/builtins-1.c: Likewise.
   6502 	* testsuite/libgomp.hsa.c/complex-1.c: Likewise.
   6503 	* testsuite/libgomp.hsa.c/formal-actual-args-1.c: Likewise.
   6504 	* testsuite/libgomp.hsa.c/function-call-1.c: Likewise.
   6505 	* testsuite/libgomp.hsa.c/get-level-1.c: Likewise.
   6506 	* testsuite/libgomp.hsa.c/gridify-1.c: Likewise.
   6507 	* testsuite/libgomp.hsa.c/gridify-2.c: Likewise.
   6508 	* testsuite/libgomp.hsa.c/gridify-3.c: Likewise.
   6509 	* testsuite/libgomp.hsa.c/gridify-4.c: Likewise.
   6510 	* testsuite/libgomp.hsa.c/memory-operations-1.c: Likewise.
   6511 	* testsuite/libgomp.hsa.c/pr69568.c: Likewise.
   6512 	* testsuite/libgomp.hsa.c/rotate-1.c: Likewise.
   6513 	* testsuite/libgomp.hsa.c/switch-1.c: Likewise.
   6514 	* testsuite/libgomp.hsa.c/switch-branch-1.c: Likewise.
   6515 
   6516 2016-03-07  Martin Jambor  <mjambor (a] suse.cz>
   6517 
   6518 	* testsuite/libgomp.c/examples-4/async_target-2.c: Only run on
   6519 	non-shared memory accelerators.
   6520 	* testsuite/libgomp.c/examples-4/device-1.c: Likewise.
   6521 	* testsuite/libgomp.c/examples-4/target-5.c: Likewise.
   6522 	* testsuite/libgomp.c/examples-4/target_data-6.c: Likewise.
   6523 	* testsuite/libgomp.c/examples-4/target_data-7.c: Likewise.
   6524 	* testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise.
   6525 	* testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise.
   6526 	* testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise.
   6527 	* testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise.
   6528 	* testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise.
   6529 
   6530 2016-03-07  Martin Jambor  <mjambor (a] suse.cz>
   6531 
   6532 	* testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to
   6533 	ALWAYS_CFLAGS.
   6534 
   6535 2016-03-02  Jakub Jelinek  <jakub (a] redhat.com>
   6536 
   6537 	PR libgomp/69555
   6538 	* testsuite/libgomp.c++/pr69555-1.C: New test.
   6539 	* testsuite/libgomp.c++/pr69555-2.C: New test.
   6540 
   6541 2016-02-26  Keith McDaniel <k.allen.mcdaniel (a] gmail.com>
   6542 	    Martin Jambor  <mjambor (a] suse.cz>
   6543 
   6544 	* testsuite/lib/libgomp.exp
   6545 	(check_effective_target_offload_device_shared_as): New proc.
   6546 	* testsuite/libgomp.c++/declare_target-1.C: New test.
   6547 
   6548 2016-02-25  Ilya Verbin  <ilya.verbin (a] intel.com>
   6549 
   6550 	PR driver/68463
   6551 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims-2.c: Remove.
   6552 
   6553 2016-02-23  Thomas Schwinge  <thomas (a] codesourcery.com>
   6554 
   6555 	* oacc-parallel.c (GOACC_parallel_keyed): Initialize dims.
   6556 	* plugin/plugin-nvptx.c (nvptx_exec): Provide default values for
   6557 	dims.
   6558 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Adjust to
   6559 	-ftree-parallelize-loops/-fopenacc changes.
   6560 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-3.c: Likewise.
   6561 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-2.c:
   6562 	Likewise.
   6563 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-3.c:
   6564 	Likewise.
   6565 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-4.c:
   6566 	Likewise.
   6567 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-5.c:
   6568 	Likewise.
   6569 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-6.c:
   6570 	Likewise.
   6571 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq.c:
   6572 	Likewise.
   6573 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-collapse.c:
   6574 	Likewise.
   6575 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Likewise.
   6576 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-mod-not-zero.c:
   6577 	Likewise.
   6578 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-n.c: Likewise.
   6579 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-nest.c:
   6580 	Likewise.
   6581 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop.c: Likewise.
   6582 	* testsuite/libgomp.oacc-c-c++-common/kernels-reduction.c:
   6583 	Likewise.
   6584 
   6585 2016-02-22  Cesar Philippidis  <cesar (a] codesourcery.com>
   6586 
   6587 	* testsuite/libgomp.oacc-c-c++-common/vprop.c: New test.
   6588 
   6589 2016-02-19  Jakub Jelinek  <jakub (a] redhat.com>
   6590 
   6591 	PR driver/69805
   6592 	* testsuite/libgomp.c/pr69805.c: New test.
   6593 
   6594 2016-02-16  Tom de Vries  <tom (a] codesourcery.com>
   6595 
   6596 	PR lto/67709
   6597 	* testsuite/libgomp.fortran/declare-simd-4.f90: New test.
   6598 
   6599 2016-02-09  Tom de Vries  <tom (a] codesourcery.com>
   6600 
   6601 	PR tree-optimization/69599
   6602 	* testsuite/libgomp.c/omp-nested-3.c: New test.
   6603 	* testsuite/libgomp.c/pr46032-2.c: New test.
   6604 	* testsuite/libgomp.oacc-c-c++-common/kernels-2.c: New test.
   6605 	* testsuite/libgomp.oacc-c-c++-common/parallel-2.c: New test.
   6606 
   6607 2016-02-09  Tom de Vries  <tom (a] codesourcery.com>
   6608 
   6609 	PR lto/69707
   6610 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims-2.c: New test.
   6611 
   6612 2016-02-02  Alexander Monakov  <amonakov (a] ispras.ru>
   6613 
   6614 	* testsuite/libgomp.c/target-31.c: Fix testcase.
   6615 
   6616 2016-02-02  Alexander Monakov  <amonakov (a] ispras.ru>
   6617 
   6618 	* testsuite/libgomp.c/examples-4/teams-3.c: Add missing reduction
   6619 	clause.
   6620 	* testsuite/libgomp.c/examples-4/teams-4.c: Likewise.
   6621 	* testsuite/libgomp.fortran/examples-4/teams-3.f90: Add missing
   6622 	reduction and map clauses.
   6623 	* testsuite/libgomp.fortran/examples-4/teams-4.f90: Likewise.
   6624 
   6625 2016-02-02  James Norris  <jnorris (a] codesourcery.com>
   6626 
   6627 	* testsuite/libgomp.oacc-c-c++-common/declare-4.c: Fix clause.
   6628 
   6629 2016-02-02  Thomas Schwinge  <thomas (a] codesourcery.com>
   6630 
   6631 	* libgomp.map (GOACC_2.0): Remove GOACC_host_data.
   6632 	* oacc-parallel.c (GOACC_host_data): Remove function definition.
   6633 
   6634 	* testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test
   6635 	cases.
   6636 
   6637 	* plugin/configfrag.ac (HSA_KMT_LIB, HSA_KMT_LDFLAGS): New
   6638 	variables.
   6639 	* testsuite/libgomp-test-support.exp.in (hsa_runtime_lib)
   6640 	(hsa_kmt_lib): Set variables.
   6641 	* testsuite/lib/libgomp.exp (libgomp_init): Use them to amend
   6642 	always_ld_library_path.
   6643 	* Makefile.in: Regenerate.
   6644 	* configure: Likewise.
   6645 	* testsuite/Makefile.in: Likewise.
   6646 
   6647 	* plugin/configfrag.ac (offload_additional_options)
   6648 	(offload_additional_lib_paths): Don't amend for hsa offloading.
   6649 	* configure: Regenerate.
   6650 
   6651 	* plugin/configfrag.ac: Don't configure for offloading target if
   6652 	we don't build the corresponding plugin.
   6653 	* configure: Regenerate.
   6654 
   6655 2016-02-01  Nathan Sidwell  <nathan (a] codesourcery.com>
   6656 
   6657 	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: New.
   6658 	* testsuite/libgomp.oacc-fortran/routine-7.f90: Serialize loop.
   6659 
   6660 2016-01-26  Tom de Vries  <tom (a] codesourcery.com>
   6661 
   6662 	PR tree-optimization/69110
   6663 	* testsuite/libgomp.c/pr69110.c: New test.
   6664 
   6665 2016-01-25  Richard Biener  <rguenther (a] suse.de>
   6666 
   6667 	PR lto/69393
   6668 	* testsuite/libgomp.c++/pr69393.C: New testcase.
   6669 
   6670 2016-01-22  Ilya Verbin  <ilya.verbin (a] intel.com>
   6671 
   6672 	* target.c (gomp_get_target_fn_addr): Allow host fallback if target
   6673 	function wasn't mapped to the device with non-shared memory.
   6674 
   6675 2016-01-20  Ilya Verbin  <ilya.verbin (a] intel.com>
   6676 
   6677 	* task.c (gomp_create_target_task): Set firstprivate_copies to NULL.
   6678 
   6679 2016-01-19  Martin Jambor  <mjambor (a] suse.cz>
   6680 	    Martin Liska  <mliska (a] suse.cz>
   6681 
   6682 	* plugin/Makefrag.am: Add HSA plugin requirements.
   6683 	* plugin/configfrag.ac (HSA_RUNTIME_INCLUDE): New variable.
   6684 	(HSA_RUNTIME_LIB): Likewise.
   6685 	(HSA_RUNTIME_CPPFLAGS): Likewise.
   6686 	(HSA_RUNTIME_INCLUDE): New substitution.
   6687 	(HSA_RUNTIME_LIB): Likewise.
   6688 	(HSA_RUNTIME_LDFLAGS): Likewise.
   6689 	(hsa-runtime): New configure option.
   6690 	(hsa-runtime-include): Likewise.
   6691 	(hsa-runtime-lib): Likewise.
   6692 	(PLUGIN_HSA): New substitution variable.
   6693 	Fill HSA_RUNTIME_INCLUDE and HSA_RUNTIME_LIB according to the new
   6694 	configure options.
   6695 	(PLUGIN_HSA_CPPFLAGS): Likewise.
   6696 	(PLUGIN_HSA_LDFLAGS): Likewise.
   6697 	(PLUGIN_HSA_LIBS): Likewise.
   6698 	Check that we have access to HSA run-time.
   6699 	* libgomp-plugin.h (offload_target_type): New element
   6700 	OFFLOAD_TARGET_TYPE_HSA.
   6701 	* libgomp.h (gomp_target_task): New fields firstprivate_copies and
   6702 	args.
   6703 	(bool gomp_create_target_task): Updated.
   6704 	(gomp_device_descr): Extra parameter of run_func and async_run_func,
   6705 	new field can_run_func.
   6706 	* libgomp_g.h (GOMP_target_ext): Update prototype.
   6707 	* oacc-host.c (host_run): Added a new parameter args.
   6708 	* target.c (calculate_firstprivate_requirements): New function.
   6709 	(copy_firstprivate_data): Likewise.
   6710 	(gomp_target_fallback_firstprivate): Use them.
   6711 	(gomp_target_unshare_firstprivate): New function.
   6712 	(gomp_get_target_fn_addr): Allow returning NULL for shared memory
   6713 	devices.
   6714 	(GOMP_target): Do host fallback for all shared memory devices.  Do not
   6715 	pass any args to plugins.
   6716 	(GOMP_target_ext): Introduce device-specific argument parameter args.
   6717 	Allow host fallback if device shares memory.  Do not remap data if
   6718 	device has shared memory.
   6719 	(gomp_target_task_fn): Likewise.  Also treat shared memory devices
   6720 	like host fallback for mappings.
   6721 	(GOMP_target_data): Treat shared memory devices like host fallback.
   6722 	(GOMP_target_data_ext): Likewise.
   6723 	(GOMP_target_update): Likewise.
   6724 	(GOMP_target_update_ext): Likewise.  Also pass NULL as args to
   6725 	gomp_create_target_task.
   6726 	(GOMP_target_enter_exit_data): Likewise.
   6727 	(omp_target_alloc): Treat shared memory devices like host fallback.
   6728 	(omp_target_free): Likewise.
   6729 	(omp_target_is_present): Likewise.
   6730 	(omp_target_memcpy): Likewise.
   6731 	(omp_target_memcpy_rect): Likewise.
   6732 	(omp_target_associate_ptr): Likewise.
   6733 	(gomp_load_plugin_for_device): Also load can_run.
   6734 	* task.c (GOMP_PLUGIN_target_task_completion): Free
   6735 	firstprivate_copies.
   6736 	(gomp_create_target_task): Accept new argument args and store it to
   6737 	ttask.
   6738 	* plugin/plugin-hsa.c: New file.
   6739 
   6740 2016-01-18  Tom de Vries  <tom (a] codesourcery.com>
   6741 
   6742 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: New test.
   6743 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-3.c: Same.
   6744 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-2.c: Same.
   6745 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-3.c: Same.
   6746 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-4.c: Same.
   6747 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-5.c: Same.
   6748 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-6.c: Same.
   6749 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq.c: Same.
   6750 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-collapse.c: Same.
   6751 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c: Same.
   6752 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c:
   6753 	Same.
   6754 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c:
   6755 	Same.
   6756 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c: Same.
   6757 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c: Same.
   6758 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Same.
   6759 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-mod-not-zero.c: Same.
   6760 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-n.c: Same.
   6761 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-nest.c: Same.
   6762 	* testsuite/libgomp.oacc-c-c++-common/kernels-loop.c: Same.
   6763 	* testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c:
   6764 	Same.
   6765 	* testsuite/libgomp.oacc-c-c++-common/kernels-reduction.c: Same.
   6766 
   6767 2016-01-15  Jakub Jelinek  <jakub (a] redhat.com>
   6768 
   6769 	* task.c (GOMP_PLUGIN_target_task_completion): Add missing return.
   6770 
   6771 2016-01-15  Cesar Philippidis  <cesar (a] codesourcery.com>
   6772 
   6773 	* testsuite/libgomp.oacc-fortran/kernels-data.f90: New test.
   6774 
   6775 2016-01-12  James Norris  <jnorris (a] codesourcery.com>
   6776 
   6777 	* libgomp.texi: Updates for OpenACC.
   6778 
   6779 2016-01-11  Alexander Monakov  <amonakov (a] ispras.ru>
   6780 
   6781 	* plugin/plugin-nvptx.c (link_ptx): Do not set CU_JIT_TARGET.
   6782 
   6783 2016-01-07  H.J. Lu  <hongjiu.lu (a] intel.com>
   6784 
   6785 	PR fortran/66680
   6786 	* testsuite/libgomp.fortran/pr66680.f90: New test.
   6787 
   6788 2016-01-07  Jakub Jelinek  <jakub (a] redhat.com>
   6789 
   6790 	PR middle-end/68960
   6791 	* testsuite/libgomp.c/pr68960.c: New test.
   6792 
   6793 2016-01-06  Nathan Sidwell  <nathan (a] acm.org>
   6794 
   6795 	* openacc.h (acc_on_device): Add routine pragma for C++ wrapper.
   6796 	* testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New.
   6797 
   6798 2016-01-04  Jakub Jelinek  <jakub (a] redhat.com>
   6799 
   6800 	Update copyright years.
   6801 
   6802 	* libgomp.texi: Bump @copying's copyright year.
   6803 
   6804 2015-12-31  Nathan Sidwell  <nathan (a] acm.org>
   6805 
   6806 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Correct
   6807 	dg-additional-options syntax.
   6808 	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
   6809 	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
   6810 	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise.
   6811 	* testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
   6812 	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
   6813 	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise.
   6814 	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
   6815 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise.
   6816 	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise.
   6817 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise.
   6818 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
   6819 	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
   6820 	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
   6821 	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
   6822 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
   6823 	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
   6824 	* testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
   6825 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
   6826 
   6827 2015-12-15  Ilya Verbin  <ilya.verbin (a] intel.com>
   6828 
   6829 	* libgomp.h (REFCOUNT_LINK): Define.
   6830 	(struct splay_tree_key_s): Add link_key.
   6831 	* target.c (gomp_map_vars): Treat REFCOUNT_LINK objects as not mapped.
   6832 	Replace target address of the pointer with target address of newly
   6833 	mapped object in the splay tree.  Set link pointer on target to the
   6834 	device address of the mapped object.
   6835 	(gomp_unmap_vars): Restore target address of the pointer in the splay
   6836 	tree for REFCOUNT_LINK objects after unmapping.
   6837 	(gomp_load_image_to_device): Set refcount to REFCOUNT_LINK for "omp
   6838 	declare target link" objects.
   6839 	(gomp_unload_image_from_device): Replace j with i.  Force unmap of all
   6840 	"omp declare target link" objects, which were mapped for the image.
   6841 	(gomp_exit_data): Restore target address of the pointer in the splay
   6842 	tree for REFCOUNT_LINK objects after unmapping.
   6843 	* testsuite/libgomp.c/target-link-1.c: New file.
   6844 
   6845 2015-12-14  Ilya Verbin  <ilya.verbin (a] intel.com>
   6846 
   6847 	* libgomp.h (gomp_device_state): New enum.
   6848 	(struct gomp_device_descr): Replace is_initialized with state.
   6849 	(gomp_fini_device): Remove declaration.
   6850 	* oacc-host.c (host_dispatch): Use state instead of is_initialized.
   6851 	* oacc-init.c (acc_init_1): Use state instead of is_initialized.
   6852 	(acc_shutdown_1): Likewise.  Inline gomp_fini_device.
   6853 	(acc_set_device_type): Use state instead of is_initialized.
   6854 	(acc_set_device_num): Likewise.
   6855 	* target.c (resolve_device): Use state instead of is_initialized.
   6856 	Do not initialize finalized device.
   6857 	(gomp_map_vars): Do nothing if device is finalized.
   6858 	(gomp_unmap_vars): Likewise.
   6859 	(gomp_update): Likewise.
   6860 	(GOMP_offload_register_ver): Use state instead of is_initialized.
   6861 	(GOMP_offload_unregister_ver): Likewise.
   6862 	(gomp_init_device): Likewise.
   6863 	(gomp_unload_device): Likewise.
   6864 	(gomp_fini_device): Remove.
   6865 	(gomp_get_target_fn_addr): Do nothing if device is finalized.
   6866 	(GOMP_target): Go to host fallback if device is finalized.
   6867 	(GOMP_target_ext): Likewise.
   6868 	(gomp_exit_data): Do nothing if device is finalized.
   6869 	(gomp_target_task_fn): Go to host fallback if device is finalized.
   6870 	(gomp_target_fini): New static function.
   6871 	(gomp_target_init): Use state instead of is_initialized.
   6872 	Call gomp_target_fini at exit.
   6873 
   6874 2015-12-09  Tom de Vries  <tom (a] codesourcery.com>
   6875 
   6876 	PR tree-optimization/68716
   6877 	* testsuite/libgomp.c/omp-nested-2.c: New test.
   6878 
   6879 2015-12-02  Thomas Schwinge  <thomas (a] codesourcery.com>
   6880 
   6881 	* testsuite/libgomp.oacc-c-c++-common/host_data-2.c: Restrict to
   6882 	target openacc_nvidia_accel_selected.
   6883 	* testsuite/libgomp.oacc-c-c++-common/host_data-4.c: Likewise.
   6884 	* testsuite/libgomp.oacc-c-c++-common/host_data-5.c: Likewise.
   6885 	* testsuite/libgomp.oacc-c-c++-common/host_data-3.c: Remove file.
   6886 	* testsuite/libgomp.oacc-c-c++-common/host_data-6.c: Remove file.
   6887 
   6888 2015-12-01  Julian Brown  <julian (a] codesourcery.com>
   6889 	    James Norris  <James_Norris (a] mentor.com>
   6890 
   6891 	* oacc-parallel.c (GOACC_host_data): New function.
   6892 	* libgomp.map (GOACC_host_data): Add to GOACC_2.0.1.
   6893 	* testsuite/libgomp.oacc-c-c++-common/host_data-1.c: New test.
   6894 	* testsuite/libgomp.oacc-c-c++-common/host_data-2.c: New test.
   6895 	* testsuite/libgomp.oacc-c-c++-common/host_data-3.c: New test.
   6896 	* testsuite/libgomp.oacc-c-c++-common/host_data-4.c: New test.
   6897 	* testsuite/libgomp.oacc-c-c++-common/host_data-5.c: New test.
   6898 	* testsuite/libgomp.oacc-c-c++-common/host_data-6.c: New test.
   6899 
   6900 2015-11-30  James Norris  <jnorris (a] codesourcery.com>
   6901 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   6902 
   6903 	libgomp/
   6904 	* libgomp.oacc-fortran/routine-5.f90: New test.
   6905 	* libgomp.oacc-fortran/routine-7.f90: New test.
   6906 	* libgomp.oacc-fortran/routine-9.f90: New test.
   6907 
   6908 2015-11-30  Tom de Vries  <tom (a] codesourcery.com>
   6909 
   6910 	PR tree-optimization/46032
   6911 	* testsuite/libgomp.c/pr46032.c: New test.
   6912 
   6913 2015-11-27  Jakub Jelinek  <jakub (a] redhat.com>
   6914 
   6915 	PR libgomp/68579
   6916 	* task.c (gomp_task_run_post_handle_depend_hash): New forward decl.
   6917 	(gomp_create_target_task): Call it before freeing
   6918 	GOMP_TARGET_TASK_DATA tasks.
   6919 
   6920 	PR c/63326
   6921 	* testsuite/libgomp.c/cancel-parallel-2.c (foo): Add semicolon
   6922 	in between case label and OpenMP standalone directives.
   6923 	* testsuite/libgomp.c++/cancel-parallel-2.C (foo): Likewise.
   6924 
   6925 2015-11-26  David Edelsohn  <dje.gcc (a] gmail.com>
   6926 
   6927 	* configure: Regenerate.
   6928 
   6929 2015-11-26  Jakub Jelinek  <jakub (a] redhat.com>
   6930 
   6931 	* testsuite/libgomp.c/target-35.c: New test.
   6932 
   6933 2015-11-22  James Norris  <jnorris (a] codesourcery.com>
   6934 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   6935 
   6936 	* testsuite/libgomp.oacc-fortran/declare-1.f90: New test.
   6937 	* testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise.
   6938 	* testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise.
   6939 	* testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise.
   6940 	* testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise.
   6941 
   6942 2015-11-20  Jakub Jelinek  <jakub (a] redhat.com>
   6943 
   6944 	PR middle-end/68221
   6945 	* testsuite/libgomp.c/reduction-11.c: Remove xfail.
   6946 	* testsuite/libgomp.c/reduction-12.c: Likewise.
   6947 	* testsuite/libgomp.c++/reduction-11.C: Likewise.
   6948 	* testsuite/libgomp.c++/reduction-12.C: Likewise.
   6949 
   6950 2015-11-19  Nathan Sidwell  <nathan (a] codesourcery.com>
   6951 
   6952 	* libgomp.oacc-c-c++-common/reduction-dbl.c: New.
   6953 	* libgomp.oacc-c-c++-common/reduction-flt.c: New.
   6954 	* libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Use typedef.
   6955 	* libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Use typedef.
   6956 	* libgomp.oacc-c-c++-common/reduction-2.c: Uncomment broken tests
   6957 	and fix.
   6958 	* libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
   6959 	* libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
   6960 
   6961 2015-11-18  Nathan Sidwell  <nathan (a] codesourcery.com>
   6962 
   6963 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Add
   6964 	worker & gang cases.
   6965 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise.
   6966 
   6967 2015-11-17  Cesar Philippidis  <cesar (a] codesourcery.com>
   6968 
   6969 	* config/nvptx/priority_queue.c: New file.
   6970 
   6971 2015-11-14  Jakub Jelinek  <jakub (a] redhat.com>
   6972 
   6973 	* libgomp.texi: Update references from OpenMP 4.0 to OpenMP 4.5
   6974 	sections.
   6975 
   6976 2015-11-14  Jakub Jelinek  <jakub (a] redhat.com>
   6977 	    Aldy Hernandez  <aldyh (a] redhat.com>
   6978 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   6979 
   6980 	* ordered.c (gomp_doacross_init, GOMP_doacross_post,
   6981 	GOMP_doacross_wait, gomp_doacross_ull_init, GOMP_doacross_ull_post,
   6982 	GOMP_doacross_ull_wait): For GFS_GUIDED don't divide number of
   6983 	iterators or IV by chunk size.
   6984 	* parallel.c (gomp_resolve_num_threads): Don't assume that
   6985 	if thr->ts.team is non-NULL, then pool must be non-NULL.
   6986 	* libgomp-plugin.h (GOMP_PLUGIN_target_task_completion): Declare.
   6987 	* libgomp.map (GOMP_PLUGIN_1.1): New symbol version, export
   6988 	GOMP_PLUGIN_target_task_completion.
   6989 	* Makefile.am (libgomp_la_SOURCES): Add priority_queue.c.
   6990 	* Makefile.in: Regenerate.
   6991 	* libgomp.h: Shuffle prototypes and forward definitions around so
   6992 	priority queues can be defined.
   6993 	(enum gomp_task_kind): Add GOMP_TASK_ASYNC_RUNNING.
   6994 	(enum gomp_target_task_state): New enum.
   6995 	(struct gomp_target_task): Add state, tgt, task and team fields.
   6996 	(gomp_create_target_task): Change return type to bool, add
   6997 	state argument.
   6998 	(gomp_target_task_fn): Change return type to bool.
   6999 	(struct gomp_device_descr): Add async_run_func.
   7000 	(struct gomp_task): Remove children, next_child, prev_child,
   7001 	next_queue, prev_queue, next_taskgroup, prev_taskgroup.
   7002 	Add pnode field.
   7003 	(struct gomp_taskgroup): Remove children.
   7004 	Add taskgroup_queue.
   7005 	(struct gomp_team): Change task_queue type to a priority queue.
   7006 	(splay_compare): Define inline.
   7007 	(priority_queue_offset): New.
   7008 	(priority_node_to_task): New.
   7009 	(task_to_priority_node): New.
   7010 	* oacc-mem.c: Do not include splay-tree.h.
   7011 	* priority_queue.c: New file.
   7012 	* priority_queue.h: New file.
   7013 	* splay-tree.c: Do not include splay-tree.h.
   7014 	(splay_tree_foreach_internal): New.
   7015 	(splay_tree_foreach): New.
   7016 	* splay-tree.h: Become re-entrant if splay_tree_prefix is defined.
   7017 	(splay_tree_callback): Define typedef.
   7018 	* target.c (splay_compare): Move to libgomp.h.
   7019 	(GOMP_target): Don't adjust *thr in any way around running offloaded
   7020 	task.
   7021 	(GOMP_target_ext): Likewise.  Handle target nowait.
   7022 	(GOMP_target_update_ext, GOMP_target_enter_exit_data): Check
   7023 	return value from gomp_create_target_task, if false, fallthrough
   7024 	as if no dependencies exist.
   7025 	(gomp_target_task_fn): Change return type to bool, return true
   7026 	if the task should have another part scheduled later.  Handle
   7027 	target nowait.
   7028 	(gomp_load_plugin_for_device): Initialize async_run.
   7029 	* task.c (gomp_init_task): Initialize children_queue.
   7030 	(gomp_clear_parent_in_list): New.
   7031 	(gomp_clear_parent_in_tree): New.
   7032 	(gomp_clear_parent): Handle priorities.
   7033 	(GOMP_task): Likewise.
   7034 	(priority_queue_move_task_first,
   7035 	gomp_target_task_completion, GOMP_PLUGIN_target_task_completion):
   7036 	New functions.
   7037 	(gomp_create_target_task): Use priority queues.  Change return type
   7038 	to bool, add state argument, return false if for async
   7039 	{{enter,exit} data,update} constructs no dependencies need to be
   7040 	waited for, handle target nowait.  Set task->fn to NULL instead of
   7041 	gomp_target_task_fn.
   7042 	(verify_children_queue): Remove.
   7043 	(priority_list_upgrade_task): New.
   7044 	(priority_queue_upgrade_task): New.
   7045 	(verify_task_queue): Remove.
   7046 	(priority_list_downgrade_task): New.
   7047 	(priority_queue_downgrade_task): New.
   7048 	(gomp_task_run_pre): Use priority queues.
   7049 	Abstract code out to priority_queue_downgrade_task.
   7050 	(gomp_task_run_post_handle_dependers): Use priority queues.
   7051 	(gomp_task_run_post_remove_parent): Likewise.
   7052 	(gomp_task_run_post_remove_taskgroup): Likewise.
   7053 	(gomp_barrier_handle_tasks): Likewise.  Handle target nowait target
   7054 	tasks specially.
   7055 	(GOMP_taskwait): Likewise.
   7056 	(gomp_task_maybe_wait_for_dependencies): Likewise.  Abstract code to
   7057 	priority-queue_upgrade_task.
   7058 	(GOMP_taskgroup_start): Use priority queues.
   7059 	(GOMP_taskgroup_end): Likewise.  Handle target nowait target tasks
   7060 	specially.  If taskgroup is NULL, and thr->ts.level is 0, act as a
   7061 	barrier.
   7062 	* taskloop.c (GOMP_taskloop): Handle priorities.
   7063 	* team.c (gomp_new_team): Call priority_queue_init.
   7064 	(free_team): Call priority_queue_free.
   7065 	(gomp_free_thread): Call gomp_team_end if thr->ts.team is artificial
   7066 	team created for target nowait in implicit parallel region.
   7067 	(gomp_team_start): For nested check, test thr->ts.level instead of
   7068 	thr->ts.team != NULL.
   7069 	* testsuite/libgomp.c/doacross-3.c: New test.
   7070 	* testsuite/libgomp.c/ordered-5.c: New test.
   7071 	* testsuite/libgomp.c/priority.c: New test.
   7072 	* testsuite/libgomp.c/target-31.c: New test.
   7073 	* testsuite/libgomp.c/target-32.c: New test.
   7074 	* testsuite/libgomp.c/target-33.c: New test.
   7075 	* testsuite/libgomp.c/target-34.c: New test.
   7076 
   7077 2015-11-13  Nathan Sidwell  <nathan (a] codesourcery.com>
   7078 
   7079 	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: New.
   7080 
   7081 	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Sequential
   7082 	loop is sequential.
   7083 
   7084 2015-11-13  Nathan Sidwell  <nathan (a] codesourcery.com>
   7085 
   7086 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: New.
   7087 	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: New.
   7088 
   7089 2015-11-12  James Norris  <jnorris (a] codesourcery.com>
   7090 	    Joseph Myers  <joseph (a] codesourcery.com>
   7091 
   7092 	* libgomp.map (GOACC_2.0.1): Export GOACC_declare.
   7093 	* oacc-parallel.c (GOACC_declare): New function.
   7094 	* testsuite/libgomp.oacc-c-c++-common/declare-1.c: New test.
   7095 	* testsuite/libgomp.oacc-c-c++-common/declare-2.c: Likewise.
   7096 	* testsuite/libgomp.oacc-c-c++-common/declare-4.c: Likewise.
   7097 	* testsuite/libgomp.oacc-c-c++-common/declare-5.c: Likewise.
   7098 	* testsuite/libgomp.oacc-c++/declare-1.C: Likewise.
   7099 
   7100 2015-11-12  Nathan Sidwell  <nathan (a] codesourcery.com>
   7101 
   7102 	* testsuite/libgomp.oacc-c-c++-common/default-1.c: New.
   7103 
   7104 2015-11-1  Nathan Sidwell  <nathan (a] codesourcery.com>
   7105 
   7106 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: New.
   7107 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: New.
   7108 
   7109 2015-11-09  Nathan Sidwell  <nathan (a] codesourcery.com>
   7110 
   7111 	* testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Remove
   7112 	inadvertent commit.
   7113 
   7114 2015-11-09  Nathan Sidwell  <nathan (a] codesourcery.com>
   7115 
   7116 	* testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: New.
   7117 	* testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: New.
   7118 	* testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: New.
   7119 	* testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: New.
   7120 	* testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: New.
   7121 
   7122 2015-11-06  Thomas Schwinge  <thomas (a] codesourcery.com>
   7123 
   7124 	* testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: XFAIL.
   7125 	* testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise.
   7126 
   7127 2015-11-05  Jakub Jelinek  <jakub (a] redhat.com>
   7128 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   7129 
   7130 	* libgomp_g.h (GOMP_loop_nonmonotonic_dynamic_next,
   7131 	GOMP_loop_nonmonotonic_dynamic_start,
   7132 	GOMP_loop_nonmonotonic_guided_next,
   7133 	GOMP_loop_nonmonotonic_guided_start,
   7134 	GOMP_loop_ull_nonmonotonic_dynamic_next,
   7135 	GOMP_loop_ull_nonmonotonic_dynamic_start,
   7136 	GOMP_loop_ull_nonmonotonic_guided_next,
   7137 	GOMP_loop_ull_nonmonotonic_guided_start,
   7138 	GOMP_parallel_loop_nonmonotonic_dynamic,
   7139 	GOMP_parallel_loop_nonmonotonic_guided): New prototypes.
   7140 	(GOMP_target_41): Renamed to ...
   7141 	(GOMP_target_ext): ... this.  Add num_teams and thread_limit
   7142 	arguments.
   7143 	(GOMP_target_data_41): Renamed to ...
   7144 	(GOMP_target_data_ext): ... this.
   7145 	(GOMP_target_update_41): Renamed to ...
   7146 	(GOMP_target_update_ext): ... this.
   7147 	* libgomp.map (GOMP_4.5): Export GOMP_target_ext,
   7148 	GOMP_target_data_ext and GOMP_target_update_ext instead of
   7149 	GOMP_target_41, GOMP_target_data_41 and GOMP_target_update_41.
   7150 	Export GOMP_loop_nonmonotonic_dynamic_next,
   7151 	GOMP_loop_nonmonotonic_dynamic_start,
   7152 	GOMP_loop_nonmonotonic_guided_next,
   7153 	GOMP_loop_nonmonotonic_guided_start,
   7154 	GOMP_loop_ull_nonmonotonic_dynamic_next,
   7155 	GOMP_loop_ull_nonmonotonic_dynamic_start,
   7156 	GOMP_loop_ull_nonmonotonic_guided_next,
   7157 	GOMP_loop_ull_nonmonotonic_guided_start,
   7158 	GOMP_parallel_loop_nonmonotonic_dynamic and
   7159 	GOMP_parallel_loop_nonmonotonic_guided.
   7160 	* loop.c (GOMP_parallel_loop_nonmonotonic_dynamic,
   7161 	GOMP_parallel_loop_nonmonotonic_guided,
   7162 	GOMP_loop_nonmonotonic_dynamic_start,
   7163 	GOMP_loop_nonmonotonic_guided_start,
   7164 	GOMP_loop_nonmonotonic_dynamic_next,
   7165 	GOMP_loop_nonmonotonic_guided_next): New aliases or functions.
   7166 	* loop_ull.c (GOMP_loop_ull_nonmonotonic_dynamic_start,
   7167 	GOMP_loop_ull_nonmonotonic_guided_start,
   7168 	GOMP_loop_ull_nonmonotonic_dynamic_next,
   7169 	GOMP_loop_ull_nonmonotonic_guided_next): Likewise.
   7170 	* target.c (gomp_map_0len_lookup, gomp_map_val): New inline
   7171 	functions.
   7172 	(gomp_map_vars): Handle GOMP_MAP_ALWAYS_POINTER.  For
   7173 	GOMP_MAP_ZERO_LEN_ARRAY_SECTION use gomp_map_0len_lookup.
   7174 	Use gomp_map_val function.
   7175 	(gomp_target_fallback_firstprivate): New static function.
   7176 	(GOMP_target_41): Renamed to ...
   7177 	(GOMP_target_ext): ... this.  Add num_teams and thread_limit
   7178 	arguments.  Move firstprivate fallback handling into a new
   7179 	function.
   7180 	(GOMP_target_data_41): Renamed to ...
   7181 	(GOMP_target_data_ext): ... this.
   7182 	(GOMP_target_update_41): Renamed to ...
   7183 	(GOMP_target_update_ext): ... this.
   7184 	(gomp_exit_data): For GOMP_MAP_*ZERO_LEN* use
   7185 	gomp_map_0len_lookup instead of gomp_map_lookup.
   7186 	(omp_target_is_present): Use gomp_map_0len_lookup instead of
   7187 	gomp_map_lookup.
   7188 	* testsuite/libgomp.c/target-28.c: Likewise.
   7189 	* testsuite/libgomp.c/monotonic-1.c: New test.
   7190 	* testsuite/libgomp.c/monotonic-2.c: New test.
   7191 	* testsuite/libgomp.c/nonmonotonic-1.c: New test.
   7192 	* testsuite/libgomp.c/nonmonotonic-2.c: New test.
   7193 	* testsuite/libgomp.c/pr66199-5.c: New test.
   7194 	* testsuite/libgomp.c/pr66199-6.c: New test.
   7195 	* testsuite/libgomp.c/pr66199-7.c: New test.
   7196 	* testsuite/libgomp.c/pr66199-8.c: New test.
   7197 	* testsuite/libgomp.c/pr66199-9.c: New test.
   7198 	* testsuite/libgomp.c/reduction-11.c: New test.
   7199 	* testsuite/libgomp.c/reduction-12.c: New test.
   7200 	* testsuite/libgomp.c/reduction-13.c: New test.
   7201 	* testsuite/libgomp.c/reduction-14.c: New test.
   7202 	* testsuite/libgomp.c/reduction-15.c: New test.
   7203 	* testsuite/libgomp.c/target-12.c (main): Adjust for
   7204 	omp_target_is_present change for one-past-last element.
   7205 	* testsuite/libgomp.c/target-17.c (foo): Drop tests where
   7206 	the same var is both mapped and privatized.
   7207 	* testsuite/libgomp.c/target-19.c (foo): Adjust for different
   7208 	handling of zero-length array sections.
   7209 	* testsuite/libgomp.c/target-28.c: New test.
   7210 	* testsuite/libgomp.c/target-29.c: New test.
   7211 	* testsuite/libgomp.c/target-30.c: New test.
   7212 	* testsuite/libgomp.c/target-teams-1.c: New test.
   7213 	* testsuite/libgomp.c++/member-6.C: New test.
   7214 	* testsuite/libgomp.c++/member-7.C: New test.
   7215 	* testsuite/libgomp.c++/monotonic-1.C: New test.
   7216 	* testsuite/libgomp.c++/monotonic-2.C: New test.
   7217 	* testsuite/libgomp.c++/nonmonotonic-1.C: New test.
   7218 	* testsuite/libgomp.c++/nonmonotonic-2.C: New test.
   7219 	* testsuite/libgomp.c++/pr66199-3.C: New test.
   7220 	* testsuite/libgomp.c++/pr66199-4.C: New test.
   7221 	* testsuite/libgomp.c++/pr66199-5.C: New test.
   7222 	* testsuite/libgomp.c++/pr66199-6.C: New test.
   7223 	* testsuite/libgomp.c++/pr66199-7.C: New test.
   7224 	* testsuite/libgomp.c++/pr66199-8.C: New test.
   7225 	* testsuite/libgomp.c++/pr66199-9.C: New test.
   7226 	* testsuite/libgomp.c++/reduction-11.C: New test.
   7227 	* testsuite/libgomp.c++/reduction-12.C: New test.
   7228 	* testsuite/libgomp.c++/target-13.C: New test.
   7229 	* testsuite/libgomp.c++/target-14.C: New test.
   7230 	* testsuite/libgomp.c++/target-15.C: New test.
   7231 	* testsuite/libgomp.c++/target-16.C: New test.
   7232 	* testsuite/libgomp.c++/target-17.C: New test.
   7233 	* testsuite/libgomp.c++/target-18.C: New test.
   7234 	* testsuite/libgomp.c++/target-19.C: New test.
   7235 
   7236 2015-11-04  Nathan Sidwell  <nathan (a] codesourcery.com>
   7237 
   7238 	* testsuite/libgomp.oacc-fortran/reduction-1.f90: Fix dimensions
   7239 	and reduction copy.
   7240 	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
   7241 	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
   7242 	* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
   7243 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
   7244 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Likewise.
   7245 	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
   7246 	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise.
   7247 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
   7248 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
   7249 	* testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c: Likewise.
   7250 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise.
   7251 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
   7252 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
   7253 	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: New.
   7254 
   7255 2015-11-04  Nathan Sidwell  <nathan (a] codesourcery.com>
   7256 
   7257 	* libgomp.oacc-c-c++-common/loop-red-g-1.c: New.
   7258 	* libgomp.oacc-c-c++-common/loop-red-gwv-1.c: New.
   7259 	* libgomp.oacc-c-c++-common/loop-red-v-1.c: New.
   7260 	* libgomp.oacc-c-c++-common/loop-red-v-2.c: New.
   7261 	* libgomp.oacc-c-c++-common/loop-red-w-1.c: New.
   7262 	* libgomp.oacc-c-c++-common/loop-red-w-2.c: New.
   7263 	* libgomp.oacc-c-c++-common/loop-red-wv-1.c: New.
   7264 	* libgomp.oacc-fortran/reduction-5.f90: Avoid reference var.
   7265 
   7266 2015-11-03  Nathan Sidwell  <nathan (a] codesourcery.com>
   7267 
   7268 	* libgomp.h (struct acc_dispatch_t): Remove args from exec_func.
   7269 	* plugin/plugin-nvptx.c (nvptx_exec): Remove sizes & kinds arg.
   7270 	(GOMP_OFFLOAD_openacc_parallel): Likewise.
   7271 	* oacc-host.c (host_openacc_exec): Likewise.
   7272 	* oacc-parallel.c (GOACC_parallel_keyed): Adjust exec_func call.
   7273 
   7274 2015-11-03  Julian Brown  <julian (a] codesourcery.com>
   7275 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   7276 
   7277 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: New file.
   7278 	* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
   7279 	* testsuite/libgomp.oacc-c-c++-common/worker-single-1a.c:
   7280 	Likewise.
   7281 	* testsuite/libgomp.oacc-c-c++-common/worker-single-4.c: Likewise.
   7282 	* testsuite/libgomp.oacc-c-c++-common/worker-single-6.c: Likewise.
   7283 
   7284 2015-11-03  James Norris  <jnorris (a] codesourcery.com>
   7285 
   7286 	* testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c: New
   7287 	file.
   7288 	* testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c:
   7289 	Likewise.
   7290 	* testsuite/libgomp.oacc-c-c++-common/atomic_rw-1.c: Likewise.
   7291 	* testsuite/libgomp.oacc-c-c++-common/atomic_update-1.c: Likewise.
   7292 	* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Likewise.
   7293 	* testsuite/libgomp.oacc-fortran/atomic_rw-1.f90: New file.
   7294 	* testsuite/libgomp.oacc-fortran/atomic_update-1.f90: Likewise.
   7295 
   7296 2015-10-29  Nathan Sidwell  <nathan (a] codesourcery.com>
   7297 
   7298 	* openacc.h (enum acc_device_t): Reformat. Ensure layout
   7299 	compatibility.
   7300 	(enum acc_async_t): Reformat.
   7301 	(acc_on_device): Declare compatible with builtin and provide C++
   7302 	wrapper.
   7303 	* testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: New.
   7304 
   7305 2015-10-29  Thomas Schwinge  <thomas (a] codesourcery.com>
   7306 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   7307 
   7308 	* testsuite/libgomp.oacc-c-c++-common/combdir-1.c: Rename to...
   7309 	* testsuite/libgomp.oacc-c-c++-common/combined-directives-1.c:
   7310 	... this.  Add a description of the test at the top of the file.
   7311 	* testsuite/libgomp.oacc-fortran/combdir-1.f90: Rename file to...
   7312 	* testsuite/libgomp.oacc-fortran/combined-directives-1.f90:
   7313 	... this.  Add a description of the test at the top of the file.
   7314 
   7315 2015-10-28  Nathan Sidwell  <nathan (a] codesourcery.com>
   7316 
   7317 	* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: New.
   7318 	* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: New.
   7319 	* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: New.
   7320 	* testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: New.
   7321 	* testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: New.
   7322 	* testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: New.
   7323 
   7324 2015-10-27  Nathan Sidwell  <nathan (a] codesourcery.com>
   7325 
   7326 	* plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute
   7327 	dimensions.
   7328 
   7329 2015-10-27  Thomas Schwinge  <thomas (a] codesourcery.com>
   7330 
   7331 	PR testsuite/68063
   7332 	* testsuite/libgomp.c++/member-1.C (A::m1): Add missing private clause.
   7333 
   7334 2015-10-27  James Norris  <jnorris (a] codesourcery.com>
   7335 
   7336 	* testsuite/libgomp.oacc-c-c++-common/combdir-1.c: New file.
   7337 	* testsuite/libgomp.oacc-fortran/combdir-1.f90: Likewise.
   7338 
   7339 2015-10-26  Thomas Schwinge  <thomas (a] codesourcery.com>
   7340 
   7341 	* testsuite/libgomp.oacc-c-c++-common/abort-1.c: Print to stderr.
   7342 	* testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise.
   7343 
   7344 	* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Remove explicit
   7345 	acc_device_nvidia usage.
   7346 	* testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise.
   7347 	* testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise.
   7348 	* testsuite/libgomp.oacc-c-c++-common/lib-9.c: Likewise.
   7349 
   7350 	* oacc-init.c (acc_shutdown): Call gomp_init_targets_once.
   7351 	* testsuite/libgomp.oacc-c-c++-common/lib-8.c: New file.
   7352 
   7353 	PR libgomp/66518
   7354 	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Resolve XFAIL.
   7355 
   7356 	PR libgomp/65437
   7357 	PR libgomp/66518
   7358 	* oacc-mem.c (update_dev_host): Call goacc_lazy_initialize.
   7359 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Remove XFAIL.
   7360 
   7361 2015-10-23  Tom de Vries  <tom (a] codesourcery.com>
   7362 
   7363 	PR testsuite/68063
   7364 	* testsuite/libgomp.c++/member-2.C (A::m1): Add missing private clause.
   7365 
   7366 2015-10-20  Nathan Sidwell  <nathan (a] codesourcery.com>
   7367 
   7368 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane
   7369 	vector_length.
   7370 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
   7371 
   7372 2015-10-14  Ilya Verbin  <ilya.verbin (a] intel.com>
   7373 	    Aleksander Ivanushenko  <aleksander.ivanushenko (a] intel.com>
   7374 
   7375 	* target.c (gomp_map_vars): Initialize tgt->tgt_start and tgt->tgt_end
   7376 	to 0 when mapnum is 0.
   7377 
   7378 2015-10-14  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   7379 
   7380 	* fortran.c (omp_get_place_proc_ids_, omp_get_partition_place_nums_):
   7381 	Cast to int from int32_t.
   7382 
   7383 2015-10-13  Jakub Jelinek  <jakub (a] redhat.com>
   7384 	    Aldy Hernandez  <aldyh (a] redhat.com>
   7385 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   7386 
   7387 	* config/linux/affinity.c (omp_get_place_num_procs,
   7388 	omp_get_place_proc_ids, gomp_get_place_proc_ids_8): New functions.
   7389 	* config/linux/doacross.h: New file.
   7390 	* config/posix/affinity.c (omp_get_place_num_procs,
   7391 	omp_get_place_proc_ids, gomp_get_place_proc_ids_8): New functions.
   7392 	* config/posix/doacross.h: New file.
   7393 	* env.c: Include gomp-constants.h.
   7394 	(struct gomp_task_icv): Rename run_sched_modifier to
   7395 	run_sched_chunk_size.
   7396 	(gomp_max_task_priority_var): New variable.
   7397 	(parse_schedule): Rename run_sched_modifier to run_sched_chunk_size.
   7398 	(handle_omp_display_env): Change _OPENMP value from 201307 to
   7399 	201511.  Print OMP_MAX_TASK_PRIORITY.
   7400 	(initialize_env): Parse OMP_MAX_TASK_PRIORITY.
   7401 	(omp_set_schedule, omp_get_schedule): Rename modifier argument to
   7402 	chunk_size and run_sched_modifier to run_sched_chunk_size.
   7403 	(omp_get_max_task_priority, omp_get_initial_device,
   7404 	omp_get_num_places, omp_get_place_num, omp_get_partition_num_places,
   7405 	omp_get_partition_place_nums): New functions.
   7406 	* fortran.c (omp_set_schedule_, omp_set_schedule_8_,
   7407 	omp_get_schedule_, omp_get_schedule_8_): Rename modifier argument
   7408 	to chunk_size.
   7409 	(omp_get_num_places_, omp_get_place_num_procs_,
   7410 	omp_get_place_num_procs_8_, omp_get_place_proc_ids_,
   7411 	omp_get_place_proc_ids_8_, omp_get_place_num_,
   7412 	omp_get_partition_num_places_, omp_get_partition_place_nums_,
   7413 	omp_get_partition_place_nums_8_, omp_get_initial_device_,
   7414 	omp_get_max_task_priority_): New functions.
   7415 	* libgomp_g.h (GOMP_loop_doacross_static_start,
   7416 	GOMP_loop_doacross_dynamic_start, GOMP_loop_doacross_guided_start,
   7417 	GOMP_loop_doacross_runtime_start, GOMP_loop_ull_doacross_static_start,
   7418 	GOMP_loop_ull_doacross_dynamic_start,
   7419 	GOMP_loop_ull_doacross_guided_start,
   7420 	GOMP_loop_ull_doacross_runtime_start, GOMP_doacross_post,
   7421 	GOMP_doacross_wait, GOMP_doacross_ull_post, GOMP_doacross_wait,
   7422 	GOMP_taskloop, GOMP_taskloop_ull, GOMP_target_41,
   7423 	GOMP_target_data_41, GOMP_target_update_41,
   7424 	GOMP_target_enter_exit_data): New prototypes.
   7425 	(GOMP_task): Add prototype argument.
   7426 	* libgomp.h (_LIBGOMP_CHECKING_): Define to 0 if not yet defined.
   7427 	(struct gomp_doacross_work_share): New type.
   7428 	(struct gomp_work_share): Add doacross field.
   7429 	(struct gomp_task_icv): Rename run_sched_modifier to
   7430 	run_sched_chunk_size.
   7431 	(enum gomp_task_kind): Rename GOMP_TASK_IFFALSE to
   7432 	GOMP_TASK_UNDEFERRED.  Add comments.
   7433 	(struct gomp_task_depend_entry): Add comments.
   7434 	(struct gomp_task): Likewise.
   7435 	(struct gomp_taskgroup): Likewise.
   7436 	(struct gomp_target_task): New type.
   7437 	(struct gomp_team): Add comment.
   7438 	(gomp_get_place_proc_ids_8, gomp_doacross_init,
   7439 	gomp_doacross_ull_init, gomp_task_maybe_wait_for_dependencies,
   7440 	gomp_create_target_task, gomp_target_task_fn): New prototypes.
   7441 	(struct target_var_desc): New type.
   7442 	(struct target_mem_desc): Adjust comment.  Use struct
   7443 	target_var_desc instead of splay_tree_key for list.
   7444 	(REFCOUNT_INFINITY): Define.
   7445 	(struct splay_tree_key_s): Remove copy_from field.
   7446 	(struct gomp_device_descr): Add dev2dev_func field.
   7447 	(enum gomp_map_vars_kind): New enum.
   7448 	(gomp_map_vars): Add one argument.
   7449 	* libgomp.map (OMP_4.5): Export omp_get_max_task_priority,
   7450 	omp_get_max_task_priority_, omp_get_num_places, omp_get_num_places_,
   7451 	omp_get_place_num_procs, omp_get_place_num_procs_,
   7452 	omp_get_place_num_procs_8_, omp_get_place_proc_ids,
   7453 	omp_get_place_proc_ids_, omp_get_place_proc_ids_8_, omp_get_place_num,
   7454 	omp_get_place_num_, omp_get_partition_num_places,
   7455 	omp_get_partition_num_places_, omp_get_partition_place_nums,
   7456 	omp_get_partition_place_nums_, omp_get_partition_place_nums_8_,
   7457 	omp_get_initial_device, omp_get_initial_device_, omp_target_alloc,
   7458 	omp_target_free, omp_target_is_present, omp_target_memcpy,
   7459 	omp_target_memcpy_rect, omp_target_associate_ptr and
   7460 	omp_target_disassociate_ptr.
   7461 	(GOMP_4.0.2): Renamed to ...
   7462 	(GOMP_4.5): ... this.  Export GOMP_target_41, GOMP_target_data_41,
   7463 	GOMP_target_update_41, GOMP_target_enter_exit_data, GOMP_taskloop,
   7464 	GOMP_taskloop_ull, GOMP_loop_doacross_dynamic_start,
   7465 	GOMP_loop_doacross_guided_start, GOMP_loop_doacross_runtime_start,
   7466 	GOMP_loop_doacross_static_start, GOMP_doacross_post,
   7467 	GOMP_doacross_wait, GOMP_loop_ull_doacross_dynamic_start,
   7468 	GOMP_loop_ull_doacross_guided_start,
   7469 	GOMP_loop_ull_doacross_runtime_start,
   7470 	GOMP_loop_ull_doacross_static_start, GOMP_doacross_ull_post and
   7471 	GOMP_doacross_ull_wait.
   7472 	* libgomp.texi: Document omp_get_max_task_priority.
   7473 	Rename modifier argument to chunk_size for omp_set_schedule and
   7474 	omp_get_schedule.  Document OMP_MAX_TASK_PRIORITY env var.
   7475 	* loop.c (GOMP_loop_runtime_start): Adjust for run_sched_modifier
   7476 	to run_sched_chunk_size renaming.
   7477 	(GOMP_loop_ordered_runtime_start): Likewise.
   7478 	(gomp_loop_doacross_static_start, gomp_loop_doacross_dynamic_start,
   7479 	gomp_loop_doacross_guided_start, GOMP_loop_doacross_runtime_start,
   7480 	GOMP_parallel_loop_runtime_start): New functions.
   7481 	(GOMP_parallel_loop_runtime): Adjust for run_sched_modifier
   7482 	to run_sched_chunk_size renaming.
   7483 	(GOMP_loop_doacross_static_start, GOMP_loop_doacross_dynamic_start,
   7484 	GOMP_loop_doacross_guided_start): New functions or aliases.
   7485 	* loop_ull.c (GOMP_loop_ull_runtime_start): Adjust for
   7486 	run_sched_modifier to run_sched_chunk_size renaming.
   7487 	(GOMP_loop_ull_ordered_runtime_start): Likewise.
   7488 	(gomp_loop_ull_doacross_static_start,
   7489 	gomp_loop_ull_doacross_dynamic_start,
   7490 	gomp_loop_ull_doacross_guided_start,
   7491 	GOMP_loop_ull_doacross_runtime_start): New functions.
   7492 	(GOMP_loop_ull_doacross_static_start,
   7493 	GOMP_loop_ull_doacross_dynamic_start,
   7494 	GOMP_loop_ull_doacross_guided_start): New functions or aliases.
   7495 	* oacc-mem.c (acc_map_data, present_create_copy,
   7496 	gomp_acc_insert_pointer): Pass GOMP_MAP_VARS_OPENACC instead of false
   7497 	to gomp_map_vars.
   7498 	(gomp_acc_remove_pointer): Use copy_from from target_var_desc.
   7499 	* oacc-parallel.c (GOACC_data_start): Pass GOMP_MAP_VARS_OPENACC
   7500 	instead of false to gomp_map_vars.
   7501 	(GOACC_parallel_keyed): Likewise.  Use copy_from from target_var_desc.
   7502 	* omp.h.in (omp_lock_hint_t): New type.
   7503 	(omp_init_lock_with_hint, omp_init_nest_lock_with_hint,
   7504 	omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids,
   7505 	omp_get_place_num, omp_get_partition_num_places,
   7506 	omp_get_partition_place_nums, omp_get_initial_device,
   7507 	omp_get_max_task_priority, omp_target_alloc, omp_target_free,
   7508 	omp_target_is_present, omp_target_memcpy, omp_target_memcpy_rect,
   7509 	omp_target_associate_ptr, omp_target_disassociate_ptr): New
   7510 	prototypes.
   7511 	* omp_lib.f90.in (omp_lock_hint_kind): New parameter.
   7512 	(omp_lock_hint_none, omp_lock_hint_uncontended,
   7513 	omp_lock_hint_contended, omp_lock_hint_nonspeculative,
   7514 	omp_lock_hint_speculative): New parameters.
   7515 	(omp_init_lock_with_hint, omp_init_nest_lock_with_hint,
   7516 	omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids,
   7517 	omp_get_place_num, omp_get_partition_num_places,
   7518 	omp_get_partition_place_nums, omp_get_initial_device,
   7519 	omp_get_max_task_priority): New interfaces.
   7520 	(omp_set_schedule, omp_get_schedule): Rename modifier argument
   7521 	to chunk_size.
   7522 	* omp_lib.h.in (omp_lock_hint_kind): New parameter.
   7523 	(omp_lock_hint_none, omp_lock_hint_uncontended,
   7524 	omp_lock_hint_contended, omp_lock_hint_nonspeculative,
   7525 	omp_lock_hint_speculative): New parameters.
   7526 	(omp_init_lock_with_hint, omp_init_nest_lock_with_hint,
   7527 	omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids,
   7528 	omp_get_place_num, omp_get_partition_num_places,
   7529 	omp_get_partition_place_nums, omp_get_initial_device,
   7530 	omp_get_max_task_priority): New functions and subroutines.
   7531 	* ordered.c: Include stdarg.h and string.h.
   7532 	(MAX_COLLAPSED_BITS): Define.
   7533 	(gomp_doacross_init, GOMP_doacross_post, GOMP_doacross_wait,
   7534 	gomp_doacross_ull_init, GOMP_doacross_ull_post,
   7535 	GOMP_doacross_ull_wait): New functions.
   7536 	* target.c: Include errno.h.
   7537 	(resolve_device): If device is not initialized, call
   7538 	gomp_init_device on it.
   7539 	(gomp_map_lookup): New function.
   7540 	(gomp_map_vars_existing): Add tgt_var argument, fill it in.
   7541 	Don't bump refcount if REFCOUNT_INFINITY.  Handle
   7542 	GOMP_MAP_ALWAYS_TO_P.
   7543 	(get_kind): Rename is_openacc argument to short_mapkind.
   7544 	(gomp_map_pointer): Use gomp_map_lookup.
   7545 	(gomp_map_fields_existing): New function.
   7546 	(gomp_map_vars): Rename is_openacc argument to short_mapkind
   7547 	and is_target to pragma_kind.  Handle GOMP_MAP_VARS_ENTER_DATA,
   7548 	handle GOMP_MAP_FIRSTPRIVATE_INT, GOMP_MAP_STRUCT,
   7549 	GOMP_MAP_USE_DEVICE_PTR, GOMP_MAP_ZERO_LEN_ARRAY_SECTION.
   7550 	Adjust for tgt->list changed type and copy_from living in there.
   7551 	(gomp_copy_from_async): Adjust for tgt->list changed type and
   7552 	copy_from living in there.
   7553 	(gomp_unmap_vars): Likewise.
   7554 	(gomp_update): Likewise.  Rename is_openacc argument to
   7555 	short_mapkind.  Don't fail if object is not mapped.
   7556 	(gomp_load_image_to_device): Initialize refcount to
   7557 	REFCOUNT_INFINITY.
   7558 	(gomp_target_fallback): New function.
   7559 	(gomp_get_target_fn_addr): Likewise.
   7560 	(GOMP_target): Adjust gomp_map_vars caller, use
   7561 	gomp_get_target_fn_addr and gomp_target_fallback.
   7562 	(GOMP_target_41): New function.
   7563 	(gomp_target_data_fallback): New function.
   7564 	(GOMP_target_data): Use it, adjust gomp_map_vars caller.
   7565 	(GOMP_target_data_41): New function.
   7566 	(GOMP_target_update): Adjust gomp_update caller.
   7567 	(GOMP_target_update_41): New function.
   7568 	(gomp_exit_data, GOMP_target_enter_exit_data,
   7569 	gomp_target_task_fn, omp_target_alloc, omp_target_free,
   7570 	omp_target_is_present, omp_target_memcpy,
   7571 	omp_target_memcpy_rect_worker, omp_target_memcpy_rect,
   7572 	omp_target_associate_ptr, omp_target_disassociate_ptr,
   7573 	gomp_load_plugin_for_device): New functions.
   7574 	* task.c: Include gomp-constants.h.  Include taskloop.c
   7575 	twice to get GOMP_taskloop and GOMP_taskloop_ull definitions.
   7576 	(gomp_task_handle_depend): New function.
   7577 	(GOMP_task): Use it.  Add priority argument.  Use
   7578 	gomp-constant.h constants instead of hardcoded numbers.
   7579 	Rename GOMP_TASK_IFFALSE to GOMP_TASK_UNDEFERRED.
   7580 	(gomp_create_target_task): New function.
   7581 	(verify_children_queue, verify_taskgroup_queue,
   7582 	verify_task_queue): New functions.
   7583 	(gomp_task_run_pre): Call verify_*_queue functions.
   7584 	If an upcoming tied task is about to leave the sibling or
   7585 	taskgroup queues in an invalid state, adjust appropriately.
   7586 	Remove taskgroup argument.  Add comments.
   7587 	(gomp_task_run_post_handle_dependers): Add comments.
   7588 	(gomp_task_run_post_remove_parent): Likewise.
   7589 	(gomp_barrier_handle_tasks): Adjust gomp_task_run_pre caller.
   7590 	(GOMP_taskwait): Likewise.  Add comments.
   7591 	(gomp_task_maybe_wait_for_dependencies): Fix scheduling
   7592 	problem such that the first non parent_depends_on task does not
   7593 	end up at the end of the children queue.
   7594 	(GOMP_taskgroup_start): Rename GOMP_TASK_IFFALSE to
   7595 	GOMP_TASK_UNDEFERRED.
   7596 	(GOMP_taskgroup_end): Adjust gomp_task_run_pre caller.
   7597 	* taskloop.c: New file.
   7598 	* testsuite/lib/libgomp.exp
   7599 	(check_effective_target_offload_device_nonshared_as): New proc.
   7600 	* testsuite/libgomp.c/affinity-2.c: New test.
   7601 	* testsuite/libgomp.c/doacross-1.c: New test.
   7602 	* testsuite/libgomp.c/doacross-2.c: New test.
   7603 	* testsuite/libgomp.c/examples-4/declare_target-1.c (fib_wrapper):
   7604 	Add map clause to target.
   7605 	* testsuite/libgomp.c/examples-4/declare_target-4.c (accum): Likewise.
   7606 	* testsuite/libgomp.c/examples-4/declare_target-5.c (accum): Likewise.
   7607 	* testsuite/libgomp.c/examples-4/device-1.c (main): Likewise.
   7608 	* testsuite/libgomp.c/examples-4/device-3.c (main): Likewise.
   7609 	* testsuite/libgomp.c/examples-4/target_data-3.c (gramSchmidt):
   7610 	Likewise.
   7611 	* testsuite/libgomp.c/examples-4/teams-2.c (dotprod): Likewise.
   7612 	* testsuite/libgomp.c/examples-4/teams-3.c (dotprod): Likewise.
   7613 	* testsuite/libgomp.c/examples-4/teams-4.c (dotprod): Likewise.
   7614 	* testsuite/libgomp.c/for-2.h (OMPTGT, OMPTO, OMPFROM): Define if
   7615 	not defined.  Use those where needed.
   7616 	* testsuite/libgomp.c/for-4.c: New test.
   7617 	* testsuite/libgomp.c/for-5.c: New test.
   7618 	* testsuite/libgomp.c/for-6.c: New test.
   7619 	* testsuite/libgomp.c/linear-1.c: New test.
   7620 	* testsuite/libgomp.c/ordered-4.c: New test.
   7621 	* testsuite/libgomp.c/pr66199-2.c (f2): Adjust for linear clause
   7622 	only allowed on the loop iterator.
   7623 	* testsuite/libgomp.c/pr66199-3.c: New test.
   7624 	* testsuite/libgomp.c/pr66199-4.c: New test.
   7625 	* testsuite/libgomp.c/reduction-7.c: New test.
   7626 	* testsuite/libgomp.c/reduction-8.c: New test.
   7627 	* testsuite/libgomp.c/reduction-9.c: New test.
   7628 	* testsuite/libgomp.c/reduction-10.c: New test.
   7629 	* testsuite/libgomp.c/target-1.c (fn2, fn3, fn4): Add
   7630 	map(tofrom:s).
   7631 	* testsuite/libgomp.c/target-2.c (fn2, fn3, fn4): Likewise.
   7632 	* testsuite/libgomp.c/target-7.c (foo): Add map(h) where needed.
   7633 	* testsuite/libgomp.c/target-11.c: New test.
   7634 	* testsuite/libgomp.c/target-12.c: New test.
   7635 	* testsuite/libgomp.c/target-13.c: New test.
   7636 	* testsuite/libgomp.c/target-14.c: New test.
   7637 	* testsuite/libgomp.c/target-15.c: New test.
   7638 	* testsuite/libgomp.c/target-16.c: New test.
   7639 	* testsuite/libgomp.c/target-17.c: New test.
   7640 	* testsuite/libgomp.c/target-18.c: New test.
   7641 	* testsuite/libgomp.c/target-19.c: New test.
   7642 	* testsuite/libgomp.c/target-20.c: New test.
   7643 	* testsuite/libgomp.c/target-21.c: New test.
   7644 	* testsuite/libgomp.c/target-22.c: New test.
   7645 	* testsuite/libgomp.c/target-23.c: New test.
   7646 	* testsuite/libgomp.c/target-24.c: New test.
   7647 	* testsuite/libgomp.c/target-25.c: New test.
   7648 	* testsuite/libgomp.c/target-26.c: New test.
   7649 	* testsuite/libgomp.c/target-27.c: New test.
   7650 	* testsuite/libgomp.c/taskloop-1.c: New test.
   7651 	* testsuite/libgomp.c/taskloop-2.c: New test.
   7652 	* testsuite/libgomp.c/taskloop-3.c: New test.
   7653 	* testsuite/libgomp.c/taskloop-4.c: New test.
   7654 	* testsuite/libgomp.c++/ctor-13.C: New test.
   7655 	* testsuite/libgomp.c++/doacross-1.C: New test.
   7656 	* testsuite/libgomp.c++/examples-4/declare_target-2.C:
   7657 	Replace offload_device with offload_device_nonshared_as.
   7658 	* testsuite/libgomp.c++/for-12.C: New test.
   7659 	* testsuite/libgomp.c++/for-13.C: New test.
   7660 	* testsuite/libgomp.c++/for-14.C: New test.
   7661 	* testsuite/libgomp.c++/linear-1.C: New test.
   7662 	* testsuite/libgomp.c++/member-1.C: New test.
   7663 	* testsuite/libgomp.c++/member-2.C: New test.
   7664 	* testsuite/libgomp.c++/member-3.C: New test.
   7665 	* testsuite/libgomp.c++/member-4.C: New test.
   7666 	* testsuite/libgomp.c++/member-5.C: New test.
   7667 	* testsuite/libgomp.c++/ordered-1.C: New test.
   7668 	* testsuite/libgomp.c++/reduction-5.C: New test.
   7669 	* testsuite/libgomp.c++/reduction-6.C: New test.
   7670 	* testsuite/libgomp.c++/reduction-7.C: New test.
   7671 	* testsuite/libgomp.c++/reduction-8.C: New test.
   7672 	* testsuite/libgomp.c++/reduction-9.C: New test.
   7673 	* testsuite/libgomp.c++/reduction-10.C: New test.
   7674 	* testsuite/libgomp.c++/reference-1.C: New test.
   7675 	* testsuite/libgomp.c++/simd14.C: New test.
   7676 	* testsuite/libgomp.c++/target-2.C (fn2): Add map(tofrom: s) clause.
   7677 	* testsuite/libgomp.c++/target-5.C: New test.
   7678 	* testsuite/libgomp.c++/target-6.C: New test.
   7679 	* testsuite/libgomp.c++/target-7.C: New test.
   7680 	* testsuite/libgomp.c++/target-8.C: New test.
   7681 	* testsuite/libgomp.c++/target-9.C: New test.
   7682 	* testsuite/libgomp.c++/target-10.C: New test.
   7683 	* testsuite/libgomp.c++/target-11.C: New test.
   7684 	* testsuite/libgomp.c++/target-12.C: New test.
   7685 	* testsuite/libgomp.c++/taskloop-1.C: New test.
   7686 	* testsuite/libgomp.c++/taskloop-2.C: New test.
   7687 	* testsuite/libgomp.c++/taskloop-3.C: New test.
   7688 	* testsuite/libgomp.c++/taskloop-4.C: New test.
   7689 	* testsuite/libgomp.c++/taskloop-5.C: New test.
   7690 	* testsuite/libgomp.c++/taskloop-6.C: New test.
   7691 	* testsuite/libgomp.c++/taskloop-7.C: New test.
   7692 	* testsuite/libgomp.c++/taskloop-8.C: New test.
   7693 	* testsuite/libgomp.c++/taskloop-9.C: New test.
   7694 	* testsuite/libgomp.fortran/affinity1.f90: New test.
   7695 	* testsuite/libgomp.fortran/affinity2.f90: New test.
   7696 
   7697 2015-10-13  Tom de Vries  <tom (a] codesourcery.com>
   7698 
   7699 	PR tree-optimization/67476
   7700 	* testsuite/libgomp.c/autopar-3.c: New test.
   7701 	* testsuite/libgomp.c/autopar-4.c: New test.
   7702 	* testsuite/libgomp.c/autopar-5.c: New test.
   7703 	* testsuite/libgomp.c/autopar-6.c: New test.
   7704 	* testsuite/libgomp.c/autopar-7.c: New test.
   7705 	* testsuite/libgomp.c/autopar-8.c: New test.
   7706 
   7707 2015-10-12  James Norris  <jnorris (a] codesourcery.com>
   7708 
   7709 	* testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Fix loop
   7710 	initializer.
   7711 
   7712 2015-10-09  David Malcolm  <dmalcolm (a] redhat.com>
   7713 
   7714 	* testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp,
   7715 	using load_gcc_lib.
   7716 
   7717 2015-10-02  Thomas Schwinge  <thomas (a] codesourcery.com>
   7718 
   7719 	* oacc-ptx.h: Remove file, moving its content into...
   7720 	* config/nvptx/fortran.c: ... here...
   7721 	* config/nvptx/oacc-init.c: ..., here...
   7722 	* config/nvptx/oacc-parallel.c: ..., and here.
   7723 	* config/nvptx/openacc.f90: New file.
   7724 	* plugin/plugin-nvptx.c: Don't include "oacc-ptx.h".
   7725 	(link_ptx): Don't link in predefined bits of PTX code.
   7726 
   7727 2015-09-30  Nathan Sidwell  <nathan (a] codesourcery.com>
   7728 	    Bernd Schmidt <bernds (a] codesourcery.com>
   7729 
   7730 	* plugin/plugin-nvptx.c (targ_fn_launch): Use GOMP_DIM_MAX.
   7731 	(struct targ_ptx_obj): New.
   7732 	(nvptx_tdata): Move earlier, change data format.
   7733 	(link_ptx): Take targ_ptx_obj ptr and count.  Allow multiple
   7734 	objects.
   7735 	(GOMP_OFFLOAD_load_image): Adjust.
   7736 
   7737 2015-09-30  Thomas Schwinge  <thomas (a] codesourcery.com>
   7738 
   7739 	* testsuite/libgomp.oacc-c-c++-common/abort-1.c: Add checkpoint.
   7740 	* testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise.
   7741 	* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Likewise.
   7742 	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Likewise.
   7743 	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
   7744 	* testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise.
   7745 	* testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise.
   7746 	* testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise.
   7747 	* testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise.
   7748 	* testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise.
   7749 	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
   7750 	* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise.
   7751 	* testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise.
   7752 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   7753 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
   7754 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   7755 	* testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise.
   7756 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
   7757 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
   7758 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
   7759 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   7760 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   7761 	* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
   7762 	* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
   7763 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
   7764 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
   7765 	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise.
   7766 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   7767 	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
   7768 	* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
   7769 	* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
   7770 	* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
   7771 	* testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise.
   7772 	* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
   7773 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   7774 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
   7775 	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
   7776 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
   7777 	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
   7778 	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
   7779 	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
   7780 	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
   7781 	* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
   7782 	* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
   7783 	* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise.
   7784 	* testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise.
   7785 	* testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise.
   7786 	* testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise.
   7787 	* testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise.
   7788 	* testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise.
   7789 	* testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise.
   7790 	* testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise.
   7791 	* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise.
   7792 	* testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise.
   7793 	* testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise.
   7794 	* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
   7795 	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
   7796 	* testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise.
   7797 	* testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise.
   7798 	* testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise.
   7799 	* testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise.
   7800 	* testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise.
   7801 	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
   7802 
   7803 2015-09-29  Nathan Sidwell  <nathan (a] codesourcery.com>
   7804 
   7805 	* oacc-init.c (acc_on_device): Force optimization level.
   7806 
   7807 2015-09-29  Nathan Sidwell  <nathan (a] codesourcery.com>
   7808 
   7809 	* plugin/plugin-nvptx.c (ARRAYSIZE): Delete.
   7810 	(cuda_errlist): Delete.
   7811 	(cuda_error): Reimplement.
   7812 
   7813 2015-09-28  Nathan Sidwell  <nathan (a] codesourcery.com>
   7814 
   7815 	* libgomp.h (acc_dispatch_t): Replace separate geometry args with
   7816 	array.
   7817 	* libgomp.map (GOACC_parallel_keyed): New.
   7818 	* oacc-parallel.c (goacc_wait): Take pointer to va_list.  Adjust
   7819 	all callers.
   7820 	(GOACC_parallel_keyed): New interface.  Lose geometry arguments
   7821 	and take keyed varargs list.  Adjust call to exec_func.
   7822 	(GOACC_parallel): Force host fallback.
   7823 	* libgomp_g.h (GOACC_parallel): Remove.
   7824 	(GOACC_parallel_keyed): Declare.
   7825 	* plugin/plugin-nvptx.c (struct targ_fn_launch): New struct.
   7826 	(struct targ_gn_descriptor): Replace name field with launch field.
   7827 	(nvptx_exec): Lose separate geometry args, take array.  Process
   7828 	dynamic dimensions and adjust.
   7829 	(struct nvptx_tdata): Replace fn_names field with fn_descs.
   7830 	(GOMP_OFFLOAD_load_image): Adjust for change in function table
   7831 	data.
   7832 	(GOMP_OFFLOAD_openacc_parallel): Adjust for change in dimension
   7833 	passing.
   7834 	* oacc-host.c (host_openacc_exec): Adjust for change in dimension
   7835 	passing.
   7836 
   7837 2015-09-22  Chung-Lin Tang  <cltang (a] codesourcery.com>
   7838 
   7839 	PR libgomp/67141
   7840 	* oacc-int.h (goacc_host_init): Add declaration.
   7841 	* oacc-host.c (goacc_host_init): Remove static and constructor attribute.
   7842 	* oacc-init.c (goacc_runtime_initialize): Call goacc_host_init() at end.
   7843 
   7844 2015-09-08  Aditya Kumar  <hiraditya (a] msn.com>
   7845 	    Sebastian Pop  <s.pop (a] samsung.com>
   7846 
   7847 	* testsuite/libgomp.graphite/bounds.c (int foo): Modified test case to
   7848 	match o/p.
   7849 	* testsuite/libgomp.graphite/force-parallel-1.c (void parloop): Same.
   7850 	* testsuite/libgomp.graphite/force-parallel-4.c: Same.
   7851 	* testsuite/libgomp.graphite/force-parallel-5.c: Same.
   7852 	* testsuite/libgomp.graphite/force-parallel-7.c: Same.
   7853 	* testsuite/libgomp.graphite/force-parallel-8.c: Same.
   7854 
   7855 2015-09-03  Jakub Jelinek  <jakub (a] redhat.com>
   7856 
   7857 	* configure.tgt: Add missing ;; in between nvptx and rtems
   7858 	snippets.
   7859 
   7860 2015-09-03  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   7861 
   7862 	* config/posix/pool.h (gomp_adjust_thread_attr): New.
   7863 	* config/rtems/pool.h (gomp_adjust_thread_attr): Likewise.
   7864 	(gomp_thread_pool_reservoir): Add priority member.
   7865 	* confi/rtems/proc.c (allocate_thread_pool_reservoir): Add
   7866 	priority.
   7867 	(parse_thread_pools): Likewise.
   7868 	* team.c (gomp_team_start): Call configuration provided
   7869 	gomp_adjust_thread_attr(). Destroy thread attributes if
   7870 	necessary.
   7871 	* libgomp.texi: Document GOMP_RTEMS_THREAD_POOLS.
   7872 
   7873 2015-09-03  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   7874 
   7875 	* config/posix/pool.h: New.
   7876 	* config/rtems/pool.h: Likewise.
   7877 	* config/rtems/proc.c: Likewise.
   7878 	* libgomp.h (gomp_thread_destructor): Declare.
   7879 	* team.c: Include configuration provided "pool.h".
   7880 	(gomp_get_thread_pool): Define in configuration.
   7881 	(gomp_team_end): Call configuration defined
   7882 	gomp_release_thread_pool().
   7883 
   7884 2015-09-03  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   7885 
   7886 	* config/rtems/bar.c: New.
   7887 	* config/rtems/bar.h: Likewise.
   7888 	* config/rtems/mutex.c: Likewise.
   7889 	* config/rtems/mutex.h: Likewise.
   7890 	* config/rtems/sem.c: Likewise.
   7891 	* config/rtems/sem.h: Likewise.
   7892 	* configure.ac (*-*-rtems*): Check that Newlib provides a proper
   7893 	<sys/lock.h> header file.
   7894 	* configure.tgt (*-*-rtems*): Enable RTEMS configuration if
   7895 	supported by Newlib.
   7896 	* configure: Regenerate.
   7897 
   7898 2015-09-03  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   7899 
   7900 	* team.c (gomp_new_thread_pool): Delete and move content to ...
   7901 	(gomp_get_thread_pool): ... new function.  Allocate and
   7902 	initialize thread pool on demand.
   7903 	(get_last_team): Use gomp_get_thread_pool().
   7904 	(gomp_team_start): Delete thread pool initialization.
   7905 
   7906 2015-09-03  Tom de Vries  <tom (a] codesourcery.com>
   7907 
   7908 	PR tree-optimization/65637
   7909 	* testsuite/libgomp.c/autopar-2.c: New test.
   7910 
   7911 2015-08-29  Tom de Vries  <tom (a] codesourcery.com>
   7912 
   7913 	PR tree-optimization/46193
   7914 	* testsuite/libgomp.c/pr46193.c: New test.
   7915 
   7916 2015-08-24  Nathan Sidwell  <nathan (a] codesourcery.com>
   7917 
   7918 	libgomp/
   7919 	* libgomp.map: Add 4.0.2 version.
   7920 	* target.c (offload_image_descr): Add version field.
   7921 	(gomp_load_image_to_device): Add version argument.  Adjust plugin
   7922 	call.  Improve load mismatch diagnostic.
   7923 	(gomp_unload_image_from_device): Add version argument.  Adjust plugin
   7924 	call.
   7925 	(GOMP_offload_regster): Make stub function, move bulk to ...
   7926 	(GOMP_offload_register_ver): ... here.  Process version argument.
   7927 	(GOMP_offload_unregister): Make stub function, move bulk to ...
   7928 	(GOMP_offload_unregister_ver): ... here.  Process version argument.
   7929 	(gomp_init_device): Process version field.
   7930 	(gomp_unload_device): Process version field.
   7931 	(gomp_load_plugin_for_device): Reimplement DLSYM & DLSYM_OPT
   7932 	macros.  Check plugin version.
   7933 	* libgomp.h (gomp_device_descr): Add version function field.  Adjust
   7934 	loader and unloader types.
   7935 	* oacc-host.c: Include gomp-constants.h.
   7936 	(host_version): New.
   7937 	(host_load_image, host_unload_image): Adjust.
   7938 	(host_dispatch): Add host_version.
   7939 	* plugin/plugin-nvptx.c: Include gomp-constants.h.
   7940 	(GOMP_OFFLOAD_version): New.
   7941 	(GOMP_OFFLOAD_load_image): Add version arg and check it.
   7942 	(GOMP_OFFLOAD_unload_image): Likewise.
   7943 	* plugin/plugin-host.c: Include gomp-constants.h.
   7944 	(GOMP_OFFLOAD_version): New.
   7945 	(GOMP_OFFLOAD_load_image): Add version arg.
   7946 	(GOMP_OFFLOAD_unload_image): Likewise.
   7947 
   7948 2015-08-24  Tom de Vries  <tom (a] codesourcery.com>
   7949 
   7950 	PR tree-optimization/65468
   7951 	* testsuite/libgomp.oacc-c-c++-common/vector-loop.c: New test.
   7952 
   7953 2015-08-24  Tom de Vries  <tom (a] codesourcery.com>
   7954 
   7955 	PR tree-optimization/65468
   7956 	* testsuite/libgomp.c/static-chunk-size-one.c: New test.
   7957 
   7958 2015-08-24  Joost VandeVondele  <vondele (a] gnu.gcc.org>
   7959 
   7960 	PR libgomp/66761
   7961 	PR libgomp/67303
   7962 	* iter.c (gomp_iter_dynamic_next): Employ an atomic load.
   7963 	(gomp_iter_guided_next): Idem.
   7964 	* iter_ull.c (gomp_iter_ull_dynamic_next): Idem.
   7965 	(gomp_iter_ull_guided_next): Idem.
   7966 	* config/linux/wait.h (do_spin): Idem.
   7967 
   7968 2015-08-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   7969 
   7970 	* libgomp-plugin.h (enum offload_target_type): Remove
   7971 	OFFLOAD_TARGET_TYPE_HOST_NONSHM.
   7972 	* openacc.f90 (openacc_kinds): Remove acc_device_host_nonshm.
   7973 	* openacc.h (enum acc_device_t): Likewise.
   7974 	* openacc_lib.h: Likewise.
   7975 	* oacc-init.c (name_of_acc_device_t): Don't handle it.
   7976 	(acc_on_device): Just use __builtin_acc_on_device.
   7977 	* testsuite/libgomp.oacc-c-c++-common/if-1.c: Don't forbid usage
   7978 	of acc_on_device builtin.
   7979 	* plugin/plugin-host.h: Remove file.
   7980 	* plugin/plugin-host.c: Likewise, but salvage some content into...
   7981 	* oacc-host.c: ... this file.
   7982 	* plugin/Makefrag.am: Don't build libgomp-plugin-host_nonshm.la.
   7983 	* plugin/configfrag.ac (offload_targets): Don't add host_nonshm.
   7984 	* Makefile.in: Regenerate.
   7985 	* configure: Likewise.
   7986 	* testsuite/lib/libgomp.exp
   7987 	(check_effective_target_openacc_host_nonshm_selected): Remove.
   7988 	* testsuite/libgomp.oacc-c++/c++.exp: Don't handle
   7989 	ACC_DEVICE_TYPE=host_nonshm.
   7990 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   7991 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   7992 	* testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise.
   7993 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise.
   7994 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise.
   7995 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise.
   7996 
   7997 2015-08-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   7998 	    Jakub Jelinek  <jakub (a] redhat.com>
   7999 
   8000 	* config/nvptx/affinity.c: New file.
   8001 	* config/nvptx/alloc.c: Likewise.
   8002 	* config/nvptx/bar.c: Likewise.
   8003 	* config/nvptx/barrier.c: Likewise.
   8004 	* config/nvptx/critical.c: Likewise.
   8005 	* config/nvptx/env.c: Likewise.
   8006 	* config/nvptx/error.c: Likewise.
   8007 	* config/nvptx/fortran.c: Likewise.
   8008 	* config/nvptx/iter.c: Likewise.
   8009 	* config/nvptx/iter_ull.c: Likewise.
   8010 	* config/nvptx/libgomp-plugin.c: Likewise.
   8011 	* config/nvptx/lock.c: Likewise.
   8012 	* config/nvptx/loop.c: Likewise.
   8013 	* config/nvptx/loop_ull.c: Likewise.
   8014 	* config/nvptx/mutex.c: Likewise.
   8015 	* config/nvptx/oacc-async.c: Likewise.
   8016 	* config/nvptx/oacc-cuda.c: Likewise.
   8017 	* config/nvptx/oacc-host.c: Likewise.
   8018 	* config/nvptx/oacc-init.c: Likewise.
   8019 	* config/nvptx/oacc-mem.c: Likewise.
   8020 	* config/nvptx/oacc-parallel.c: Likewise.
   8021 	* config/nvptx/oacc-plugin.c: Likewise.
   8022 	* config/nvptx/omp-lock.h: Likewise.
   8023 	* config/nvptx/ordered.c: Likewise.
   8024 	* config/nvptx/parallel.c: Likewise.
   8025 	* config/nvptx/proc.c: Likewise.
   8026 	* config/nvptx/ptrlock.c: Likewise.
   8027 	* config/nvptx/sections.c: Likewise.
   8028 	* config/nvptx/sem.c: Likewise.
   8029 	* config/nvptx/single.c: Likewise.
   8030 	* config/nvptx/splay-tree.c: Likewise.
   8031 	* config/nvptx/target.c: Likewise.
   8032 	* config/nvptx/task.c: Likewise.
   8033 	* config/nvptx/team.c: Likewise.
   8034 	* config/nvptx/time.c: Likewise.
   8035 	* config/nvptx/work.c: Likewise.
   8036 	* configure.ac: Don't probe pthreads support for host nvptx*-*-*.
   8037 	* configure: Regenerate.
   8038 	* configure.tgt (config_path): Set to "nvptx" for target
   8039 	nvptx*-*-*.
   8040 
   8041 2015-08-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   8042 
   8043 	* testsuite/libgomp.oacc-c-c++-common/vector-type-1.c: New file.
   8044 
   8045 2015-08-03  Nathan Sidwell  <nathan (a] codesourcery.com>
   8046 
   8047 	* plugin/plugin-nvptx.c: Don't include dlfcn.h.
   8048 	(cuda_errlist): Constify.
   8049 	(errmsg):  Move into ...
   8050 	(cuda_error): ... here.  Make smaller.
   8051 	(_XSTR, _STR): Delete.
   8052 	(cuda_synames): Delete.
   8053 	(verify_device_library): Delete.
   8054 	(nvptx_init): Don't call it.
   8055 
   8056 2015-07-28  Tom de Vries  <tom (a] codesourcery.com>
   8057 
   8058 	* testsuite/libgomp.c/uns-outer-4.c: New test.
   8059 
   8060 2015-07-24  Cesar Philippidis  <cesar (a] codesourcery.com>
   8061 
   8062 	* testsuite/libgomp.c/pr66714.c: New test.
   8063 
   8064 2015-07-22  Maxim Blumenthal  <maxim.blumenthal (a] intel.com>
   8065 
   8066 	PR libgomp/66950
   8067 	* testsuite/libgomp.c/examples-4/simd-7.c (N): Change to 30 from 45.
   8068 	(fib_ref): New function.
   8069 	(fib): Correct corner cases in the recursion.
   8070 	(main): Replace the non-simd loop with fib_ref call.
   8071 	* testsuite/libgomp.fortran/examples-4/simd-7.f90: (fib_ref): New
   8072 	subroutine.
   8073 	(fibonacci): Lower the parameter N to 30.  Correct accordingly check
   8074 	for the last array element value.  Replace the non-simd loop with
   8075 	fib_ref call.  Remove redundant b_ref array.  Remove the comparison
   8076 	of the last array element with according Fibonacci sequence element.
   8077 	(fib): Correct corner cases in the recursion.
   8078 
   8079 2015-07-21  Nathan Sidwell  <nathan (a] codesourcery.com>
   8080 
   8081 	* target.c (gomp_offload_image_to_device): Rename to ...
   8082 	(gomp_load_image_to_device): ... here.
   8083 	(GOMP_offload_register): Adjust call.
   8084 	(gomp_init_device): Likewise.
   8085 	(gomp_unload_image_from_device): New.  Broken out of ...
   8086 	(GOMP_offload_unregister): ... here.  Call it.
   8087 	(gomp_unload_device): New.
   8088 	* libgomp.h (gomp_unload_device): Declare.
   8089 	* oacc-init.c (acc_shutdown_1): Unload from device before deleting
   8090 	mem maps.
   8091 
   8092 2015-07-20  Nathan Sidwell  <nathan (a] codesourcery.com>
   8093 
   8094 	* oacc-parallel.c (GOACC_parallel): Move variadic handling into
   8095 	wait=-specific if.
   8096 	(GOACC_enter_exit_data, GOACC_update): Use consistent num_waits
   8097 	!=0 condition.
   8098 	(goacc_waits): Move !num_waits handling to ...
   8099 	(GOACC_wait): ... here, the only caller that might have zero waits.
   8100 
   8101 	* plugin/plugin-nvptx.c (struct targ_fn_descriptor): Move later.
   8102 	(struct ptx_image_data): Move earlier, add fns field.
   8103 	(struct ptx_device): Add images and image_lock fields.
   8104 	(ptx_images, ptx_image_lock): Delete.
   8105 	(nvptx_open_device): Initialize images and image_lock fields.
   8106 	(nvptx_close_device): Destroy image_lock.
   8107 	(GOMP_OFFLOAD_load_image): Register image to device-specific fields.
   8108 	(GOMP_OFFLOAD_unload_image): Unregister image from device-specific
   8109 	fields.
   8110 
   8111 2015-07-17  Nathan Sidwell  <nathan (a] codesourcery.com>
   8112 
   8113 	* target.c (GOMP_offload_register): Use int for device type arg.
   8114 	(GOMP_offload_unregister): Likewise.
   8115 
   8116 	* target.c (struct_offload_image_descr): Constify host_table.
   8117 	(gomp_offload_image_to_device): Likewise.
   8118 	(GOMP_offload_register, GOMP_offload_unregister): Likewise.
   8119 
   8120 	* libgomp.h (gomp_device_descr): Constify target data arguments.
   8121 	* target.c (struct offload_image_descr): Constify target_data.
   8122 	(gomp_offload_image_to_device): Likewise.
   8123 	(GOMP_offload_register): Likewise.
   8124 	(GOMP_offload_unregister): Likewise.
   8125 	* plugin/plugin-host.c (GOMP_OFFLOAD_load_image,
   8126 	GOMP_OFFLOAD_unload_image): Constify target data.
   8127 	* plugin/plugin-nvptx.c (struct ptx_image_data): Constify target data.
   8128 	(GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): Likewise.
   8129 
   8130 2015-07-16  Nathan Sidwell  <nathan (a] codesourcery.com>
   8131 
   8132 	* plugin/plugin-nvptx.c (link_ptx): Constify string argument.
   8133 	Workaround driver library const error.
   8134 	(struct nvptx_tdata, nvptx_tdata_t): New.
   8135 	(GOMP_OFFLOAD_load_image): Use struct for target_data's real
   8136 	type.
   8137 
   8138 2015-07-15  Maxim Blumenthal  <maxim.blumenthal (a] intel.com>
   8139 
   8140 	* testsuite/libgomp.fortran/examples-4/simd-8.f90: (main): Change type
   8141 	of EPS parameter from integer to real.
   8142 	* testsuite/libgomp.fortran/examples-4/task_dep-5.f90: (check): Change
   8143 	type of EPS parameter from integer to real.
   8144 
   8145 2015-07-15  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   8146 
   8147 	* team.c (get_last_team): New.
   8148 	(gomp_new_team): Recycle last non-nested team if possible.
   8149 	(gomp_team_end): Move team work share list free lock destruction
   8150 	to ...
   8151 	(free_team): ... here.
   8152 
   8153 2015-07-14  Maxim Blumenthal  <maxim.blumenthal (a] intel.com>
   8154 
   8155 	* testsuite/libgomp.c/examples-4/simd-3.c: (main): Change type of res
   8156 	and ref from int to double.  Replaced their comparison with
   8157 	an inequality of their difference and EPS.
   8158 	* testsuite/libgomp.c/examples-4/simd-8.c: (main): Replace the
   8159 	comparison of pri and a reference number with an inequality of their
   8160 	difference and EPS.
   8161 	* testsuite/libgomp.fortran/examples-4/simd-3.f90: (main): Replaced
   8162 	the comparison of sum and sum_ref with an inequality of their
   8163 	difference and EPS.
   8164 	* testsuite/libgomp.fortran/examples-4/simd-8.f90: (main): Replace
   8165 	the comparison of pri and a reference number with an inequality of
   8166 	their difference and EPS.
   8167 
   8168 2015-07-13  Maxim Blumenthal  <maxim.blumenthal (a] intel.com>
   8169 
   8170 	* testsuite/libgomp.c++/examples-4/e.53.2.C: Renamed to...
   8171 	* testsuite/libgomp.c++/examples-4/declare_target-2.C: ...this.
   8172 	* testsuite/libgomp.c++/examples-4/e.51.5.C: Renamed to...
   8173 	* testsuite/libgomp.c++/examples-4/target_data-5.C: ...this.
   8174 	* testsuite/libgomp.c/examples-4/e.56.3.c: Renamed to...
   8175 	* testsuite/libgomp.c/examples-4/array_sections-3.c: ...this.
   8176 	* testsuite/libgomp.c/examples-4/e.56.4.c: Renamed to...
   8177 	* testsuite/libgomp.c/examples-4/array_sections-4.c: ...this.
   8178 	* testsuite/libgomp.c/examples-4/e.55.1.c: Renamed to...
   8179 	* testsuite/libgomp.c/examples-4/async_target-1.c: ...this.
   8180 	* testsuite/libgomp.c/examples-4/e.55.2.c: Renamed to...
   8181 	* testsuite/libgomp.c/examples-4/async_target-2.c: ...this.
   8182 	(vec_mult_ref): Remove v1 and v2 arguments, turn them into local
   8183 	variables.
   8184 	(vec_mult): Likewise.  Add #pragma omp taskwait.
   8185 	(main): Adjust caller.
   8186 	* testsuite/libgomp.c/examples-4/e.53.1.c: Renamed to...
   8187 	* testsuite/libgomp.c/examples-4/declare_target-1.c: ...this.
   8188 	* testsuite/libgomp.c/examples-4/e.53.3.c: Renamed to...
   8189 	* testsuite/libgomp.c/examples-4/declare_target-3.c: ...this.
   8190 	* testsuite/libgomp.c/examples-4/e.53.4.c: Renamed to...
   8191 	* testsuite/libgomp.c/examples-4/declare_target-4.c: ...this.
   8192 	* testsuite/libgomp.c/examples-4/e.53.5.c: Renamed to...
   8193 	* testsuite/libgomp.c/examples-4/declare_target-5.c: ...this.
   8194 	* testsuite/libgomp.c/examples-4/e.57.1.c: Renamed to...
   8195 	* testsuite/libgomp.c/examples-4/device-1.c: ...this.
   8196 	* testsuite/libgomp.c/examples-4/e.57.2.c: Renamed to...
   8197 	* testsuite/libgomp.c/examples-4/device-2.c: ...this.
   8198 	* testsuite/libgomp.c/examples-4/e.57.3.c: Renamed to...
   8199 	* testsuite/libgomp.c/examples-4/device-3.c: ...this.
   8200 	* testsuite/libgomp.c/examples-4/simd-1.c: New file.
   8201 	* testsuite/libgomp.c/examples-4/simd-2.c: New file.
   8202 	* testsuite/libgomp.c/examples-4/simd-3.c: New file.
   8203 	* testsuite/libgomp.c/examples-4/simd-4.c: New file.
   8204 	* testsuite/libgomp.c/examples-4/simd-5.c: New file.
   8205 	* testsuite/libgomp.c/examples-4/simd-6.c: New file.
   8206 	* testsuite/libgomp.c/examples-4/simd-7.c: New file.
   8207 	* testsuite/libgomp.c/examples-4/simd-8.c: New file.
   8208 	* testsuite/libgomp.c/examples-4/e.50.1.c: Renamed to...
   8209 	* testsuite/libgomp.c/examples-4/target-1.c: ...this.
   8210 	* testsuite/libgomp.c/examples-4/e.50.2.c: Renamed to...
   8211 	* testsuite/libgomp.c/examples-4/target-2.c: ...this.
   8212 	* testsuite/libgomp.c/examples-4/e.50.3.c: Renamed to...
   8213 	* testsuite/libgomp.c/examples-4/target-3.c: ...this.
   8214 	* testsuite/libgomp.c/examples-4/e.50.4.c: Renamed to...
   8215 	* testsuite/libgomp.c/examples-4/target-4.c: ...this.
   8216 	* testsuite/libgomp.c/examples-4/e.50.5.c: Renamed to...
   8217 	* testsuite/libgomp.c/examples-4/target-5.c: ...this.
   8218 	* testsuite/libgomp.c/examples-4/e.51.1.c: Renamed to...
   8219 	* testsuite/libgomp.c/examples-4/target_data-1.c: ...this.
   8220 	* testsuite/libgomp.c/examples-4/e.51.2.c: Renamed to...
   8221 	* testsuite/libgomp.c/examples-4/target_data-2.c: ...this.
   8222 	* testsuite/libgomp.c/examples-4/e.51.3.c: Renamed to...
   8223 	* testsuite/libgomp.c/examples-4/target_data-3.c: ...this.
   8224 	* testsuite/libgomp.c/examples-4/e.51.4.c: Renamed to...
   8225 	* testsuite/libgomp.c/examples-4/target_data-4.c: ...this.
   8226 	* testsuite/libgomp.c/examples-4/e.51.6.c: Renamed to...
   8227 	* testsuite/libgomp.c/examples-4/target_data-6.c: ...this.
   8228 	* testsuite/libgomp.c/examples-4/e.51.7.c: Renamed to...
   8229 	* testsuite/libgomp.c/examples-4/target_data-7.c: ...this.
   8230 	* testsuite/libgomp.c/examples-4/e.52.1.c: Renamed to...
   8231 	* testsuite/libgomp.c/examples-4/target_update-1.c: ...this.
   8232 	* testsuite/libgomp.c/examples-4/e.52.2.c: Renamed to...
   8233 	* testsuite/libgomp.c/examples-4/target_update-2.c: ...this.
   8234 	* testsuite/libgomp.c/examples-4/task_dep-1.c: New file.
   8235 	* testsuite/libgomp.c/examples-4/task_dep-2.c: New file.
   8236 	* testsuite/libgomp.c/examples-4/task_dep-3.c: New file.
   8237 	* testsuite/libgomp.c/examples-4/task_dep-4.c: New file.
   8238 	* testsuite/libgomp.c/examples-4/task_dep-5.c: New file.
   8239 	* testsuite/libgomp.c/examples-4/e.54.2.c: Renamed to...
   8240 	* testsuite/libgomp.c/examples-4/teams-2.c: ...this.
   8241 	* testsuite/libgomp.c/examples-4/e.54.3.c: Renamed to...
   8242 	* testsuite/libgomp.c/examples-4/teams-3.c: ...this.
   8243 	* testsuite/libgomp.c/examples-4/e.54.4.c: Renamed to...
   8244 	* testsuite/libgomp.c/examples-4/teams-4.c: ...this.
   8245 	* testsuite/libgomp.c/examples-4/e.54.5.c: Renamed to...
   8246 	* testsuite/libgomp.c/examples-4/teams-5.c: ...this.
   8247 	* testsuite/libgomp.c/examples-4/e.54.6.c: Renamed to...
   8248 	* testsuite/libgomp.c/examples-4/teams-6.c: ...this.
   8249 	* testsuite/libgomp.fortran/examples-4/e.56.3.f90: Renamed to...
   8250 	* testsuite/libgomp.fortran/examples-4/array_sections-3.f90: ...this.
   8251 	* testsuite/libgomp.fortran/examples-4/e.56.4.f90: Renamed to...
   8252 	* testsuite/libgomp.fortran/examples-4/array_sections-4.f90: ...this.
   8253 	* testsuite/libgomp.fortran/examples-4/e.55.1.f90: Renamed to...
   8254 	* testsuite/libgomp.fortran/examples-4/async_target-1.f90: ...this.
   8255 	* testsuite/libgomp.fortran/examples-4/e.55.2.f90: Renamed to...
   8256 	* testsuite/libgomp.fortran/examples-4/async_target-2.f90: ...this.
   8257 	(vec_mult): Add !$omp taskwait.
   8258 	* testsuite/libgomp.fortran/examples-4/e.53.1.f90: Renamed to...
   8259 	* testsuite/libgomp.fortran/examples-4/declare_target-1.f90: ...this.
   8260 	* testsuite/libgomp.fortran/examples-4/e.53.2.f90: Renamed to...
   8261 	* testsuite/libgomp.fortran/examples-4/declare_target-2.f90: ...this.
   8262 	* testsuite/libgomp.fortran/examples-4/e.53.3.f90: Renamed to...
   8263 	* testsuite/libgomp.fortran/examples-4/declare_target-3.f90: ...this.
   8264 	* testsuite/libgomp.fortran/examples-4/e.53.4.f90: Renamed to...
   8265 	* testsuite/libgomp.fortran/examples-4/declare_target-4.f90: ...this.
   8266 	* testsuite/libgomp.fortran/examples-4/e.53.5.f90: Renamed to...
   8267 	* testsuite/libgomp.fortran/examples-4/declare_target-5.f90: ...this.
   8268 	* testsuite/libgomp.fortran/examples-4/e.57.1.f90: Renamed to...
   8269 	* testsuite/libgomp.fortran/examples-4/device-1.f90: ...this.
   8270 	* testsuite/libgomp.fortran/examples-4/e.57.2.f90: Renamed to...
   8271 	* testsuite/libgomp.fortran/examples-4/device-2.f90: ...this.
   8272 	* testsuite/libgomp.fortran/examples-4/e.57.3.f90: Renamed to...
   8273 	* testsuite/libgomp.fortran/examples-4/device-3.f90: ...this.
   8274 	* testsuite/libgomp.fortran/examples-4/simd-1.f90: New file.
   8275 	* testsuite/libgomp.fortran/examples-4/simd-2.f90: New file.
   8276 	* testsuite/libgomp.fortran/examples-4/simd-3.f90: New file.
   8277 	* testsuite/libgomp.fortran/examples-4/simd-4.f90: New file.
   8278 	* testsuite/libgomp.fortran/examples-4/simd-5.f90: New file.
   8279 	* testsuite/libgomp.fortran/examples-4/simd-6.f90: New file.
   8280 	* testsuite/libgomp.fortran/examples-4/simd-7.f90: New file.
   8281 	* testsuite/libgomp.fortran/examples-4/simd-8.f90: New file.
   8282 	* testsuite/libgomp.fortran/examples-4/e.50.1.f90: Renamed to...
   8283 	* testsuite/libgomp.fortran/examples-4/target-1.f90: ...this.
   8284 	* testsuite/libgomp.fortran/examples-4/e.50.2.f90: Renamed to...
   8285 	* testsuite/libgomp.fortran/examples-4/target-2.f90: ...this.
   8286 	* testsuite/libgomp.fortran/examples-4/e.50.3.f90: Renamed to...
   8287 	* testsuite/libgomp.fortran/examples-4/target-3.f90: ...this.
   8288 	* testsuite/libgomp.fortran/examples-4/e.50.4.f90: Renamed to...
   8289 	* testsuite/libgomp.fortran/examples-4/target-4.f90: ...this.
   8290 	* testsuite/libgomp.fortran/examples-4/e.50.5.f90: Renamed to...
   8291 	* testsuite/libgomp.fortran/examples-4/target-5.f90: ...this.
   8292 	* testsuite/libgomp.fortran/examples-4/e.51.1.f90: Renamed to...
   8293 	* testsuite/libgomp.fortran/examples-4/target_data-1.f90: ...this.
   8294 	* testsuite/libgomp.fortran/examples-4/e.51.2.f90: Renamed to...
   8295 	* testsuite/libgomp.fortran/examples-4/target_data-2.f90: ...this.
   8296 	* testsuite/libgomp.fortran/examples-4/e.51.3.f90: Renamed to...
   8297 	* testsuite/libgomp.fortran/examples-4/target_data-3.f90: ...this.
   8298 	* testsuite/libgomp.fortran/examples-4/e.51.4.f90: Renamed to...
   8299 	* testsuite/libgomp.fortran/examples-4/target_data-4.f90: ...this.
   8300 	* testsuite/libgomp.fortran/examples-4/e.51.5.f90: Renamed to...
   8301 	* testsuite/libgomp.fortran/examples-4/target_data-5.f90: ...this.
   8302 	* testsuite/libgomp.fortran/examples-4/e.51.6.f90: Renamed to...
   8303 	* testsuite/libgomp.fortran/examples-4/target_data-6.f90: ...this.
   8304 	* testsuite/libgomp.fortran/examples-4/e.51.7.f90: Renamed to...
   8305 	* testsuite/libgomp.fortran/examples-4/target_data-7.f90: ...this.
   8306 	* testsuite/libgomp.fortran/examples-4/e.52.1.f90: Renamed to...
   8307 	* testsuite/libgomp.fortran/examples-4/target_update-1.f90: ...this.
   8308 	* testsuite/libgomp.fortran/examples-4/e.52.2.f90: Renamed to...
   8309 	* testsuite/libgomp.fortran/examples-4/target_update-2.f90: ...this.
   8310 	* testsuite/libgomp.fortran/examples-4/task_dep-1.f90: New file.
   8311 	* testsuite/libgomp.fortran/examples-4/task_dep-2.f90: New file.
   8312 	* testsuite/libgomp.fortran/examples-4/task_dep-3.f90: New file.
   8313 	* testsuite/libgomp.fortran/examples-4/task_dep-4.f90: New file.
   8314 	* testsuite/libgomp.fortran/examples-4/task_dep-5.f90: New file.
   8315 	* testsuite/libgomp.fortran/examples-4/e.54.2.f90: Renamed to...
   8316 	* testsuite/libgomp.fortran/examples-4/teams-2.f90: ...this.
   8317 	* testsuite/libgomp.fortran/examples-4/e.54.3.f90: Renamed to...
   8318 	* testsuite/libgomp.fortran/examples-4/teams-3.f90: ...this.
   8319 	* testsuite/libgomp.fortran/examples-4/e.54.4.f90: Renamed to...
   8320 	* testsuite/libgomp.fortran/examples-4/teams-4.f90: ...this.
   8321 	* testsuite/libgomp.fortran/examples-4/e.54.5.f90: Renamed to...
   8322 	* testsuite/libgomp.fortran/examples-4/teams-5.f90: ...this.
   8323 	* testsuite/libgomp.fortran/examples-4/e.54.6.f90: Renamed to...
   8324 	* testsuite/libgomp.fortran/examples-4/teams-6.f90: ...this.
   8325 
   8326 2015-07-10  Tom de Vries  <tom (a] codesourcery.com>
   8327 
   8328 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: New test.
   8329 	* testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: New test.
   8330 
   8331 2015-07-08  Thomas Schwinge  <thomas (a] codesourcery.com>
   8332 
   8333 	PR libgomp/65099
   8334 	* plugin/plugin-nvptx.c (nvptx_get_num_devices): Return 0 if not
   8335 	in a 64-bit configuration.
   8336 	* testsuite/libgomp.oacc-c++/c++.exp: Don't attempt nvidia
   8337 	offloading testing if no such device is available.
   8338 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   8339 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   8340 
   8341 2015-07-08  Tom de Vries  <tom (a] codesourcery.com>
   8342 
   8343 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Fix
   8344 	second call to f.
   8345 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
   8346 
   8347 2015-07-07  Tom de Vries  <tom (a] codesourcery.com>
   8348 
   8349 	PR tree-optimization/66642
   8350 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Test low
   8351 	iteration count case.
   8352 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c (init): New
   8353 	function, factor out of ...
   8354 	(main): ... here.  Test low iteration count case.
   8355 
   8356 2015-07-06  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   8357 
   8358 	* libgomp.h (gomp_thread_pool): Comment last_team field.
   8359 
   8360 2015-07-02  Uros Bizjak  <ubizjak (a] gmail.com>
   8361 
   8362 	* testsuite/libgomp.c++/pr66702-1.C: Require
   8363 	vect_simd_clones effective target.
   8364 	* testsuite/libgomp.c++/pr66702-2.C: Ditto.
   8365 
   8366 2015-06-30  Tom de Vries  <tom (a] codesourcery.com>
   8367 
   8368 	* testsuite/libgomp.oacc-c++/c++.exp: Set DEFAULT_CFLAGS to -O2 if not
   8369 	already set.  Use DEFAULT_CFLAGS in dg-runtest.
   8370 	* testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Remove dg-options
   8371 	"-O2".
   8372 
   8373 2015-06-30  Tom de Vries  <tom (a] codesourcery.com>
   8374 
   8375 	* testsuite/libgomp.c++/c++.exp: Set DEFAULT_CFLAGS to -O2 if not
   8376 	already set.  Use DEFAULT_CFLAGS in dg-runtest.
   8377 	* testsuite/libgomp.c++/atomic-16.C: Remove dg-options "-O2 -fopenmp".
   8378 	* testsuite/libgomp.c++/pr64824.C: Same.
   8379 	* testsuite/libgomp.c++/pr64868.C: Same.
   8380 	* testsuite/libgomp.c++/pr66199-1.C: Same.
   8381 	* testsuite/libgomp.c++/pr66199-2.C: Same.
   8382 	* testsuite/libgomp.c++/target-2.C: Same.
   8383 	* testsuite/libgomp.c++/for-7.C: Use dg-additional-options for
   8384 	-std=<standard> option.
   8385 	* testsuite/libgomp.c++/udr-11.C: Same.
   8386 	* testsuite/libgomp.c++/udr-12.C: Same.
   8387 	* testsuite/libgomp.c++/udr-13.C: Same.
   8388 	* testsuite/libgomp.c++/udr-14.C: Same.
   8389 	* testsuite/libgomp.c++/udr-15.C: Same.
   8390 	* testsuite/libgomp.c++/udr-16.C: Same.
   8391 	* testsuite/libgomp.c++/udr-17.C: Same.
   8392 	* testsuite/libgomp.c++/udr-18.C: Same.
   8393 	* testsuite/libgomp.c++/udr-19.C: Same.
   8394 	* testsuite/libgomp.c++/atomic-1.C: Remove dg-options "-O2".
   8395 	* testsuite/libgomp.c++/simd-1.C: Same.
   8396 	* testsuite/libgomp.c++/simd-2.C: Same.
   8397 	* testsuite/libgomp.c++/simd-3.C: Same.
   8398 	* testsuite/libgomp.c++/simd-4.C: Same.
   8399 	* testsuite/libgomp.c++/simd-5.C: Same.
   8400 	* testsuite/libgomp.c++/simd-6.C: Same.
   8401 	* testsuite/libgomp.c++/simd-7.C: Same.
   8402 	* testsuite/libgomp.c++/simd-8.C: Same.
   8403 	* testsuite/libgomp.c++/simd-9.C: Same.
   8404 	* testsuite/libgomp.c++/simd10.C: Same.
   8405 	* testsuite/libgomp.c++/simd11.C: Same.
   8406 	* testsuite/libgomp.c++/simd12.C: Same.
   8407 	* testsuite/libgomp.c++/simd13.C: Same.
   8408 
   8409 2015-06-30  Jakub Jelinek  <jakub (a] redhat.com>
   8410 
   8411 	PR middle-end/66702
   8412 	* testsuite/libgomp.c++/pr66702-1.C: New test.
   8413 	* testsuite/libgomp.c++/pr66702-2.C: New test.
   8414 
   8415 2015-06-30  Tom de Vries  <tom (a] codesourcery.com>
   8416 
   8417 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-5.c: New test.
   8418 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-6.c: New test.
   8419 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-7.c: New test.
   8420 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Update comment.
   8421 
   8422 2015-06-30  Tom de Vries  <tom (a] codesourcery.com>
   8423 
   8424 	PR tree-optimization/66652
   8425 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (f): Rewrite
   8426 	using restrict pointers.
   8427 	(main): Add arguments to calls to f.
   8428 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
   8429 
   8430 2015-06-23  Andreas Tobler  <andreast (a] gcc.gnu.org>
   8431 
   8432 	* configure.ac: Fix check for header <sys/sysctl.h>.
   8433 	* configure: Regenerate.
   8434 	* config.h.in: Likewise.
   8435 
   8436 2015-06-23  Tom de Vries  <tom (a] codesourcery.com>
   8437 
   8438 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use
   8439 	abort.
   8440 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same.
   8441 
   8442 2015-06-19  Thomas Schwinge  <thomas (a] codesourcery.com>
   8443 
   8444 	* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Only consider for
   8445 	acc_device_nvidia.
   8446 
   8447 	PR libgomp/66518
   8448 	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: XFAIL.
   8449 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   8450 
   8451 2015-06-15  Tom de Vries  <tom (a] codesourcery.com>
   8452 
   8453 	* testsuite/libgomp.c/atomic-1.c: Remove dg-options "-O2".  Use
   8454 	dg-additional-options for any remaining options.
   8455 	* testsuite/libgomp.c/atomic-2.c: Same.
   8456 	* testsuite/libgomp.c/atomic-4.c: Same.
   8457 	* testsuite/libgomp.c/atomic-5.c: Same.
   8458 	* testsuite/libgomp.c/atomic-6.c: Same.
   8459 	* testsuite/libgomp.c/autopar-1.c: Same.
   8460 	* testsuite/libgomp.c/copyin-1.c: Same.
   8461 	* testsuite/libgomp.c/copyin-2.c: Same.
   8462 	* testsuite/libgomp.c/copyin-3.c: Same.
   8463 	* testsuite/libgomp.c/examples-4/e.53.5.c: Same.
   8464 	* testsuite/libgomp.c/nestedfn-5.c: Same.
   8465 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Same.
   8466 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Same.
   8467 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: Same.
   8468 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
   8469 	* testsuite/libgomp.c/pr32362-1.c: Same.
   8470 	* testsuite/libgomp.c/pr32362-2.c: Same.
   8471 	* testsuite/libgomp.c/pr32362-3.c: Same.
   8472 	* testsuite/libgomp.c/pr39591-1.c: Same.
   8473 	* testsuite/libgomp.c/pr39591-2.c: Same.
   8474 	* testsuite/libgomp.c/pr39591-3.c: Same.
   8475 	* testsuite/libgomp.c/pr58392.c: Same.
   8476 	* testsuite/libgomp.c/pr58756.c: Same.
   8477 	* testsuite/libgomp.c/simd-1.c: Same.
   8478 	* testsuite/libgomp.c/simd-10.c: Same.
   8479 	* testsuite/libgomp.c/simd-11.c: Same.
   8480 	* testsuite/libgomp.c/simd-12.c: Same.
   8481 	* testsuite/libgomp.c/simd-13.c: Same.
   8482 	* testsuite/libgomp.c/simd-14.c: Same.
   8483 	* testsuite/libgomp.c/simd-15.c: Same.
   8484 	* testsuite/libgomp.c/simd-2.c: Same.
   8485 	* testsuite/libgomp.c/simd-3.c: Same.
   8486 	* testsuite/libgomp.c/simd-4.c: Same.
   8487 	* testsuite/libgomp.c/simd-5.c: Same.
   8488 	* testsuite/libgomp.c/simd-6.c: Same.
   8489 	* testsuite/libgomp.c/simd-7.c: Same.
   8490 	* testsuite/libgomp.c/simd-8.c: Same.
   8491 	* testsuite/libgomp.c/simd-9.c: Same.
   8492 
   8493 2015-06-15  Tom de Vries  <tom (a] codesourcery.com>
   8494 
   8495 	* testsuite/libgomp.c/pr35625.c: Fix typo.
   8496 
   8497 2015-06-15  Tom de Vries  <tom (a] codesourcery.com>
   8498 
   8499 	* testsuite/libgomp.c/atomic-18.c: Remove superfluous -fopenmp setting
   8500 	in dg-options.
   8501 	* testsuite/libgomp.c/atomic-3.c: Same.
   8502 	* testsuite/libgomp.c/debug-1.c: Same.
   8503 	* testsuite/libgomp.c/nqueens-1.c: Same.
   8504 	* testsuite/libgomp.c/pr26171.c: Same.
   8505 	* testsuite/libgomp.c/pr48591.c: Same.
   8506 	* testsuite/libgomp.c/pr64824.c: Same.
   8507 	* testsuite/libgomp.c/pr64868.c: Same.
   8508 	* testsuite/libgomp.c/pr66133.c: Same.
   8509 	* testsuite/libgomp.c/pr66199-1.c: Same.
   8510 	* testsuite/libgomp.c/pr66199-2.c: Same.
   8511 	* testsuite/libgomp.c/target-8.c: Same.
   8512 
   8513 2015-06-15  Tom de Vries  <tom (a] codesourcery.com>
   8514 
   8515 	* testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for
   8516 	-std={gnu99,c99}.
   8517 	* testsuite/libgomp.c/for-1.c: Same.
   8518 	* testsuite/libgomp.c/for-2.c: Same.
   8519 	* testsuite/libgomp.c/for-3.c: Same.
   8520 	* testsuite/libgomp.c/pr35625.c: Same.
   8521 	* testsuite/libgomp.c/pr39154.c: Same.
   8522 	* testsuite/libgomp.c/simd-16.c: Same.
   8523 	* testsuite/libgomp.c/simd-17.c: Same.
   8524 
   8525 2015-06-13  Tom de Vries  <tom (a] codesourcery.com>
   8526 
   8527 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: New test.
   8528 
   8529 2015-06-13  Tom de Vries  <tom (a] codesourcery.com>
   8530 
   8531 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Add comment.
   8532 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
   8533 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Add comment.
   8534 	(N): Define.
   8535 	(main): Use N instead of hardcoded constants.
   8536 
   8537 2015-06-05  Tom de Vries  <tom (a] codesourcery.com>
   8538 
   8539 	merge from gomp4 branch:
   8540 	2015-05-28  Tom de Vries  <tom (a] codesourcery.com>
   8541 
   8542 	PR tree-optimization/65443
   8543 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: New test.
   8544 	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: New test.
   8545 	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: New test.
   8546 
   8547 2015-05-29  Bernhard Reutner-Fischer  <aldot (a] gcc.gnu.org>
   8548 
   8549 	* testsuite/libgomp.graphite/bounds.c: Adjust for
   8550 	cleanup-tree-dump removal.
   8551 	* testsuite/libgomp.graphite/force-parallel-1.c: Likewise.
   8552 	* testsuite/libgomp.graphite/force-parallel-2.c: Likewise.
   8553 	* testsuite/libgomp.graphite/force-parallel-3.c: Likewise.
   8554 	* testsuite/libgomp.graphite/force-parallel-4.c: Likewise.
   8555 	* testsuite/libgomp.graphite/force-parallel-5.c: Likewise.
   8556 	* testsuite/libgomp.graphite/force-parallel-6.c: Likewise.
   8557 	* testsuite/libgomp.graphite/force-parallel-7.c: Likewise.
   8558 	* testsuite/libgomp.graphite/force-parallel-8.c: Likewise.
   8559 	* testsuite/libgomp.graphite/force-parallel-9.c: Likewise.
   8560 	* testsuite/libgomp.graphite/pr41118.c: Likewise.
   8561 
   8562 2015-05-28  Uros Bizjak  <ubizjak (a] gmail.com>
   8563 
   8564 	* config/linux/x86/futex.h (sys_futex0) [!__x86_64__]: Remove function.
   8565 	(futex_wait) [!__x86_64__]: Use __asm operand instead of sys_futex0.
   8566 	(futex_wake) [!__x86_64__]: Ditto.
   8567 
   8568 2015-05-28  Julian Brown  <julian (a] codesourcery.com>
   8569 
   8570 	* oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. Update
   8571 	function comment. Only call gomp_fatal if new argument is true.
   8572 	(acc_dev_num_out_of_range): New function.
   8573 	(acc_init_1, acc_shutdown_1): Update call to resolve_device. Call
   8574 	acc_dev_num_out_of_range as appropriate.
   8575 	(acc_get_num_devices, acc_set_device_type, acc_get_device_type)
   8576 	(acc_get_device_num, acc_set_device_num): Update calls to
   8577 	resolve_device.
   8578 	* testsuite/libgomp.oacc-c-c++-common/lib-4.c: Update expected test
   8579 	output.
   8580 
   8581 2015-05-28  Julian Brown  <julian (a] codesourcery.com>
   8582 
   8583 	PR libgomp/65742
   8584 	* oacc-init.c (plugin/plugin-host.h): Include.
   8585 	(acc_on_device): Check whether we're in an offloaded region for
   8586 	host_nonshm
   8587 	plugin. Don't use __builtin_acc_on_device.
   8588 	* plugin/plugin-host.c (GOMP_OFFLOAD_openacc_parallel): Set
   8589 	nonshm_exec flag in thread-local data.
   8590 	(GOMP_OFFLOAD_openacc_create_thread_data): Allocate thread-local
   8591 	data for host_nonshm plugin.
   8592 	(GOMP_OFFLOAD_openacc_destroy_thread_data): Free thread-local data
   8593 	for host_nonshm plugin.
   8594 	* plugin/plugin-host.h: New.
   8595 
   8596 2015-05-27  Uros Bizjak  <ubizjak (a] gmail.com>
   8597 
   8598 	* config/linux/ia64/futex.h (sys_futex0) Change operand "op" to int.
   8599 
   8600 2015-05-27  Uros Bizjak  <ubizjak (a] gmail.com>
   8601 
   8602 	* config/linux/wait.h (gomp_futex_wait, gomp_futex_wake):
   8603 	Declare as int.
   8604 	(FUTEX_PRIVATE_FLAG): Remove L suffix.
   8605 	* config/linux/mutex.c (gomp_futex_wait, gomp_futex_wake):
   8606 	Declare as int.
   8607 
   8608 2015-05-27  Uros Bizjak  <ubizjak (a] gmail.com>
   8609 
   8610 	* config/linux/x86/futex.h (sys_futex0) [__PIC__]: Remove function.
   8611 
   8612 2015-05-27  Chung-Lin Tang  <cltang (a] codesourcery.com>
   8613 
   8614 	* target.c (gomp_map_pointer): New function abstracting out
   8615 	GOMP_MAP_POINTER handling.
   8616 	(gomp_map_vars): Remove GOMP_MAP_POINTER handling code and use
   8617 	gomp_map_pointer().
   8618 
   8619 2015-05-19  Jakub Jelinek  <jakub (a] redhat.com>
   8620 
   8621 	PR middle-end/66199
   8622 	* testsuite/libgomp.c/pr66199-1.c: New test.
   8623 	* testsuite/libgomp.c/pr66199-2.c: New test.
   8624 	* testsuite/libgomp.c++/pr66199-1.C: New test.
   8625 	* testsuite/libgomp.c++/pr66199-2.C: New test.
   8626 	* testsuite/libgomp.fortran/pr66199-1.f90: New test.
   8627 	* testsuite/libgomp.fortran/pr66199-2.f90: New test.
   8628 
   8629 2015-05-19  Julian Brown  <julian (a] codesourcery.com>
   8630 
   8631 	* plugin/plugin-nvptx.c (nvptx_get_num_devices): Return zero
   8632 	on cuInit failure.
   8633 
   8634 2015-05-13  Jakub Jelinek  <jakub (a] redhat.com>
   8635 
   8636 	PR middle-end/66133
   8637 	* testsuite/libgomp.c/pr66133.c: New test.
   8638 
   8639 2015-05-13  Michael Haubenwallner  <michael.haubenwallner (a] ssi-schaefer.com>
   8640 
   8641 	* Makefile.in: Regenerated with automake-1.11.6.
   8642 	* aclocal.m4: Likewise.
   8643 	* config.h.in: Likewise.
   8644 	* configure: Likewise.
   8645 	* testsuite/Makefile.in: Likewise.
   8646 
   8647 2015-05-08  Jason Merrill  <jason (a] redhat.com>
   8648 
   8649 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use
   8650 	_Complex.
   8651 
   8652 	* openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
   8653 
   8654 2015-05-06  Julian Brown  <julian (a] codesourcery.com>
   8655 
   8656 	* oacc-init.c (acc_device_lock): Add explanatory comment.
   8657 	(resolve_device): Add comment about locking requirement.
   8658 	(acc_init_1, acc_shutdown_1): Likewise. Add locking around
   8659 	gomp_init_device and gomp_fini_device calls.
   8660 	(acc_get_num_devices, acc_set_device_type, acc_get_device_type)
   8661 	(acc_get_device_num, acc_set_device_num): Add locking around
   8662 	resolve_device and gomp_init_device calls.
   8663 
   8664 2015-05-06  Julian Brown  <julian (a] codesourcery.com>
   8665 
   8666 	* oacc-init.c (acc_shutdown_1): Call gomp_mutex_unlock for
   8667 	goacc_thread_lock on error paths.
   8668 	* oacc-mem.c (lookup_host): Remove locking from function. Note
   8669 	locking requirement for caller in function comment.
   8670 	(lookup_dev): Likewise.
   8671 	(acc_free, acc_deviceptr, acc_hostptr, acc_is_present)
   8672 	(acc_map_data, acc_unmap_data, present_create_copy, delete_copyout)
   8673 	(update_dev_host, gomp_acc_insert_pointer, gomp_acc_remove_pointer):
   8674 	Add locking.
   8675 
   8676 2015-05-05  Thomas Schwinge  <thomas (a] codesourcery.com>
   8677 
   8678 	PR testsuite/65205
   8679 	PR libgomp/65993
   8680 	* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: In dg-output,
   8681 	don't expect "0x" prefix for "%p" format specifier, don't expect
   8682 	"(nil)" for NULL pointer.
   8683 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   8684 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
   8685 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   8686 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
   8687 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
   8688 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
   8689 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   8690 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   8691 	* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
   8692 	* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
   8693 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
   8694 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
   8695 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   8696 	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
   8697 	* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
   8698 	* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
   8699 	* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
   8700 	* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
   8701 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   8702 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
   8703 	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
   8704 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
   8705 	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
   8706 	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
   8707 	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
   8708 	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
   8709 	* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
   8710 	* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
   8711 	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: More
   8712 	accurately specify what we're looking for.
   8713 	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
   8714 	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
   8715 	* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
   8716 	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
   8717 	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
   8718 
   8719 2015-04-30  James Norris  <jnorris (a] codesourcery.com>
   8720 
   8721 	PR testsuite/65205
   8722 	* testsuite/lib/libgomp.exp
   8723 	(check_effective_target_openacc_host_selected)
   8724 	(check_effective_target_openacc_host_nonshm_selected): New
   8725 	procedures.
   8726 	* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Fix misuse of
   8727 	dg-shouldfail.
   8728 	* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise.
   8729 	* testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise.
   8730 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   8731 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
   8732 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   8733 	* testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise.
   8734 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
   8735 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
   8736 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
   8737 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   8738 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   8739 	* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
   8740 	* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
   8741 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
   8742 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
   8743 	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise.
   8744 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   8745 	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
   8746 	* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
   8747 	* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
   8748 	* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
   8749 	* testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise.
   8750 	* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
   8751 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   8752 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
   8753 	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
   8754 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
   8755 	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
   8756 	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
   8757 	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
   8758 	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
   8759 	* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
   8760 	* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
   8761 	* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise.
   8762 	* testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise.
   8763 	* testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise.
   8764 	* testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise.
   8765 	* testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise.
   8766 	* testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise.
   8767 	* testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise.
   8768 	* testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise.
   8769 	* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise.
   8770 	* testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise.
   8771 
   8772 2015-04-08  Julian Brown  <julian (a] codesourcery.com>
   8773 
   8774 	* libgomp.h (target_mem_desc: Remove mem_map field.
   8775 	(acc_dispatch_t): Remove open_device_func, close_device_func,
   8776 	get_device_num_func, set_device_num_func, target_data members.
   8777 	Change create_thread_data_func argument to device number instead of
   8778 	generic pointer.
   8779 	* oacc-async.c (assert.h): Include.
   8780 	(acc_async_test, acc_async_test_all, acc_wait, acc_wait_async)
   8781 	(acc_wait_all, acc_wait_all_async): Use current host thread's
   8782 	active device, not base_dev.
   8783 	* oacc-cuda.c (acc_get_current_cuda_device)
   8784 	(acc_get_current_cuda_context, acc_get_cuda_stream)
   8785 	(acc_set_cuda_stream): Likewise.
   8786 	* oacc-host.c (host_dispatch): Don't set open_device_func,
   8787 	close_device_func, get_device_num_func or set_device_num_func.
   8788 	* oacc-init.c (base_dev, init_key): Remove.
   8789 	(cached_base_dev): New.
   8790 	(name_of_acc_device_t): New.
   8791 	(acc_init_1): Initialise default-numbered device, not zeroth.
   8792 	(acc_shutdown_1): Close all devices of a given type.
   8793 	(goacc_destroy_thread): Don't use base_dev.
   8794 	(lazy_open, lazy_init, lazy_init_and_open): Remove.
   8795 	(goacc_attach_host_thread_to_device): New.
   8796 	(acc_init): Reimplement with goacc_attach_host_thread_to_device.
   8797 	(acc_get_num_devices): Don't use base_dev.
   8798 	(acc_set_device_type): Reimplement.
   8799 	(acc_get_device_type): Don't use base_dev.
   8800 	(acc_get_device_num): Tweak logic.
   8801 	(acc_set_device_num): Likewise.
   8802 	(acc_on_device): Use acc_get_device_type.
   8803 	(goacc_runtime_initialize): Initialize cached_base_dev not base_dev.
   8804 	(goacc_lazy_initialize): Reimplement with acc_init and
   8805 	goacc_attach_host_thread_to_device.
   8806 	* oacc-int.h (goacc_thread): Add base_dev field.
   8807 	(base_dev): Remove extern declaration.
   8808 	(goacc_attach_host_thread_to_device): Add prototype.
   8809 	* oacc-mem.c (acc_malloc): Use current thread's device instead of
   8810 	base_dev.
   8811 	(acc_free): Likewise.
   8812 	(acc_memcpy_to_device): Likewise.
   8813 	(acc_memcpy_from_device): Likewise.
   8814 	* oacc-parallel.c (select_acc_device): Remove. Replace calls with
   8815 	goacc_lazy_initialize (throughout).
   8816 	(GOACC_parallel): Use tgt_offset to locate target functions.
   8817 	* target.c (gomp_map_vars): Don't set tgt->mem_map.
   8818 	(gomp_unmap_vars): Use devicep->mem_map pointer not tgt->mem_map.
   8819 	(gomp_load_plugin_for_device): Remove open_device, close_device,
   8820 	get_device_num, set_device_num openacc hook initialisation. Don't set
   8821 	openacc.target_data.
   8822 	* plugin/plugin-host.c (GOMP_OFFLOAD_openacc_open_device)
   8823 	(GOMP_OFFLOAD_openacc_close_device)
   8824 	(GOMP_OFFLOAD_openacc_get_device_num)
   8825 	(GOMP_OFFLOAD_openacc_set_device_num): Remove.
   8826 	(GOMP_OFFLOAD_openacc_create_thread_data): Change (unused) argument
   8827 	to int.
   8828 	* plugin/plugin-nvptx.c (ptx_inited): Remove.
   8829 	(instantiated_devices, ptx_dev_lock): New.
   8830 	(struct ptx_image_data): New.
   8831 	(ptx_devices, ptx_images, ptx_image_lock): New.
   8832 	(fini_streams_for_device): Reorder cuStreamDestroy call.
   8833 	(nvptx_get_num_devices): Remove forward declaration.
   8834 	(nvptx_init): Change return type to bool.
   8835 	(nvptx_fini): Remove.
   8836 	(nvptx_attach_host_thread_to_device): New.
   8837 	(nvptx_open_device): Return struct ptx_device* instead of void*.
   8838 	(nvptx_close_device): Change argument type to struct ptx_device*,
   8839 	return type to void.
   8840 	(nvptx_get_num_devices): Use instantiated_devices not ptx_inited.
   8841 	(kernel_target_data, kernel_host_table): Remove static globals.
   8842 	(GOMP_OFFLOAD_register_image, GOMP_OFFLOAD_get_table): Remove.
   8843 	(GOMP_OFFLOAD_init_device): Reimplement.
   8844 	(GOMP_OFFLOAD_fini_device): Likewise.
   8845 	(GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): New.
   8846 	(GOMP_OFFLOAD_alloc, GOMP_OFFLOAD_free, GOMP_OFFLOAD_dev2host)
   8847 	(GOMP_OFFLOAD_host2dev): Use ORD argument.
   8848 	(GOMP_OFFLOAD_openacc_open_device)
   8849 	(GOMP_OFFLOAD_openacc_close_device)
   8850 	(GOMP_OFFLOAD_openacc_set_device_num)
   8851 	(GOMP_OFFLOAD_openacc_get_device_num): Remove.
   8852 	(GOMP_OFFLOAD_openacc_create_thread_data): Change argument to int
   8853 	(device number).
   8854 
   8855 	testsuite/
   8856 	* libgomp.oacc-c-c++-common/lib-9.c: Fix devnum check in test.
   8857 
   8858 2015-04-06  Ilya Verbin  <ilya.verbin (a] intel.com>
   8859 
   8860 	* libgomp-plugin.h (struct mapping_table): Replace with addr_pair.
   8861 	* libgomp.h (struct gomp_memory_mapping): Remove.
   8862 	(struct target_mem_desc): Change type of mem_map from
   8863 	gomp_memory_mapping * to splay_tree_s *.
   8864 	(struct gomp_device_descr): Remove register_image_func, get_table_func.
   8865 	Add load_image_func, unload_image_func.
   8866 	Change type of mem_map from gomp_memory_mapping to splay_tree_s.
   8867 	Remove offload_regions_registered.
   8868 	(gomp_init_tables): Remove.
   8869 	(gomp_free_memmap): Change type of argument from gomp_memory_mapping *
   8870 	to splay_tree_s *.
   8871 	* libgomp.map (GOMP_4.0.1): Add GOMP_offload_unregister.
   8872 	* oacc-host.c (host_dispatch): Do not initialize register_image_func,
   8873 	get_table_func, mem_map.is_initialized, mem_map.splay_tree.root,
   8874 	offload_regions_registered.
   8875 	Initialize load_image_func, unload_image_func, mem_map.root.
   8876 	(goacc_host_init): Do not initialize host_dispatch.mem_map.lock.
   8877 	* oacc-init.c (lazy_open): Don't call gomp_init_tables.
   8878 	(acc_shutdown_1): Use dev's lock and splay_tree instead of mem_map's.
   8879 	* oacc-mem.c (lookup_host): Get gomp_device_descr *dev instead of
   8880 	gomp_memory_mapping *.  Use dev's lock and splay_tree.
   8881 	(lookup_dev): Use dev's lock.
   8882 	(acc_deviceptr): Pass dev to lookup_host instead of mem_map.
   8883 	(acc_is_present): Likewise.
   8884 	(acc_map_data): Likewise.
   8885 	(acc_unmap_data): Likewise.  Use dev's lock.
   8886 	(present_create_copy): Likewise.
   8887 	(delete_copyout): Pass dev to lookup_host instead of mem_map.
   8888 	(update_dev_host): Likewise.
   8889 	(gomp_acc_remove_pointer): Likewise.  Use dev's lock.
   8890 	* oacc-parallel.c (GOACC_parallel): Use dev's lock and splay_tree.
   8891 	* plugin/plugin-host.c (GOMP_OFFLOAD_register_image): Remove.
   8892 	(GOMP_OFFLOAD_get_table): Remove
   8893 	(GOMP_OFFLOAD_load_image): New function.
   8894 	(GOMP_OFFLOAD_unload_image): New function.
   8895 	* target.c (register_lock): New mutex for offload image registration.
   8896 	(num_devices): Do not guard with PLUGIN_SUPPORT.
   8897 	(gomp_realloc_unlock): New static function.
   8898 	(gomp_map_vars_existing): Add device descriptor argument.  Unlock mutex
   8899 	before gomp_fatal.
   8900 	(gomp_map_vars): Use dev's lock and splay_tree instead of mem_map's.
   8901 	Pass devicep to gomp_map_vars_existing.  Unlock mutex before gomp_fatal.
   8902 	(gomp_copy_from_async): Use dev's lock and splay_tree instead of
   8903 	mem_map's.
   8904 	(gomp_unmap_vars): Likewise.
   8905 	(gomp_update): Remove gomp_memory_mapping argument.  Use dev's lock and
   8906 	splay_tree instead of mm's.  Unlock mutex before gomp_fatal.
   8907 	(gomp_offload_image_to_device): New static function.
   8908 	(GOMP_offload_register): Add mutex lock.
   8909 	Call gomp_offload_image_to_device for all initialized devices.
   8910 	Replace gomp_realloc with gomp_realloc_unlock.
   8911 	(GOMP_offload_unregister): New function.
   8912 	(gomp_init_tables): Replace with gomp_init_device.  Replace a call to
   8913 	get_table_func from the plugin with calls to init_device_func and
   8914 	gomp_offload_image_to_device.
   8915 	(gomp_free_memmap): Change type of argument from gomp_memory_mapping *
   8916 	to splay_tree_s *.
   8917 	(GOMP_target): Do not call gomp_init_tables.  Use dev's lock and
   8918 	splay_tree instead of mem_map's.  Unlock mutex before gomp_fatal.
   8919 	(GOMP_target_data): Do not call gomp_init_tables.
   8920 	(GOMP_target_update): Likewise.  Remove argument from gomp_update.
   8921 	(gomp_load_plugin_for_device): Replace register_image and get_table
   8922 	with load_image and unload_image in DLSYM ().
   8923 	(gomp_register_images_for_device): Remove function.
   8924 	(gomp_target_init): Do not initialize current_device.mem_map.*,
   8925 	current_device.offload_regions_registered.
   8926 	Remove call to gomp_register_images_for_device.
   8927 	Do not free offload_images and num_offload_images.
   8928 
   8929 2015-03-30  Jakub Jelinek  <jakub (a] redhat.com>
   8930 
   8931 	PR fortran/65597
   8932 	* testsuite/libgomp.fortran/pr65597.f90: New test.
   8933 
   8934 2015-03-27  Tom de Vries  <tom (a] codesourcery.com>
   8935 
   8936 	PR testsuite/65594
   8937 	* testsuite/libgomp.graphite/force-parallel-6.c (abort): Declare.
   8938 	(init, check): New function.
   8939 	(foo): Change return type to void.
   8940 	(main): Call init and check.
   8941 
   8942 2015-03-27  Tom de Vries  <tom (a] codesourcery.com>
   8943 
   8944 	PR testsuite/65594
   8945 	* testsuite/libgomp.graphite/force-parallel-6.c (M): Define.
   8946 	(foo): Use M for non-inner loops to scale down test-case.
   8947 
   8948 2015-03-25  Kai Tietz  <ktietz (a] redhat.com>
   8949 
   8950 	PR libgomp/64972
   8951 	* oacc-parallel.c (GOACC_parallel): Use PRIu64 if available.
   8952 	(GOACC_data_start): Likewise.
   8953 	* target.c (gomp_map_vars): Likewise.
   8954 
   8955 2015-03-21  John David Anglin  <danglin (a] gcc.gnu.org>
   8956 
   8957 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on
   8958 	hppa*-*-hpux*.
   8959 
   8960 2015-03-19  Jakub Jelinek  <jakub (a] redhat.com>
   8961 
   8962 	* testsuite/libgomp.c/target-10.c: New test.
   8963 	* testsuite/libgomp.c++/target-4.C: New test.
   8964 
   8965 2015-03-13  Ilya Verbin  <ilya.verbin (a] intel.com>
   8966 
   8967 	* testsuite/libgomp.fortran/declare-target-1.f90: New test.
   8968 	* testsuite/libgomp.fortran/declare-target-2.f90: New file.
   8969 
   8970 2015-03-13  Sebastian Huber  <sebastian.huber (a] embedded-brains.de>
   8971 
   8972 	* configure.tgt (*-*-rtems*): Use local-exec TLS model.
   8973 	* configure.ac (*-*-rtems*): Assume Pthread is supported.
   8974 	(pthread.h): Check for this header file.
   8975 	* configure: Regenerate.
   8976 
   8977 2015-02-25  Tom de Vries  <tom (a] codesourcery.com>
   8978 
   8979 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c (DO_PRAGMA)
   8980 	(check_reduction_op, check_reduction_macro, max, min):
   8981 	Declare.
   8982 	(test_reductions_int, test_reductions_minmax, test_reductions_bool): New
   8983 	function.
   8984 	(main): Use new functions.
   8985 
   8986 2015-02-18  Ilya Tocar  <ilya.tocar (a] intel.com>
   8987 
   8988 	* target.c (gomp_load_plugin_for_device): Use const char * instead of
   8989 	char * for variables holding dlerror return values.
   8990 	(DLSYM_OPT): Ditto.
   8991 
   8992 2015-02-17  Thomas Schwinge  <thomas (a] codesourcery.com>
   8993 
   8994 	* libgomp-plugin.c (GOMP_PLUGIN_debug): Fix typo.
   8995 
   8996 2015-02-17  Thomas Schwinge  <thomas (a] codesourcery.com>
   8997 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   8998 
   8999 	* oacc-ptx.h (GOACC_INTERNAL_PTX): Add GOACC_tid, GOACC_ntid,
   9000 	GOACC_ctaid, and GOACC_nctaid routines.
   9001 
   9002 2015-02-11  Jakub Jelinek  <jakub (a] redhat.com>
   9003 
   9004 	PR c/64824
   9005 	* testsuite/libgomp.c/atomic-18.c: New test.
   9006 	* testsuite/libgomp.c++/atomic-16.C: New test.
   9007 
   9008 2015-02-04  Jakub Jelinek  <jakub (a] redhat.com>
   9009 
   9010 	PR c/64824
   9011 	PR c/64868
   9012 	* testsuite/libgomp.c/pr64824.c: New test.
   9013 	* testsuite/libgomp.c/pr64868.c: New test.
   9014 	* testsuite/libgomp.c++/pr64824.C: New test.
   9015 	* testsuite/libgomp.c++/pr64868.C: New test.
   9016 
   9017 2015-02-01  David Edelsohn  <dje.gcc (a] gmail.com>
   9018 
   9019 	PR libgomp/64635
   9020 	* configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h.
   9021 	Link with -lpthread.
   9022 	* config/aix/plugin-suffix.h: Delete.
   9023 
   9024 2015-01-28  Jack Howarth  <howarth.at.gcc (a] gmail.com>
   9025 
   9026 	PR libgomp/64635
   9027 	* configure.tgt (*-*-aix*): Use config_path "aix posix".
   9028 	(*-*-darwin*): Use config_path "bsd darwin posix".
   9029 	(*-*-hpux*): Use config_path "hpux posix".
   9030 	* target.c: Add include of plugin-suffix.h and use
   9031 	SONAME_SUFFIX macro.
   9032 	* config/aix/plugin-suffix.h: New file.
   9033 	* config/darwin/plugin-suffix.h: New file.
   9034 	* config/hpux/plugin-suffix.h: New file.
   9035 	* config/posix/plugin-suffix.h: New file.
   9036 
   9037 2015-01-23  Jakub Jelinek  <jakub (a] redhat.com>
   9038 
   9039 	PR middle-end/64734
   9040 	* libgomp.c/pr64734.c: New test.
   9041 
   9042 2015-01-23  Tom de Vries  <tom (a] codesourcery.com>
   9043 
   9044 	PR libgomp/64672
   9045 	* testsuite/libgomp.oacc-c-c++-common/abort-5.c: New test.
   9046 
   9047 2015-01-23  Tom de Vries  <tom (a] codesourcery.com>
   9048 
   9049 	PR libgomp/64707
   9050 	* testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to
   9051 	dg-options.
   9052 
   9053 2015-01-19  Thomas Schwinge  <thomas (a] codesourcery.com>
   9054 
   9055 	PR libgomp/64625
   9056 	* libgomp_g.h (GOACC_data_start, GOACC_enter_exit_data)
   9057 	(GOACC_parallel, GOACC_update): Remove const_void *offload_table
   9058 	formal parameter.  Update all users.
   9059 	* target.c (GOMP_target, GOMP_target_data, GOMP_target_update):
   9060 	Document unused formal parameter.
   9061 
   9062 2015-01-16  Thomas Schwinge  <thomas (a] codesourcery.com>
   9063 
   9064 	* oacc-parallel.c: Don't include <alloca.h>.
   9065 	(GOACC_parallel): Use gomp_alloca instead of alloca.
   9066 
   9067 2015-01-16  Gerald Pfeifer  <gerald (a] pfeifer.com>
   9068 
   9069 	* target.c (num_devices): Guard with PLUGIN_SUPPORT.
   9070 
   9071 2015-01-15  Thomas Schwinge  <thomas (a] codesourcery.com>
   9072 	    James Norris  <jnorris (a] codesourcery.com>
   9073 	    Tom de Vries  <tom (a] codesourcery.com>
   9074 	    Julian Brown  <julian (a] codesourcery.com>
   9075 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   9076 	    Nathan Sidwell  <nathan (a] codesourcery.com>
   9077 	    Tobias Burnus  <burnus (a] net-b.de>
   9078 
   9079 	* Makefile.am (search_path): Add $(top_srcdir)/../include.
   9080 	(libgomp_la_SOURCES): Add splay-tree.c, libgomp-plugin.c,
   9081 	oacc-parallel.c, oacc-host.c, oacc-init.c, oacc-mem.c,
   9082 	oacc-async.c, oacc-plugin.c, oacc-cuda.c.
   9083 	[USE_FORTRAN] (libgomp_la_SOURCES): Add openacc.f90.
   9084 	Include $(top_srcdir)/plugin/Makefrag.am.
   9085 	(nodist_libsubinclude_HEADERS): Add openacc.h.
   9086 	[USE_FORTRAN] (nodist_finclude_HEADERS): Add openacc_lib.h,
   9087 	openacc.f90, openacc.mod, openacc_kinds.mod.
   9088 	(omp_lib.mod): Generalize into...
   9089 	(%.mod): ... this new rule.
   9090 	(openacc_kinds.mod, openacc.mod): New rules.
   9091 	* plugin/configfrag.ac: New file.
   9092 	* configure.ac: Move plugin/offloading support into it.  Include
   9093 	it.  Instantiate testsuite/libgomp-test-support.pt.exp.
   9094 	* plugin/Makefrag.am: New file.
   9095 	* testsuite/Makefile.am (OFFLOAD_TARGETS)
   9096 	(OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS): Don't
   9097 	export.
   9098 	(libgomp-test-support.exp): New rule.
   9099 	(all-local): Depend on it.
   9100 	* Makefile.in: Regenerate.
   9101 	* testsuite/Makefile.in: Regenerate.
   9102 	* config.h.in: Likewise.
   9103 	* configure: Likewise.
   9104 	* configure.tgt: Harden shell syntax.
   9105 	* env.c: Include "oacc-int.h".
   9106 	(parse_acc_device_type): New function.
   9107 	(gomp_debug_var, goacc_device_type, goacc_device_num): New
   9108 	variables.
   9109 	(initialize_env): Initialize those.  Call
   9110 	goacc_runtime_initialize.
   9111 	* error.c (gomp_vdebug, gomp_debug, gomp_vfatal): New functions.
   9112 	(gomp_fatal): Call gomp_vfatal.
   9113 	* libgomp.h: Include "libgomp-plugin.h" and <stdarg.h>.
   9114 	(gomp_debug_var, goacc_device_type, goacc_device_num, gomp_vdebug)
   9115 	(gomp_debug, gomp_verror, gomp_vfatal, gomp_init_targets_once)
   9116 	(splay_tree_node, splay_tree, splay_tree_key)
   9117 	(struct target_mem_desc, struct splay_tree_key_s)
   9118 	(struct gomp_memory_mapping, struct acc_dispatch_t)
   9119 	(struct gomp_device_descr, gomp_acc_insert_pointer)
   9120 	(gomp_acc_remove_pointer, target_mem_desc, gomp_copy_from_async)
   9121 	(gomp_unmap_vars, gomp_init_device, gomp_init_tables)
   9122 	(gomp_free_memmap, gomp_fini_device): New declarations.
   9123 	(gomp_vdebug, gomp_debug): New macros.
   9124 	Include "splay-tree.h".
   9125 	* libgomp.map (OACC_2.0): New symbol version.  Use for
   9126 	acc_get_num_devices, acc_get_num_devices_h_, acc_set_device_type,
   9127 	acc_set_device_type_h_, acc_get_device_type,
   9128 	acc_get_device_type_h_, acc_set_device_num, acc_set_device_num_h_,
   9129 	acc_get_device_num, acc_get_device_num_h_, acc_async_test,
   9130 	acc_async_test_h_, acc_async_test_all, acc_async_test_all_h_,
   9131 	acc_wait, acc_wait_h_, acc_wait_async, acc_wait_async_h_,
   9132 	acc_wait_all, acc_wait_all_h_, acc_wait_all_async,
   9133 	acc_wait_all_async_h_, acc_init, acc_init_h_, acc_shutdown,
   9134 	acc_shutdown_h_, acc_on_device, acc_on_device_h_, acc_malloc,
   9135 	acc_free, acc_copyin, acc_copyin_32_h_, acc_copyin_64_h_,
   9136 	acc_copyin_array_h_, acc_present_or_copyin,
   9137 	acc_present_or_copyin_32_h_, acc_present_or_copyin_64_h_,
   9138 	acc_present_or_copyin_array_h_, acc_create, acc_create_32_h_,
   9139 	acc_create_64_h_, acc_create_array_h_, acc_present_or_create,
   9140 	acc_present_or_create_32_h_, acc_present_or_create_64_h_,
   9141 	acc_present_or_create_array_h_, acc_copyout, acc_copyout_32_h_,
   9142 	acc_copyout_64_h_, acc_copyout_array_h_, acc_delete,
   9143 	acc_delete_32_h_, acc_delete_64_h_, acc_delete_array_h_,
   9144 	acc_update_device, acc_update_device_32_h_,
   9145 	acc_update_device_64_h_, acc_update_device_array_h_,
   9146 	acc_update_self, acc_update_self_32_h_, acc_update_self_64_h_,
   9147 	acc_update_self_array_h_, acc_map_data, acc_unmap_data,
   9148 	acc_deviceptr, acc_hostptr, acc_is_present, acc_is_present_32_h_,
   9149 	acc_is_present_64_h_, acc_is_present_array_h_,
   9150 	acc_memcpy_to_device, acc_memcpy_from_device,
   9151 	acc_get_current_cuda_device, acc_get_current_cuda_context,
   9152 	acc_get_cuda_stream, acc_set_cuda_stream.
   9153 	(GOACC_2.0): New symbol version.  Use for GOACC_data_end,
   9154 	GOACC_data_start, GOACC_enter_exit_data, GOACC_parallel,
   9155 	GOACC_update, GOACC_wait, GOACC_get_thread_num,
   9156 	GOACC_get_num_threads.
   9157 	(GOMP_PLUGIN_1.0): New symbol version.  Use for
   9158 	GOMP_PLUGIN_malloc, GOMP_PLUGIN_malloc_cleared,
   9159 	GOMP_PLUGIN_realloc, GOMP_PLUGIN_debug, GOMP_PLUGIN_error,
   9160 	GOMP_PLUGIN_fatal, GOMP_PLUGIN_async_unmap_vars,
   9161 	GOMP_PLUGIN_acc_thread.
   9162 	* libgomp.texi: Update for OpenACC changes, and GOMP_DEBUG
   9163 	environment variable.
   9164 	* libgomp_g.h (GOACC_data_start, GOACC_data_end)
   9165 	(GOACC_enter_exit_data, GOACC_parallel, GOACC_update, GOACC_wait)
   9166 	(GOACC_get_num_threads, GOACC_get_thread_num): New declarations.
   9167 	* splay-tree.h (splay_tree_lookup, splay_tree_insert)
   9168 	(splay_tree_remove): New declarations.
   9169 	(rotate_left, rotate_right, splay_tree_splay, splay_tree_insert)
   9170 	(splay_tree_remove, splay_tree_lookup): Move into...
   9171 	* splay-tree.c: ... this new file.
   9172 	* target.c: Include "oacc-plugin.h", "oacc-int.h", <assert.h>.
   9173 	(splay_tree_node, splay_tree, splay_tree_key)
   9174 	(struct target_mem_desc, struct splay_tree_key_s)
   9175 	(struct gomp_device_descr): Don't declare.
   9176 	(num_devices_openmp): New variable.
   9177 	(gomp_get_num_devices ): Use it.
   9178 	(gomp_init_targets_once): New function.
   9179 	(gomp_get_num_devices ): Use it.
   9180 	(get_kind, gomp_copy_from_async, gomp_free_memmap)
   9181 	(gomp_fini_device, gomp_register_image_for_device): New functions.
   9182 	(gomp_map_vars): Add devaddrs parameter.
   9183 	(gomp_update): Add mm parameter.
   9184 	(gomp_init_device): Move most of it into...
   9185 	(gomp_init_tables): ... this new function.
   9186 	(gomp_register_images_for_device): Remove function.
   9187 	(splay_compare, gomp_map_vars, gomp_unmap_vars, gomp_init_device):
   9188 	Make them hidden instead of static.
   9189 	(gomp_map_vars_existing, gomp_map_vars, gomp_unmap_vars)
   9190 	(gomp_update, gomp_init_device, GOMP_target, GOMP_target_data)
   9191 	(GOMP_target_end_data, GOMP_target_update)
   9192 	(gomp_load_plugin_for_device, gomp_target_init): Update for
   9193 	OpenACC changes.
   9194 	* oacc-async.c: New file.
   9195 	* oacc-cuda.c: Likewise.
   9196 	* oacc-host.c: Likewise.
   9197 	* oacc-init.c: Likewise.
   9198 	* oacc-int.h: Likewise.
   9199 	* oacc-mem.c: Likewise.
   9200 	* oacc-parallel.c: Likewise.
   9201 	* oacc-plugin.c: Likewise.
   9202 	* oacc-plugin.h: Likewise.
   9203 	* oacc-ptx.h: Likewise.
   9204 	* openacc.f90: Likewise.
   9205 	* openacc.h: Likewise.
   9206 	* openacc_lib.h: Likewise.
   9207 	* plugin/plugin-host.c: Likewise.
   9208 	* plugin/plugin-nvptx.c: Likewise.
   9209 	* libgomp-plugin.c: Likewise.
   9210 	* libgomp-plugin.h: Likewise.
   9211 	* libgomp_target.h: Remove file after merging content into the
   9212 	former file.  Update all users.
   9213 	* testsuite/lib/libgomp.exp: Load libgomp-test-support.exp.
   9214 	(offload_targets_s, offload_targets_s_openacc): New variables.
   9215 	(check_effective_target_openacc_nvidia_accel_present)
   9216 	(check_effective_target_openacc_nvidia_accel_selected): New
   9217 	procedures.
   9218 	(libgomp_init): Update for OpenACC changes.
   9219 	* testsuite/libgomp-test-support.exp.in: New file.
   9220 	* testsuite/libgomp.oacc-c++/c++.exp: Likewise.
   9221 	* testsuite/libgomp.oacc-c/c.exp: Likewise.
   9222 	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
   9223 	* testsuite/libgomp.oacc-c-c++-common/abort-1.c: Likewise.
   9224 	* testsuite/libgomp.oacc-c-c++-common/abort-2.c: Likewise.
   9225 	* testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise.
   9226 	* testsuite/libgomp.oacc-c-c++-common/abort-4.c: Likewise.
   9227 	* testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise.
   9228 	* testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Likewise.
   9229 	* testsuite/libgomp.oacc-c-c++-common/cache-1.c: Likewise.
   9230 	* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Likewise.
   9231 	* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Likewise.
   9232 	* testsuite/libgomp.oacc-c-c++-common/collapse-1.c: Likewise.
   9233 	* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise.
   9234 	* testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Likewise.
   9235 	* testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise.
   9236 	* testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise.
   9237 	* testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise.
   9238 	* testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise.
   9239 	* testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise.
   9240 	* testsuite/libgomp.oacc-c-c++-common/data-1.c: Likewise.
   9241 	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
   9242 	* testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise.
   9243 	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Likewise.
   9244 	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
   9245 	* testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise.
   9246 	* testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise.
   9247 	* testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise.
   9248 	* testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise.
   9249 	* testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise.
   9250 	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
   9251 	* testsuite/libgomp.oacc-c-c++-common/deviceptr-1.c: Likewise.
   9252 	* testsuite/libgomp.oacc-c-c++-common/if-1.c: Likewise.
   9253 	* testsuite/libgomp.oacc-c-c++-common/kernels-1.c: Likewise.
   9254 	* testsuite/libgomp.oacc-c-c++-common/kernels-empty.c: Likewise.
   9255 	* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise.
   9256 	* testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise.
   9257 	* testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise.
   9258 	* testsuite/libgomp.oacc-c-c++-common/lib-12.c: Likewise.
   9259 	* testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise.
   9260 	* testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise.
   9261 	* testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise.
   9262 	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
   9263 	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
   9264 	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
   9265 	* testsuite/libgomp.oacc-c-c++-common/lib-19.c: Likewise.
   9266 	* testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise.
   9267 	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
   9268 	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
   9269 	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
   9270 	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
   9271 	* testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise.
   9272 	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
   9273 	* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
   9274 	* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
   9275 	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
   9276 	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
   9277 	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise.
   9278 	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
   9279 	* testsuite/libgomp.oacc-c-c++-common/lib-31.c: Likewise.
   9280 	* testsuite/libgomp.oacc-c-c++-common/lib-32.c: Likewise.
   9281 	* testsuite/libgomp.oacc-c-c++-common/lib-33.c: Likewise.
   9282 	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
   9283 	* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
   9284 	* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
   9285 	* testsuite/libgomp.oacc-c-c++-common/lib-37.c: Likewise.
   9286 	* testsuite/libgomp.oacc-c-c++-common/lib-38.c: Likewise.
   9287 	* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
   9288 	* testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise.
   9289 	* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
   9290 	* testsuite/libgomp.oacc-c-c++-common/lib-41.c: Likewise.
   9291 	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
   9292 	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
   9293 	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
   9294 	* testsuite/libgomp.oacc-c-c++-common/lib-45.c: Likewise.
   9295 	* testsuite/libgomp.oacc-c-c++-common/lib-46.c: Likewise.
   9296 	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
   9297 	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
   9298 	* testsuite/libgomp.oacc-c-c++-common/lib-49.c: Likewise.
   9299 	* testsuite/libgomp.oacc-c-c++-common/lib-5.c: Likewise.
   9300 	* testsuite/libgomp.oacc-c-c++-common/lib-50.c: Likewise.
   9301 	* testsuite/libgomp.oacc-c-c++-common/lib-51.c: Likewise.
   9302 	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
   9303 	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
   9304 	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
   9305 	* testsuite/libgomp.oacc-c-c++-common/lib-55.c: Likewise.
   9306 	* testsuite/libgomp.oacc-c-c++-common/lib-56.c: Likewise.
   9307 	* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
   9308 	* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
   9309 	* testsuite/libgomp.oacc-c-c++-common/lib-59.c: Likewise.
   9310 	* testsuite/libgomp.oacc-c-c++-common/lib-6.c: Likewise.
   9311 	* testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise.
   9312 	* testsuite/libgomp.oacc-c-c++-common/lib-61.c: Likewise.
   9313 	* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise.
   9314 	* testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise.
   9315 	* testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise.
   9316 	* testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise.
   9317 	* testsuite/libgomp.oacc-c-c++-common/lib-66.c: Likewise.
   9318 	* testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise.
   9319 	* testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise.
   9320 	* testsuite/libgomp.oacc-c-c++-common/lib-69.c: Likewise.
   9321 	* testsuite/libgomp.oacc-c-c++-common/lib-7.c: Likewise.
   9322 	* testsuite/libgomp.oacc-c-c++-common/lib-70.c: Likewise.
   9323 	* testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise.
   9324 	* testsuite/libgomp.oacc-c-c++-common/lib-72.c: Likewise.
   9325 	* testsuite/libgomp.oacc-c-c++-common/lib-73.c: Likewise.
   9326 	* testsuite/libgomp.oacc-c-c++-common/lib-74.c: Likewise.
   9327 	* testsuite/libgomp.oacc-c-c++-common/lib-75.c: Likewise.
   9328 	* testsuite/libgomp.oacc-c-c++-common/lib-76.c: Likewise.
   9329 	* testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise.
   9330 	* testsuite/libgomp.oacc-c-c++-common/lib-78.c: Likewise.
   9331 	* testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise.
   9332 	* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise.
   9333 	* testsuite/libgomp.oacc-c-c++-common/lib-81.c: Likewise.
   9334 	* testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise.
   9335 	* testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise.
   9336 	* testsuite/libgomp.oacc-c-c++-common/lib-84.c: Likewise.
   9337 	* testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise.
   9338 	* testsuite/libgomp.oacc-c-c++-common/lib-86.c: Likewise.
   9339 	* testsuite/libgomp.oacc-c-c++-common/lib-87.c: Likewise.
   9340 	* testsuite/libgomp.oacc-c-c++-common/lib-88.c: Likewise.
   9341 	* testsuite/libgomp.oacc-c-c++-common/lib-89.c: Likewise.
   9342 	* testsuite/libgomp.oacc-c-c++-common/lib-9.c: Likewise.
   9343 	* testsuite/libgomp.oacc-c-c++-common/lib-90.c: Likewise.
   9344 	* testsuite/libgomp.oacc-c-c++-common/lib-91.c: Likewise.
   9345 	* testsuite/libgomp.oacc-c-c++-common/lib-92.c: Likewise.
   9346 	* testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise.
   9347 	* testsuite/libgomp.oacc-c-c++-common/nested-2.c: Likewise.
   9348 	* testsuite/libgomp.oacc-c-c++-common/offset-1.c: Likewise.
   9349 	* testsuite/libgomp.oacc-c-c++-common/parallel-1.c: Likewise.
   9350 	* testsuite/libgomp.oacc-c-c++-common/parallel-empty.c: Likewise.
   9351 	* testsuite/libgomp.oacc-c-c++-common/pointer-align-1.c: Likewise.
   9352 	* testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise.
   9353 	* testsuite/libgomp.oacc-c-c++-common/present-2.c: Likewise.
   9354 	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise.
   9355 	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
   9356 	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
   9357 	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
   9358 	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
   9359 	* testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c:
   9360 	Likewise.
   9361 	* testsuite/libgomp.oacc-c-c++-common/subr.h: Likewise.
   9362 	* testsuite/libgomp.oacc-c-c++-common/subr.ptx: Likewise.
   9363 	* testsuite/libgomp.oacc-c-c++-common/timer.h: Likewise.
   9364 	* testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise.
   9365 	* testsuite/libgomp.oacc-c-c++-common/update-1.c: Likewise.
   9366 	* testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise.
   9367 	* testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise.
   9368 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise.
   9369 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise.
   9370 	* testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise.
   9371 	* testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise.
   9372 	* testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise.
   9373 	* testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise.
   9374 	* testsuite/libgomp.oacc-fortran/collapse-1.f90: Likewise.
   9375 	* testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise.
   9376 	* testsuite/libgomp.oacc-fortran/collapse-3.f90: Likewise.
   9377 	* testsuite/libgomp.oacc-fortran/collapse-4.f90: Likewise.
   9378 	* testsuite/libgomp.oacc-fortran/collapse-5.f90: Likewise.
   9379 	* testsuite/libgomp.oacc-fortran/collapse-6.f90: Likewise.
   9380 	* testsuite/libgomp.oacc-fortran/collapse-7.f90: Likewise.
   9381 	* testsuite/libgomp.oacc-fortran/collapse-8.f90: Likewise.
   9382 	* testsuite/libgomp.oacc-fortran/data-1.f90: Likewise.
   9383 	* testsuite/libgomp.oacc-fortran/data-2.f90: Likewise.
   9384 	* testsuite/libgomp.oacc-fortran/data-3.f90: Likewise.
   9385 	* testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise.
   9386 	* testsuite/libgomp.oacc-fortran/data-4.f90: Likewise.
   9387 	* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
   9388 	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
   9389 	* testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise.
   9390 	* testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise.
   9391 	* testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise.
   9392 	* testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise.
   9393 	* testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise.
   9394 	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
   9395 	* testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise.
   9396 	* testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise.
   9397 	* testsuite/libgomp.oacc-fortran/lib-2.f: Likewise.
   9398 	* testsuite/libgomp.oacc-fortran/lib-3.f: Likewise.
   9399 	* testsuite/libgomp.oacc-fortran/lib-4.f90: Likewise.
   9400 	* testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise.
   9401 	* testsuite/libgomp.oacc-fortran/lib-6.f90: Likewise.
   9402 	* testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise.
   9403 	* testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise.
   9404 	* testsuite/libgomp.oacc-fortran/map-1.f90: Likewise.
   9405 	* testsuite/libgomp.oacc-fortran/openacc_version-1.f: Likewise.
   9406 	* testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise.
   9407 	* testsuite/libgomp.oacc-fortran/pointer-align-1.f90: Likewise.
   9408 	* testsuite/libgomp.oacc-fortran/pset-1.f90: Likewise.
   9409 	* testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise.
   9410 	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
   9411 	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
   9412 	* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
   9413 	* testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise.
   9414 	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
   9415 	* testsuite/libgomp.oacc-fortran/routine-1.f90: Likewise.
   9416 	* testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise.
   9417 	* testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise.
   9418 	* testsuite/libgomp.oacc-fortran/routine-4.f90: Likewise.
   9419 	* testsuite/libgomp.oacc-fortran/subarrays-1.f90: Likewise.
   9420 	* testsuite/libgomp.oacc-fortran/subarrays-2.f90: Likewise.
   9421 
   9422 2015-01-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   9423 	    Julian Brown  <julian (a] codesourcery.com>
   9424 	    David Malcolm  <dmalcolm (a] redhat.com>
   9425 
   9426 	* configure.ac: Rename libgomp from "GNU OpenMP Runtime Library"
   9427 	to "GNU Offloading and Multi Processing Runtime Library".  Change
   9428 	all users.
   9429 	* configure: Regenerate.
   9430 	* libgomp.texi: Update.
   9431 
   9432 2015-01-08  Thomas Schwinge  <thomas (a] codesourcery.com>
   9433 
   9434 	* configure.ac [tgt_dir] (offload_additional_lib_paths): Also add
   9435 	"$tgt_dir/lib32".
   9436 	* configure: Regenerate.
   9437 
   9438 	* testsuite/lib/libgomp.exp (libgomp_init): Correctly match
   9439 	"intelmic" in $offload_targets.
   9440 
   9441 2015-01-05  Jakub Jelinek  <jakub (a] redhat.com>
   9442 
   9443 	Update copyright years.
   9444 
   9445 	* libgomp.texi: Bump @copying's copyright year.
   9446 
   9447 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov (a] arm.com>
   9448 
   9449 	* testsuite/lib/libgomp.exp: Load target-utils.exp.
   9450 	Move load of target-supports.exp earlier.
   9451 
   9452 2014-12-10  Ilya Verbin  <ilya.verbin (a] intel.com>
   9453 
   9454 	* testsuite/libgomp.c/target-9.c: New test.
   9455 
   9456 2014-12-09  Varvara Rainchik  <varvara.rainchik (a] intel.com>
   9457 
   9458 	* config.h.in: Regenerate.
   9459 	* configure: Regenerate.
   9460 	* configure.ac: Add GCC_CHECK_EMUTLS.
   9461 	* libgomp.h: Add check for USE_EMUTLS: this case
   9462 	is equal to HAVE_TLS.
   9463 	* team.c: Likewise.
   9464 
   9465 2014-12-03  Uros Bizjak  <ubizjak (a] gmail.com>
   9466 
   9467 	* configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic.
   9468 
   9469 2014-11-28  Andrey Turetskiy  <andrey.turetskiy (a] intel.com>
   9470 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   9471 
   9472 	* testsuite/libgomp.c/target-critical-1.c: New test.
   9473 
   9474 2014-11-26  Jakub Jelinek  <jakub (a] redhat.com>
   9475 
   9476 	* testsuite/libgomp.c/examples-4/e.53.4.c: Add -DITESTITERS=20
   9477 	to dg-options unless expensive testing is on.
   9478 	(TESTITERS): Define to N if not defined.
   9479 	(main): Use TESTITERS instead of N.
   9480 	* testsuite/libgomp.c/examples-4/e.55.1.c: Define CHUNKSZ from
   9481 	dg-additional-options depending on whether expensive testing is on.
   9482 	* testsuite/libgomp.fortran/examples-4/e.55.1.f90 (e_55_1_mod):
   9483 	Decrease N to 100000 and CHUNKSZ to 10000.
   9484 
   9485 2014-11-24  Jakub Jelinek  <jakub (a] redhat.com>
   9486 
   9487 	PR fortran/63938
   9488 	* testsuite/libgomp.fortran/pr63938-1.f90: New test.
   9489 	* testsuite/libgomp.fortran/pr63938-2.f90: New test.
   9490 
   9491 2014-11-21  Steve Ellcey  <sellcey (a] imgtec.com>
   9492 
   9493 	* config/linux/mips/futex.h (SYS_futex): Define if not already done.
   9494 
   9495 2014-11-21  H.J. Lu  <hongjiu.lu (a] intel.com>
   9496 
   9497 	PR bootstrap/63784
   9498 	* configure: Regenerated.
   9499 
   9500 2014-11-19  Uros Bizjak  <ubizjak (a] gmail.com>
   9501 
   9502 	* testsuite/libgomp.c/examples-4/e.53.5.c: Require
   9503 	vect_simd_clones effective target.
   9504 	* testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto.
   9505 
   9506 2014-11-14  Jakub Jelinek  <jakub (a] redhat.com>
   9507 
   9508 	* libgomp.c/examples-4/e.54.2.c (main): Use N / 8 instead
   9509 	of 32 as block_size.
   9510 	* libgomp.fortran/examples-4/e.54.2.f90 (e_54_1): Use n / 8
   9511 	instead of 32 as block_size.
   9512 
   9513 2014-11-13  Andrey Turetskiy  <andrey.turetskiy (a] intel.com>
   9514 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   9515 
   9516 	* Makefile.in: Regenerate.
   9517 	* configure: Regenerate.
   9518 	* configure.ac: Set up offload_additional_options,
   9519 	offload_additional_lib_paths and offload_targets.
   9520 	* testsuite/Makefile.am: Export environment variables: OFFLOAD_TARGETS,
   9521 	OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS.
   9522 	* testsuite/Makefile.in: Regenerate.
   9523 	* testsuite/lib/libgomp.exp (libgomp_init): Append
   9524 	offload_additional_lib_paths to LD_LIBRARY_PATH.  Append
   9525 	offload_additional_options to ALWAYS_CFLAGS.  Append liboffloadmic
   9526 	build directory to LD_LIBRARY_PATH for intelmic offload targets.
   9527 
   9528 2014-11-13  Andrey Turetskiy  <andrey.turetskiy (a] intel.com>
   9529 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   9530 	    Kirill Yukhin  <kirill.yukhin (a] intel.com>
   9531 	    Ilya Tocar  <ilya.tocar (a] intel.com>
   9532 
   9533 	* testsuite/lib/libgomp.exp
   9534 	(check_effective_target_offload_device): New.
   9535 	* testsuite/libgomp.c++/c++.exp: Include tests from subdirectories.
   9536 	* testsuite/libgomp.c++/examples-4/e.51.5.C: New test.
   9537 	* testsuite/libgomp.c++/examples-4/e.53.2.C: Ditto.
   9538 	* testsuite/libgomp.c/examples-4/e.50.1.c: Ditto.
   9539 	* testsuite/libgomp.c/examples-4/e.50.2.c: Ditto.
   9540 	* testsuite/libgomp.c/examples-4/e.50.3.c: Ditto.
   9541 	* testsuite/libgomp.c/examples-4/e.50.4.c: Ditto.
   9542 	* testsuite/libgomp.c/examples-4/e.50.5.c: Ditto.
   9543 	* testsuite/libgomp.c/examples-4/e.51.1.c: Ditto.
   9544 	* testsuite/libgomp.c/examples-4/e.51.2.c: Ditto.
   9545 	* testsuite/libgomp.c/examples-4/e.51.3.c: Ditto.
   9546 	* testsuite/libgomp.c/examples-4/e.51.4.c: Ditto.
   9547 	* testsuite/libgomp.c/examples-4/e.51.6.c: Ditto.
   9548 	* testsuite/libgomp.c/examples-4/e.51.7.c: Ditto.
   9549 	* testsuite/libgomp.c/examples-4/e.52.1.c: Ditto.
   9550 	* testsuite/libgomp.c/examples-4/e.52.2.c: Ditto.
   9551 	* testsuite/libgomp.c/examples-4/e.53.1.c: Ditto.
   9552 	* testsuite/libgomp.c/examples-4/e.53.3.c: Ditto.
   9553 	* testsuite/libgomp.c/examples-4/e.53.4.c: Ditto.
   9554 	* testsuite/libgomp.c/examples-4/e.53.5.c: Ditto.
   9555 	* testsuite/libgomp.c/examples-4/e.54.2.c: Ditto.
   9556 	* testsuite/libgomp.c/examples-4/e.54.3.c: Ditto.
   9557 	* testsuite/libgomp.c/examples-4/e.54.4.c: Ditto.
   9558 	* testsuite/libgomp.c/examples-4/e.54.5.c: Ditto.
   9559 	* testsuite/libgomp.c/examples-4/e.54.6.c: Ditto.
   9560 	* testsuite/libgomp.c/examples-4/e.55.1.c: Ditto.
   9561 	* testsuite/libgomp.c/examples-4/e.55.2.c: Ditto.
   9562 	* testsuite/libgomp.c/examples-4/e.56.3.c: Ditto.
   9563 	* testsuite/libgomp.c/examples-4/e.56.4.c: Ditto.
   9564 	* testsuite/libgomp.c/examples-4/e.57.1.c: Ditto.
   9565 	* testsuite/libgomp.c/examples-4/e.57.2.c: Ditto.
   9566 	* testsuite/libgomp.c/examples-4/e.57.3.c: Ditto.
   9567 	* testsuite/libgomp.c/target-7.c: Fix test.
   9568 	* testsuite/libgomp.fortran/examples-4/e.50.1.f90: New test.
   9569 	* testsuite/libgomp.fortran/examples-4/e.50.2.f90: Ditto.
   9570 	* testsuite/libgomp.fortran/examples-4/e.50.3.f90: Ditto.
   9571 	* testsuite/libgomp.fortran/examples-4/e.50.4.f90: Ditto.
   9572 	* testsuite/libgomp.fortran/examples-4/e.50.5.f90: Ditto.
   9573 	* testsuite/libgomp.fortran/examples-4/e.51.1.f90: Ditto.
   9574 	* testsuite/libgomp.fortran/examples-4/e.51.2.f90: Ditto.
   9575 	* testsuite/libgomp.fortran/examples-4/e.51.3.f90: Ditto.
   9576 	* testsuite/libgomp.fortran/examples-4/e.51.4.f90: Ditto.
   9577 	* testsuite/libgomp.fortran/examples-4/e.51.5.f90: Ditto.
   9578 	* testsuite/libgomp.fortran/examples-4/e.51.6.f90: Ditto.
   9579 	* testsuite/libgomp.fortran/examples-4/e.51.7.f90: Ditto.
   9580 	* testsuite/libgomp.fortran/examples-4/e.52.1.f90: Ditto.
   9581 	* testsuite/libgomp.fortran/examples-4/e.52.2.f90: Ditto.
   9582 	* testsuite/libgomp.fortran/examples-4/e.53.1.f90: Ditto.
   9583 	* testsuite/libgomp.fortran/examples-4/e.53.2.f90: Ditto.
   9584 	* testsuite/libgomp.fortran/examples-4/e.53.3.f90: Ditto.
   9585 	* testsuite/libgomp.fortran/examples-4/e.53.4.f90: Ditto.
   9586 	* testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto.
   9587 	* testsuite/libgomp.fortran/examples-4/e.54.2.f90: Ditto.
   9588 	* testsuite/libgomp.fortran/examples-4/e.54.3.f90: Ditto.
   9589 	* testsuite/libgomp.fortran/examples-4/e.54.4.f90: Ditto.
   9590 	* testsuite/libgomp.fortran/examples-4/e.54.5.f90: Ditto.
   9591 	* testsuite/libgomp.fortran/examples-4/e.54.6.f90: Ditto.
   9592 	* testsuite/libgomp.fortran/examples-4/e.55.1.f90: Ditto.
   9593 	* testsuite/libgomp.fortran/examples-4/e.55.2.f90: Ditto.
   9594 	* testsuite/libgomp.fortran/examples-4/e.56.3.f90: Ditto.
   9595 	* testsuite/libgomp.fortran/examples-4/e.56.4.f90: Ditto.
   9596 	* testsuite/libgomp.fortran/examples-4/e.57.1.f90: Ditto.
   9597 	* testsuite/libgomp.fortran/examples-4/e.57.2.f90: Ditto.
   9598 	* testsuite/libgomp.fortran/examples-4/e.57.3.f90: Ditto.
   9599 
   9600 2014-11-13  Jakub Jelinek  <jakub (a] redhat.com>
   9601 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   9602 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   9603 	    Andrey Turetskiy  <andrey.turetskiy (a] intel.com>
   9604 
   9605 	* libgomp.map (GOMP_4.0.1): New symbol version.
   9606 	Add GOMP_offload_register.
   9607 	* libgomp_target.h: New file.
   9608 	* splay-tree.h: New file.
   9609 	* target.c: Include config.h, libgomp_target.h, dlfcn.h, splay-tree.h.
   9610 	(gomp_target_init): New forward declaration.
   9611 	(gomp_is_initialized): New static variable.
   9612 	(splay_tree_node, splay_tree, splay_tree_key): New typedefs.
   9613 	(struct target_mem_desc, struct splay_tree_key_s, offload_image_descr):
   9614 	New structures.
   9615 	(offload_images, num_offload_images, devices, num_devices): New static
   9616 	variables.
   9617 	(splay_compare): New static function.
   9618 	(struct gomp_device_descr): New structure.
   9619 	(gomp_get_num_devices): Call gomp_target_init.
   9620 	(resolve_device, gomp_map_vars_existing, gomp_map_vars, gomp_unmap_tgt)
   9621 	(gomp_unmap_vars, gomp_update, gomp_init_device): New static functions.
   9622 	(GOMP_offload_register): New function.
   9623 	(GOMP_target): Arrange for host callback to be performed in a separate
   9624 	initial thread and contention group, inheriting ICVs from
   9625 	gomp_global_icv etc.  Call gomp_map_vars and gomp_unmap_vars.
   9626 	Add device initialization and lookup for target function in splay tree.
   9627 	(GOMP_target_data): Add device initialization and call gomp_map_vars.
   9628 	(GOMP_target_end_data): Call gomp_unmap_vars.
   9629 	(GOMP_target_update): Add device initialization and call gomp_update.
   9630 	(gomp_load_plugin_for_device, gomp_register_images_for_device)
   9631 	(gomp_target_init): New static functions.
   9632 
   9633 2014-11-13  Bernd Schmidt  <bernds (a] codesourcery.com>
   9634 	    Thomas Schwinge  <thomas (a] codesourcery.com>
   9635 	    Ilya Verbin  <ilya.verbin (a] intel.com>
   9636 	    Andrey Turetskiy  <andrey.turetskiy (a] intel.com>
   9637 
   9638 	* config.h.in: Regenerate.
   9639 	* configure: Regenerate.
   9640 	* configure.ac: Check for libdl, required for plugin support.
   9641 	(PLUGIN_SUPPORT): Define if plugins are supported.
   9642 	(enable_offload_targets): Support Intel MIC targets.
   9643 	(OFFLOAD_TARGETS): List of target names suitable for offloading.
   9644 
   9645 2014-11-11  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
   9646 
   9647 	PR target/63610
   9648 	* configure: Regenerate.
   9649 
   9650 2014-11-05  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   9651 
   9652 	* config/posix/lock.c (_XOPEN_SOURCE) Define as 600.
   9653 
   9654 2014-10-06  Marek Polacek  <polacek (a] redhat.com>
   9655 
   9656 	* testsuite/libgomp.c/affinity-1.c: Include <sys/wait.h>.
   9657 	* testsuite/libgomp.c/nqueens-1.c: Include <stdlib.h>.
   9658 	* testsuite/libgomp.c/thread-limit-1.c: Include <omp.h>
   9659 	* testsuite/libgomp.c/thread-limit-2.c: Likewise.
   9660 
   9661 2014-10-06  Marek Polacek  <polacek (a] redhat.com>
   9662 
   9663 	* testsuite/libgomp.c/affinity-1.c: Fix implicit declarations.
   9664 	* testsuite/libgomp.c/nqueens-1.c: Likewise.
   9665 	* testsuite/libgomp.c/pr26943-3.c: Likewise.
   9666 	* testsuite/libgomp.c/pr26943-4.c: Likewise.
   9667 	* testsuite/libgomp.c/pr36802-2.c: Likewise.
   9668 	* testsuite/libgomp.c/pr36802-3.c: Likewise.
   9669 	* testsuite/libgomp.c/thread-limit-1.c: Likewise.
   9670 	* testsuite/libgomp.c/thread-limit-2.c: Likewise.
   9671 	* testsuite/libgomp.c/appendix-a/a.15.1.c: Include <omp.h>.
   9672 	* testsuite/libgomp.c/omp-loop02.c: Fix defaulting to int.
   9673 	* testsuite/libgomp.c/omp-parallel-for.c: Likewise.
   9674 	* testsuite/libgomp.c/omp-parallel-if.c: Likewise.
   9675 	* testsuite/libgomp.c/omp-single-1.c: Likewise.
   9676 	* testsuite/libgomp.c/omp-single-2.c: Likewise.
   9677 	* testsuite/libgomp.c/omp_matvec.c: Likewise.
   9678 	* testsuite/libgomp.c/omp_workshare3.c: Likewise.
   9679 	* testsuite/libgomp.c/omp_workshare4.c: Likewise.
   9680 	* testsuite/libgomp.c/shared-1.c: Fix defaulting to int.  Fix implicit
   9681 	declarations.
   9682 
   9683 2014-10-03  Jakub Jelinek  <jakub (a] redhat.com>
   9684 
   9685 	PR libgomp/61200
   9686 	* testsuite/libgomp.c/pr61200.c: New test.
   9687 
   9688 2014-09-18  Jakub Jelinek  <jakub (a] redhat.com>
   9689 
   9690 	PR c++/63248
   9691 	* testsuite/libgomp.c++/pr63248.C: New test.
   9692 
   9693 2014-08-04  Jakub Jelinek  <jakub (a] redhat.com>
   9694 
   9695 	* task.c (GOMP_taskgroup_end): If taskgroup->num_children
   9696 	is not zero, but taskgroup->children is NULL and there are
   9697 	any task->children, schedule those instead of waiting.
   9698 	* testsuite/libgomp.c/depend-6.c: New test.
   9699 	* testsuite/libgomp.c/depend-7.c: New test.
   9700 	* testsuite/libgomp.c/depend-8.c: New test.
   9701 	* testsuite/libgomp.c/depend-9.c: New test.
   9702 	* testsuite/libgomp.c/depend-10.c: New test.
   9703 
   9704 2014-08-01  Jakub Jelinek  <jakub (a] redhat.com>
   9705 
   9706 	* libgomp.h (struct gomp_task_depend_entry): Add redundant_out field.
   9707 	(struct gomp_taskwait): New type.
   9708 	(struct gomp_task): Add taskwait and parent_depends_on, remove
   9709 	in_taskwait and taskwait_sem fields.
   9710 	(gomp_finish_task): Don't destroy taskwait_sem.
   9711 	* task.c (gomp_init_task): Don't init in_taskwait, instead init
   9712 	taskwait and parent_depends_on.
   9713 	(GOMP_task): For if (0) tasks with depend clause that depend on
   9714 	earlier tasks don't defer them, instead call
   9715 	gomp_task_maybe_wait_for_dependencies to wait for the dependencies.
   9716 	Initialize redundant_out field, for redundant out entries just
   9717 	move them at the end of linked list instead of removing them
   9718 	completely, and set redundant_out flag instead of redundant.
   9719 	(gomp_task_run_pre): Update last_parent_depends_on if scheduling
   9720 	that task.
   9721 	(gomp_task_run_post_handle_dependers): If parent is in
   9722 	gomp_task_maybe_wait_for_dependencies and newly runnable task
   9723 	is not parent_depends_on, queue it in parent->children linked
   9724 	list after all runnable tasks with parent_depends_on set.
   9725 	Adjust for addition of taskwait indirection.
   9726 	(gomp_task_run_post_remove_parent): If parent is in
   9727 	gomp_task_maybe_wait_for_dependencies and task to be removed
   9728 	is parent_depends_on, decrement n_depend and if needed awake
   9729 	parent.  Adjust for addition of taskwait indirection.
   9730 	(GOMP_taskwait): Adjust for addition of taskwait indirection.
   9731 	(gomp_task_maybe_wait_for_dependencies): New function.
   9732 	* testsuite/libgomp.c/depend-5.c: New test.
   9733 
   9734 2014-07-13  Tobias Burnus  <burnus (a] net-b.de>
   9735 
   9736 	* testsuite/libgomp.fortran/pr34020.f90: Make compile
   9737 	with TS 18508/Fortran 2015.
   9738 
   9739 2014-07-06  Marek Polacek  <polacek (a] redhat.com>
   9740 
   9741 	PR c/6940
   9742 	* testsuite/libgomp.c/appendix-a/a.29.1.c (f): Add dg-warnings.
   9743 
   9744 2014-07-03  Jakub Jelinek  <jakub (a] redhat.com>
   9745 
   9746 	* testsuite/lib/libgomp.exp (libgomp_target_compile): If $source
   9747 	matches regex $lang_source_re, add $lang_include_flags to options.
   9748 	* testsuite/libgomp.c/c.exp: Unset lang_include_flags.
   9749 	* testsuite/libgomp.c++/c++.exp: Likewise.
   9750 	* testsuite/libgomp.fortran/fortran.exp: Likewise.  Set lang_source_re
   9751 	and lang_include_flags instead of adding -fintrinsic-modules-path= to
   9752 	ALWAYS_CFLAGS.
   9753 	* testsuite/libgomp.graphite/graphite.exp: Unset lang_include_flags.
   9754 
   9755 2014-07-03  Thomas Schwinge  <thomas (a] codesourcery.com>
   9756 
   9757 	* testsuite/libgomp.fortran/fortran.exp: Explain
   9758 	gfortran-dg-runtest usage.
   9759 
   9760 2014-06-25  Jakub Jelinek  <jakub (a] redhat.com>
   9761 
   9762 	* testsuite/libgomp.fortran/simd5.f90: New test.
   9763 	* testsuite/libgomp.fortran/simd6.f90: New test.
   9764 	* testsuite/libgomp.fortran/simd7.f90: New test.
   9765 
   9766 2014-06-24  Jakub Jelinek  <jakub (a] redhat.com>
   9767 
   9768 	* testsuite/libgomp.c/for-2.c: Define SC to static for
   9769 	#pragma omp for simd testing.
   9770 	* testsuite/libgomp.c/for-2.h (SC): Define if not defined.
   9771 	(N(f5), N(f6), N(f7), N(f8), N(f10), N(f12), N(f14)): Use
   9772 	SC macro.
   9773 	* testsuite/libgomp.c/simd-14.c: New test.
   9774 	* testsuite/libgomp.c/simd-15.c: New test.
   9775 	* testsuite/libgomp.c/simd-16.c: New test.
   9776 	* testsuite/libgomp.c/simd-17.c: New test.
   9777 	* testsuite/libgomp.c++/for-10.C: Define SC to static for
   9778 	#pragma omp for simd testing.
   9779 	* testsuite/libgomp.c++/simd10.C: New test.
   9780 	* testsuite/libgomp.c++/simd11.C: New test.
   9781 	* testsuite/libgomp.c++/simd12.C: New test.
   9782 	* testsuite/libgomp.c++/simd13.C: New test.
   9783 
   9784 	* testsuite/libgomp.fortran/aligned1.f03: New test.
   9785 	* testsuite/libgomp.fortran/nestedfn5.f90: New test.
   9786 	* testsuite/libgomp.fortran/target7.f90: Surround loop spawning
   9787 	tasks with !$omp parallel !$omp single.
   9788 	* testsuite/libgomp.fortran/target8.f90: New test.
   9789 	* testsuite/libgomp.fortran/udr4.f90 (foo UDR, bar UDR): Adjust
   9790 	not to use trim in the combiner, instead call elemental function.
   9791 	(fn): New elemental function.
   9792 	* testsuite/libgomp.fortran/udr6.f90 (do_add, dp_add, dp_init):
   9793 	Make elemental.
   9794 	* testsuite/libgomp.fortran/udr7.f90 (omp_priv, omp_orig, omp_out,
   9795 	omp_in): Likewise.
   9796 	* testsuite/libgomp.fortran/udr12.f90: New test.
   9797 	* testsuite/libgomp.fortran/udr13.f90: New test.
   9798 	* testsuite/libgomp.fortran/udr14.f90: New test.
   9799 	* testsuite/libgomp.fortran/udr15.f90: New test.
   9800 
   9801 2014-06-18  Jakub Jelinek  <jakub (a] redhat.com>
   9802 
   9803 	* omp_lib.f90.in (openmp_version): Set to 201307.
   9804 	* omp_lib.h.in (openmp_version): Likewise.
   9805 	* testsuite/libgomp.c/target-8.c: New test.
   9806 	* testsuite/libgomp.fortran/declare-simd-1.f90: Add notinbranch
   9807 	and inbranch clauses.
   9808 	* testsuite/libgomp.fortran/depend-3.f90: New test.
   9809 	* testsuite/libgomp.fortran/openmp_version-1.f: Adjust for new
   9810 	openmp_version.
   9811 	* testsuite/libgomp.fortran/openmp_version-2.f90: Likewise.
   9812 	* testsuite/libgomp.fortran/target1.f90: New test.
   9813 	* testsuite/libgomp.fortran/target2.f90: New test.
   9814 	* testsuite/libgomp.fortran/target3.f90: New test.
   9815 	* testsuite/libgomp.fortran/target4.f90: New test.
   9816 	* testsuite/libgomp.fortran/target5.f90: New test.
   9817 	* testsuite/libgomp.fortran/target6.f90: New test.
   9818 	* testsuite/libgomp.fortran/target7.f90: New test.
   9819 
   9820 2014-06-10  Jakub Jelinek  <jakub (a] redhat.com>
   9821 
   9822 	PR fortran/60928
   9823 	* testsuite/libgomp.fortran/allocatable9.f90: New test.
   9824 	* testsuite/libgomp.fortran/allocatable10.f90: New test.
   9825 	* testsuite/libgomp.fortran/allocatable11.f90: New test.
   9826 	* testsuite/libgomp.fortran/allocatable12.f90: New test.
   9827 	* testsuite/libgomp.fortran/alloc-comp-1.f90: New test.
   9828 	* testsuite/libgomp.fortran/alloc-comp-2.f90: New test.
   9829 	* testsuite/libgomp.fortran/alloc-comp-3.f90: New test.
   9830 	* testsuite/libgomp.fortran/associate1.f90: New test.
   9831 	* testsuite/libgomp.fortran/associate2.f90: New test.
   9832 	* testsuite/libgomp.fortran/procptr1.f90: New test.
   9833 
   9834 2014-06-06  Jakub Jelinek  <jakub (a] redhat.com>
   9835 
   9836 	* testsuite/libgomp.fortran/simd1.f90: New test.
   9837 	* testsuite/libgomp.fortran/udr1.f90: New test.
   9838 	* testsuite/libgomp.fortran/udr2.f90: New test.
   9839 	* testsuite/libgomp.fortran/udr3.f90: New test.
   9840 	* testsuite/libgomp.fortran/udr4.f90: New test.
   9841 	* testsuite/libgomp.fortran/udr5.f90: New test.
   9842 	* testsuite/libgomp.fortran/udr6.f90: New test.
   9843 	* testsuite/libgomp.fortran/udr7.f90: New test.
   9844 	* testsuite/libgomp.fortran/udr8.f90: New test.
   9845 	* testsuite/libgomp.fortran/udr9.f90: New test.
   9846 	* testsuite/libgomp.fortran/udr10.f90: New test.
   9847 	* testsuite/libgomp.fortran/udr11.f90: New test.
   9848 
   9849 2014-05-27  Uros Bizjak  <ubizjak (a] gmail.com>
   9850 
   9851 	* testsuite/libgomp.fortran/declare-simd-1.f90: Require
   9852 	vect_simd_clones effective target.
   9853 	* testsuite/libgomp.fortran/declare-simd-2.f90: Ditto.
   9854 
   9855 2014-05-21  Jakub Jelinek  <jakub (a] redhat.com>
   9856 
   9857 	PR middle-end/61252
   9858 	* testsuite/libgomp.c++/simd-9.C: New test.
   9859 
   9860 2014-05-18  Uros Bizjak  <ubizjak (a] gmail.com>
   9861 
   9862 	* libgomp.texi (Runitme Library Routines): Remove multiple @menu.
   9863 	(Environment Variables) Move OMP_PROC_BIND and OMP_STACKSIZE node
   9864 	texts according to their @menu entry positions.
   9865 
   9866 2014-05-11  Jakub Jelinek  <jakub (a] redhat.com>
   9867 
   9868 	* testsuite/libgomp.fortran/cancel-do-1.f90: New test.
   9869 	* testsuite/libgomp.fortran/cancel-do-2.f90: New test.
   9870 	* testsuite/libgomp.fortran/cancel-parallel-1.f90: New test.
   9871 	* testsuite/libgomp.fortran/cancel-parallel-3.f90: New test.
   9872 	* testsuite/libgomp.fortran/cancel-sections-1.f90: New test.
   9873 	* testsuite/libgomp.fortran/cancel-taskgroup-2.f90: New test.
   9874 	* testsuite/libgomp.fortran/declare-simd-1.f90: New test.
   9875 	* testsuite/libgomp.fortran/declare-simd-2.f90: New test.
   9876 	* testsuite/libgomp.fortran/declare-simd-3.f90: New test.
   9877 	* testsuite/libgomp.fortran/depend-1.f90: New test.
   9878 	* testsuite/libgomp.fortran/depend-2.f90: New test.
   9879 	* testsuite/libgomp.fortran/omp_atomic5.f90: New test.
   9880 	* testsuite/libgomp.fortran/simd1.f90: New test.
   9881 	* testsuite/libgomp.fortran/simd2.f90: New test.
   9882 	* testsuite/libgomp.fortran/simd3.f90: New test.
   9883 	* testsuite/libgomp.fortran/simd4.f90: New test.
   9884 	* testsuite/libgomp.fortran/taskgroup1.f90: New test.
   9885 
   9886 2014-05-02  Jakub Jelinek  <jakub (a] redhat.com>
   9887 
   9888 	* testsuite/libgomp.c/simd-10.c: New test.
   9889 	* testsuite/libgomp.c/simd-11.c: New test.
   9890 	* testsuite/libgomp.c/simd-12.c: New test.
   9891 	* testsuite/libgomp.c/simd-13.c: New test.
   9892 
   9893 2014-04-24  Jakub Jelinek  <jakub (a] redhat.com>
   9894 
   9895 	* testsuite/libgomp.c++/atomic-14.C: Allow seq_cst and
   9896 	atomic type clauses in any order and optional comma in between.
   9897 	* testsuite/libgomp.c++/atomic-15.C: Likewise.
   9898 	* testsuite/libgomp.c/atomic-17.c: Likewise.
   9899 
   9900 	* testsuite/libgomp.c/simd-7.c: New test.
   9901 	* testsuite/libgomp.c/simd-8.c: New test.
   9902 	* testsuite/libgomp.c/simd-9.c: New test.
   9903 	* testsuite/libgomp.c/loop-16.c: New test.
   9904 
   9905 2014-04-02  Richard Henderson  <rth (a] redhat.com>
   9906 
   9907 	* config/linux/futex.h (futex_wait): Get error value from errno.
   9908 	(futex_wake): Likewise.
   9909 
   9910 2014-03-25  Jakub Jelinek  <jakub (a] redhat.com>
   9911 
   9912 	PR c++/60331
   9913 	* testsuite/libgomp.c++/udr-11.C: New test.
   9914 	* testsuite/libgomp.c++/udr-12.C: New test.
   9915 	* testsuite/libgomp.c++/udr-13.C: New test.
   9916 	* testsuite/libgomp.c++/udr-14.C: New test.
   9917 	* testsuite/libgomp.c++/udr-15.C: New test.
   9918 	* testsuite/libgomp.c++/udr-16.C: New test.
   9919 	* testsuite/libgomp.c++/udr-17.C: New test.
   9920 	* testsuite/libgomp.c++/udr-18.C: New test.
   9921 	* testsuite/libgomp.c++/udr-19.C: New test.
   9922 
   9923 2014-01-02  Richard Sandiford  <rdsandiford (a] googlemail.com>
   9924 
   9925 	Update copyright years
   9926 
   9927 2014-01-02  Richard Sandiford  <rdsandiford (a] googlemail.com>
   9928 
   9929 	* hashtab.h: Use the standard form for the copyright notice.
   9930 
   9931 2014-01-02  Tobias Burnus  <burnus (a] net-b.de>
   9932 
   9933 	* libgomp.texi: Bump @copying's copyright year.
   9934 
   9935 2013-12-17  Andreas Tobler  <andreast (a] gcc.gnu.org>
   9936 
   9937 	* testsuite/libgomp.c/affinity-1.c: Remove alloca.h include. Replace
   9938 	alloca () with __builtin_alloca ().
   9939 	* testsuite/libgomp.c/icv-2.c: Add FreeBSD coverage.
   9940 	* testsuite/libgomp.c/lock-3.c: Likewise.
   9941 	* testsuite/libgomp.c/pr48591.c: Likewise.
   9942 
   9943 2013-12-17  Jakub Jelinek  <jakub (a] redhat.com>
   9944 
   9945 	PR testsuite/59534
   9946 	* testsuite/libgomp.fortran/retval1.f90 (e5): Avoid non-shortcircuited
   9947 	comparisons.
   9948 
   9949 2013-12-16  Jakub Jelinek  <jakub (a] redhat.com>
   9950 
   9951 	PR libgomp/58756
   9952 	* testsuite/libgomp.c/pr58756.c: New test.
   9953 
   9954 2013-12-12  Jakub Jelinek  <jakub (a] redhat.com>
   9955 
   9956 	PR libgomp/59467
   9957 	* testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to
   9958 	!$omp parallel.
   9959 
   9960 2013-11-07  Thomas Schwinge  <thomas (a] codesourcery.com>
   9961 
   9962 	* testsuite/lib/libgomp.exp (libgomp_init): Don't add -fopenmp to
   9963 	ALWAYS_CFLAGS.
   9964 	* testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Add -fopenmp.
   9965 	* testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise.
   9966 	* testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise.
   9967 	* testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS):
   9968 	Likewise.
   9969 
   9970 	* libgomp_g.h: Include <stddef.h> for size_t.
   9971 
   9972 	* libgomp.spec.in: Update comment about libgomp's dependencies.
   9973 	* configure.ac: Likewise.
   9974 	* configure: Regenerate.
   9975 
   9976 2013-10-16  Tobias Burnus  <burnus (a] net-b.de>
   9977 
   9978 	* libgomp.texi: (Runtime Library Routines): Update references for
   9979 	OpenMP 4.0. Add omp_get_cancellation, omp_get_default_device,
   9980 	omp_get_num_devices, omp_get_num_teams, omp_get_proc_bind,
   9981 	omp_get_team_num, omp_is_initial_device, omp_set_default_device.
   9982 	(Environment Variables): Update references for OpenMP 4.0. Add
   9983 	OMP_CANCELLATION, OMP_DEFAULT_DEVICE, OMP_PLACES.
   9984 	Move OMP_DISPLAY_ENV and OMP_PROC_BIND up to be in alphabetical
   9985 	order.
   9986 
   9987 2013-10-14  Jakub Jelinek  <jakub (a] redhat.com>
   9988 
   9989 	* env.c (parse_bind_var): Initialize value to avoid
   9990 	(false positive) warning.
   9991 
   9992 2013-10-12  Jakub Jelinek  <jakub (a] redhat.com>
   9993 
   9994 	PR libgomp/58691
   9995 	* config/linux/proc.c (gomp_cpuset_popcount): Add unused attribute
   9996 	to check variable.
   9997 	(gomp_init_num_threads): Move i variable declaration into
   9998 	#ifdef CPU_ALLOC_SIZE block.
   9999 	* config/linux/affinity.c (gomp_affinity_init_level): Test
   10000 	gomp_places_list_len == 0 rather than gomp_places_list == 0
   10001 	when checking for topology reading error.
   10002 	* team.c (gomp_team_start): Don't handle bind == omp_proc_bind_false.
   10003 	* env.c (parse_affinity): Add ignore argument, if true, don't populate
   10004 	gomp_places_list, only parse env var and always return false.
   10005 	(parse_places_var): Likewise.  Don't check gomp_global_icv.bind_var.
   10006 	(initialize_env): Always parse OMP_PLACES and GOMP_CPU_AFFINITY env
   10007 	vars, default to OMP_PROC_BIND=true if OMP_PROC_BIND wasn't specified
   10008 	and either of these variables were parsed correctly into a places
   10009 	list.
   10010 
   10011 2013-10-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   10012 	    Jakub Jelinek  <jakub (a] redhat.com>
   10013 
   10014 	* testsuite/libgomp.graphite/force-parallel-1.c: Expect 4 instead
   10015 	of 5 loopfn matches.
   10016 	* testsuite/libgomp.graphite/force-parallel-2.c: Likewise.
   10017 	* testsuite/libgomp.graphite/force-parallel-3.c: Likewise.
   10018 	* testsuite/libgomp.graphite/force-parallel-4.c: Likewise.
   10019 	* testsuite/libgomp.graphite/force-parallel-5.c: Likewise.
   10020 	* testsuite/libgomp.graphite/force-parallel-6.c: Likewise.
   10021 	* testsuite/libgomp.graphite/force-parallel-7.c: Likewise.
   10022 	* testsuite/libgomp.graphite/force-parallel-8.c: Likewise.
   10023 	* testsuite/libgomp.graphite/force-parallel-9.c: Likewise.
   10024 
   10025 2013-10-11  Thomas Schwinge  <thomas (a] codesourcery.com>
   10026 
   10027 	* Makefile.am (omp_lib.mod): Streamline rule.
   10028 	* Makefile.in: Regenerate.
   10029 
   10030 	* libgomp.texi (Runtime Library Routines): C linkage, don't throw
   10031 	exceptions.
   10032 
   10033 	* testsuite/libgomp.c/lib-1.c (main): Add missing error check.
   10034 	* testsuite/libgomp.fortran/lib1.f90: Likewise.
   10035 	* testsuite/libgomp.fortran/lib2.f: Likewise.
   10036 	* testsuite/libgomp.fortran/lib3.f: Likewise.
   10037 
   10038 	* configure.ac: Typo fix.
   10039 	* configure: Regenerate.
   10040 
   10041 	* testsuite/libgomp.fortran/openmp_version-1.f: New file.
   10042 	* testsuite/libgomp.fortran/openmp_version-2.f90: Likewise.
   10043 
   10044 	* omp.h.in: Don't touch the user's namespace.
   10045 
   10046 2013-10-11  Jakub Jelinek  <jakub (a] redhat.com>
   10047 	    Tobias Burnus  <burnus (a] net-b.de>
   10048 	    Richard Henderson  <rth (a] redhat.com>
   10049 
   10050 	* target.c: New file.
   10051 	* Makefile.am (libgomp_la_SOURCES): Add target.c.
   10052 	* Makefile.in: Regenerated.
   10053 	* libgomp_g.h (GOMP_task): Add depend argument.
   10054 	(GOMP_barrier_cancel, GOMP_loop_end_cancel,
   10055 	GOMP_sections_end_cancel, GOMP_target, GOMP_target_data,
   10056 	GOMP_target_end_data, GOMP_target_update, GOMP_teams,
   10057 	GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic,
   10058 	GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime,
   10059 	GOMP_parallel, GOMP_cancel, GOMP_cancellation_point,
   10060 	GOMP_taskgroup_start, GOMP_taskgroup_end,
   10061 	GOMP_parallel_sections): New prototypes.
   10062 	* fortran.c (omp_is_initial_device): Add ialias_redirect.
   10063 	(omp_is_initial_device_): New function.
   10064 	(ULP, STR1, STR2, ialias_redirect): Removed.
   10065 	(omp_get_cancellation_, omp_get_proc_bind_, omp_set_default_device_,
   10066 	omp_set_default_device_8_, omp_get_default_device_,
   10067 	omp_get_num_devices_, omp_get_num_teams_, omp_get_team_num_): New
   10068 	functions.
   10069 	* libgomp.map (GOMP_barrier_cancel, GOMP_loop_end_cancel,
   10070 	GOMP_sections_end_cancel, GOMP_target, GOMP_target_data,
   10071 	GOMP_target_end_data, GOMP_target_update, GOMP_teams): Export
   10072 	@@GOMP_4.0.
   10073 	(omp_is_initial_device, omp_is_initial_device_, omp_get_cancellation,
   10074 	omp_get_cancellation_, omp_get_proc_bind, omp_get_proc_bind_,
   10075 	omp_set_default_device, omp_set_default_device_,
   10076 	omp_set_default_device_8_, omp_get_default_device,
   10077 	omp_get_default_device_, omp_get_num_devices, omp_get_num_devices_,
   10078 	omp_get_num_teams, omp_get_num_teams_, omp_get_team_num,
   10079 	omp_get_team_num_): Export @@OMP_4.0.
   10080 	* team.c (struct gomp_thread_start_data): Add place field.
   10081 	(gomp_thread_start): Clear thr->thread_pool and
   10082 	thr->task before returning.  Use gomp_team_barrier_wait_final
   10083 	instead of gomp_team_barrier_wait.  Initialize thr->place.
   10084 	(gomp_new_team): Initialize work_shares_to_free, work_share_cancelled,
   10085 	team_cancelled and task_queued_count fields.
   10086 	(gomp_free_pool_helper): Clear thr->thread_pool and thr->task
   10087 	before calling pthread_exit.
   10088 	(gomp_free_thread): No longer static.  Use
   10089 	gomp_managed_threads_lock instead of gomp_remaining_threads_lock.
   10090 	(gomp_team_start): Add flags argument.  Set
   10091 	thr->thread_pool->threads_busy to nthreads immediately after creating
   10092 	new pool.  Use gomp_managed_threads_lock instead of
   10093 	gomp_remaining_threads_lock.  Handle OpenMP 4.0 affinity.
   10094 	(gomp_team_end): Use gomp_managed_threads_lock instead of
   10095 	gomp_remaining_threads_lock.  Use gomp_team_barrier_wait_final instead
   10096 	of gomp_team_barrier_wait.  If team->team_cancelled, call
   10097 	gomp_fini_workshare on ws chain starting at team->work_shares_to_free
   10098 	rather than thr->ts.work_share.
   10099 	(initialize_team): Don't call gomp_sem_init here.
   10100 	* sections.c (GOMP_parallel_sections_start): Adjust gomp_team_start
   10101 	caller.
   10102 	(GOMP_parallel_sections, GOMP_sections_end_cancel): New functions.
   10103 	* env.c (gomp_global_icv): Add default_device_var, target_data and
   10104 	bind_var initializers.
   10105 	(gomp_cpu_affinity, gomp_cpu_affinity_len): Remove.
   10106 	(gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list,
   10107 	gomp_places_list_len): New variables.
   10108 	(parse_bind_var, parse_one_place, parse_places_var): New functions.
   10109 	(parse_affinity): Rewritten to construct OMP_PLACES list with unit
   10110 	sized places.
   10111 	(gomp_cancel_var): New global variable.
   10112 	(parse_int): New function.
   10113 	(handle_omp_display_env): New function.
   10114 	(initialize_env): Use it.  Initialize default_device_var.
   10115 	Parse OMP_CANCELLATION env var.  Use parse_bind_var to parse
   10116 	OMP_PROC_BIND instead of parse_boolean.  Use parse_places_var for
   10117 	OMP_PLACES parsing.  Don't call parse_affinity if OMP_PLACES has
   10118 	been successfully parsed (and call gomp_init_affinity in that case).
   10119 	(omp_get_cancellation, omp_get_proc_bind, omp_set_default_device,
   10120 	omp_get_default_device, omp_get_num_devices, omp_get_num_teams,
   10121 	omp_get_team_num, omp_is_initial_device): New functions.
   10122 	* libgomp.h: Include stdlib.h.
   10123 	(ialias_ulp, ialias_str1, ialias_str2, ialias_redirect, ialias_call):
   10124 	Define.
   10125 	(struct target_mem_desc): Forward declare.
   10126 	(struct gomp_task_icv): Add default_device_var, target_data, bind_var
   10127 	and thread_limit_var fields.
   10128 	(gomp_get_num_devices): New prototype.
   10129 	(gomp_cancel_var): New extern decl.
   10130 	(struct gomp_team): Add work_shares_to_free, work_share_cancelled,
   10131 	team_cancelled and task_queued_count fields.  Add comments about
   10132 	task_{,queued_,running_}count.
   10133 	(gomp_cancel_kind): New enum.
   10134 	(gomp_work_share_end_cancel): New prototype.
   10135 	(struct gomp_task): Add next_taskgroup, prev_taskgroup, taskgroup,
   10136 	copy_ctors_done, dependers, depend_hash, depend_count, num_dependees
   10137 	and depend fields.
   10138 	(struct gomp_taskgroup): New type.
   10139 	(struct gomp_task_depend_entry,
   10140 	struct gomp_dependers_vec): New types.
   10141 	(gomp_finish_task): Free depend_hash if non-NULL.
   10142 	(struct gomp_team_state): Add place_partition_off
   10143 	and place_partition_len fields.
   10144 	(gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list,
   10145 	gomp_places_list_len): New extern decls.
   10146 	(struct gomp_thread): Add place field.
   10147 	(gomp_cpu_affinity, gomp_cpu_affinity_len): Remove.
   10148 	(gomp_init_thread_affinity): Add place argument.
   10149 	(gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus,
   10150 	gomp_affinity_remove_cpu, gomp_affinity_copy_place,
   10151 	gomp_affinity_same_place, gomp_affinity_finalize_place_list,
   10152 	gomp_affinity_init_level, gomp_affinity_print_place): New
   10153 	prototypes.
   10154 	(gomp_team_start): Add flags argument.
   10155 	(gomp_thread_limit_var, gomp_remaining_threads_count,
   10156 	gomp_remaining_threads_lock): Remove.
   10157 	(gomp_managed_threads_lock): New variable.
   10158 	(struct gomp_thread_pool): Add threads_busy field.
   10159 	(gomp_free_thread): New prototype.
   10160 	* task.c: Include hashtab.h.
   10161 	(hash_entry_type): New typedef.
   10162 	(htab_alloc, htab_free, htab_hash, htab_eq): New inlines.
   10163 	(gomp_init_task): Clear dependers, depend_hash, depend_count,
   10164 	copy_ctors_done and taskgroup fields.
   10165 	(GOMP_task): Add depend argument, handle depend clauses.  If
   10166 	gomp_team_barrier_cancelled or if it's taskgroup has been
   10167 	cancelled, don't queue or start new tasks.  Set copy_ctors_done
   10168 	field if needed.  Initialize taskgroup field.  If copy_ctors_done
   10169 	and already cancelled, don't discard the task.  If taskgroup is
   10170 	non-NULL, enqueue the task into taskgroup queue.  Increment
   10171 	num_children field in taskgroup.  Increment task_queued_count.
   10172 	(gomp_task_run_pre, gomp_task_run_post_remove_parent,
   10173 	gomp_task_run_post_remove_taskgroup): New inline functions.
   10174 	(gomp_task_run_post_handle_depend_hash,
   10175 	gomp_task_run_post_handle_dependers,
   10176 	gomp_task_run_post_handle_depend): New functions.
   10177 	(GOMP_taskwait): Use them.  If more than one new tasks
   10178 	have been queued, wake other threads if needed.
   10179 	(gomp_barrier_handle_tasks): Likewise.  If
   10180 	gomp_team_barrier_cancelled, don't start any new tasks, just free
   10181 	all tasks.
   10182 	(GOMP_taskgroup_start, GOMP_taskgroup_end): New functions.
   10183 	* omp_lib.f90.in
   10184 	(omp_proc_bind_kind, omp_proc_bind_false,
   10185 	omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close,
   10186 	omp_proc_bind_spread): New params.
   10187 	(omp_get_cancellation, omp_get_proc_bind, omp_set_default_device,
   10188 	omp_get_default_device, omp_get_num_devices, omp_get_num_teams,
   10189 	omp_get_team_num, omp_is_initial_device): New interfaces.
   10190 	(omp_get_dynamic, omp_get_nested, omp_in_parallel,
   10191 	omp_get_max_threads, omp_get_num_procs, omp_get_num_threads,
   10192 	omp_get_thread_num, omp_get_thread_limit, omp_set_max_active_levels,
   10193 	omp_get_max_active_levels, omp_get_level, omp_get_ancestor_thread_num,
   10194 	omp_get_team_size, omp_get_active_level, omp_in_final): Remove
   10195 	useless use omp_lib_kinds.
   10196 	* omp.h.in (omp_proc_bind_t): New typedef.
   10197 	(omp_get_cancellation, omp_get_proc_bind, omp_set_default_device,
   10198 	omp_get_default_device, omp_get_num_devices, omp_get_num_teams,
   10199 	omp_get_team_num, omp_is_initial_device): New prototypes.
   10200 	* loop.c (gomp_parallel_loop_start): Add flags argument, pass it
   10201 	through to gomp_team_start.
   10202 	(GOMP_parallel_loop_static_start, GOMP_parallel_loop_dynamic_start,
   10203 	GOMP_parallel_loop_guided_start, GOMP_parallel_loop_runtime_start):
   10204 	Adjust gomp_parallel_loop_start callers.
   10205 	(GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic,
   10206 	GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime,
   10207 	GOMP_loop_end_cancel): New functions.
   10208 	(GOMP_parallel_end): Add ialias_redirect.
   10209 	* hashtab.h: New file.
   10210 	* libgomp.texi (Environment Variables): Minor cleanup,
   10211 	update section refs to OpenMP 4.0rc2.
   10212 	(OMP_DISPLAY_ENV, GOMP_SPINCOUNT): Document these
   10213 	environment variables.
   10214 	* work.c (gomp_work_share_end, gomp_work_share_end_nowait): Set
   10215 	team->work_shares_to_free to thr->ts.work_share before calling
   10216 	free_work_share.
   10217 	(gomp_work_share_end_cancel): New function.
   10218 	* config/linux/proc.c: Include errno.h.
   10219 	(gomp_get_cpuset_size, gomp_cpuset_size, gomp_cpusetp): New variables.
   10220 	(gomp_cpuset_popcount): Add cpusetsize argument, use it instead of
   10221 	sizeof (cpu_set_t) to determine number of iterations.  Fix up check
   10222 	extern decl.  Use CPU_COUNT_S if available, or CPU_COUNT if
   10223 	gomp_cpuset_size is sizeof (cpu_set_t).
   10224 	(gomp_init_num_threads): Initialize gomp_cpuset_size,
   10225 	gomp_get_cpuset_size and gomp_cpusetp here, use gomp_cpusetp instead
   10226 	of &cpuset and pass gomp_cpuset_size instead of sizeof (cpu_set_t)
   10227 	to pthread_getaffinity_np.  Free and clear gomp_cpusetp if it didn't
   10228 	contain any logical CPUs.
   10229 	(get_num_procs): Don't call pthread_getaffinity_np if gomp_cpusetp
   10230 	is NULL.  Use gomp_cpusetp instead of &cpuset and pass
   10231 	gomp_get_cpuset_size instead of sizeof (cpu_set_t) to
   10232 	pthread_getaffinity_np.  Check gomp_places_list instead of
   10233 	gomp_cpu_affinity.  Adjust gomp_cpuset_popcount caller.
   10234 	* config/linux/bar.c (gomp_barrier_wait_end,
   10235 	gomp_barrier_wait_last): Use BAR_* defines.
   10236 	(gomp_team_barrier_wait_end): Likewise.  Clear BAR_CANCELLED
   10237 	from state where needed.  Set work_share_cancelled to 0 on last
   10238 	thread.
   10239 	(gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel_end,
   10240 	gomp_team_barrier_wait_cancel, gomp_team_barrier_cancel): New
   10241 	functions.
   10242 	* config/linux/proc.h (gomp_cpuset_popcount): Add attribute_hidden.
   10243 	Add cpusetsize argument.
   10244 	(gomp_cpuset_size, gomp_cpusetp): Declare.
   10245 	* config/linux/affinity.c: Include errno.h, stdio.h and string.h.
   10246 	(affinity_counter): Remove.
   10247 	(CPU_ISSET_S, CPU_ZERO_S, CPU_SET_S, CPU_CLR_S): Define
   10248 	if CPU_ALLOC_SIZE isn't defined.
   10249 	(gomp_init_affinity): Rewritten, if gomp_places_list is NULL, try
   10250 	silently create OMP_PLACES=threads, if it is non-NULL afterwards,
   10251 	bind current thread to the first place.
   10252 	(gomp_init_thread_affinity): Rewritten.  Add place argument, just
   10253 	pthread_setaffinity_np to gomp_places_list[place].
   10254 	(gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus,
   10255 	gomp_affinity_remove_cpu, gomp_affinity_copy_place,
   10256 	gomp_affinity_same_place, gomp_affinity_finalize_place_list,
   10257 	gomp_affinity_init_level, gomp_affinity_print_place): New functions.
   10258 	* config/linux/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST,
   10259 	BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define.
   10260 	(gomp_barrier_t): Add awaited_final field.
   10261 	(gomp_barrier_init): Initialize awaited_final field.
   10262 	(gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel,
   10263 	gomp_team_barrier_wait_cancel_end, gomp_team_barrier_cancel): New
   10264 	prototypes.
   10265 	(gomp_barrier_wait_start): Preserve BAR_CANCELLED bit.  Use BAR_*
   10266 	defines.
   10267 	(gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final_start,
   10268 	gomp_team_barrier_cancelled): New inline functions.
   10269 	(gomp_barrier_last_thread,
   10270 	gomp_team_barrier_set_task_pending,
   10271 	gomp_team_barrier_clear_task_pending,
   10272 	gomp_team_barrier_set_waiting_for_tasks,
   10273 	gomp_team_barrier_waiting_for_tasks,
   10274 	gomp_team_barrier_done): Use BAR_* defines.
   10275 	* config/posix/bar.c (gomp_barrier_init): Clear cancellable field.
   10276 	(gomp_barrier_wait_end): Use BAR_* defines.
   10277 	(gomp_team_barrier_wait_end): Clear BAR_CANCELLED from state.
   10278 	Set work_share_cancelled to 0 on last thread, use __atomic_load_n.
   10279 	Use BAR_* defines.
   10280 	(gomp_team_barrier_wait_cancel_end, gomp_team_barrier_wait_cancel,
   10281 	gomp_team_barrier_cancel): New functions.
   10282 	* config/posix/affinity.c (gomp_init_thread_affinity): Add place
   10283 	argument.
   10284 	(gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus,
   10285 	gomp_affinity_remove_cpu, gomp_affinity_copy_place,
   10286 	gomp_affinity_same_place, gomp_affinity_finalize_place_list,
   10287 	gomp_affinity_init_level, gomp_affinity_print_place): New stubs.
   10288 	* config/posix/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST,
   10289 	BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define.
   10290 	(gomp_barrier_t): Add cancellable field.
   10291 	(gomp_team_barrier_wait_cancel, gomp_team_barrier_wait_cancel_end,
   10292 	gomp_team_barrier_cancel): New prototypes.
   10293 	(gomp_barrier_wait_start): Preserve BAR_CANCELLED bit.
   10294 	(gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final,
   10295 	gomp_team_barrier_cancelled): New inline functions.
   10296 	(gomp_barrier_wait_start, gomp_barrier_last_thread,
   10297 	gomp_team_barrier_set_task_pending,
   10298 	gomp_team_barrier_clear_task_pending,
   10299 	gomp_team_barrier_set_waiting_for_tasks,
   10300 	gomp_team_barrier_waiting_for_tasks,
   10301 	gomp_team_barrier_done): Use BAR_* defines.
   10302 	* barrier.c (GOMP_barrier_cancel): New function.
   10303 	* omp_lib.h.in (omp_proc_bind_kind, omp_proc_bind_false,
   10304 	omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close,
   10305 	omp_proc_bind_spread): New params.
   10306 	(omp_get_cancellation, omp_get_proc_bind, omp_set_default_device,
   10307 	omp_get_default_device, omp_get_num_devices, omp_get_num_teams,
   10308 	omp_get_team_num, omp_is_initial_device): New externals.
   10309 	* parallel.c (GOMP_parallel, GOMP_cancel, GOMP_cancellation_point):
   10310 	New functions.
   10311 	(gomp_resolve_num_threads): Adjust for thread_limit now being in
   10312 	icv->thread_limit_var.  Use UINT_MAX instead of ULONG_MAX as
   10313 	infinity.  If not nested, just return minimum of max_num_threads
   10314 	and icv->thread_limit_var and if thr->thread_pool, set threads_busy
   10315 	to the returned value.  Otherwise, don't update atomically
   10316 	gomp_remaining_threads_count, but instead thr->thread_pool->threads_busy.
   10317 	(GOMP_parallel_end): Adjust for thread_limit now being in
   10318 	icv->thread_limit_var.  Use UINT_MAX instead of ULONG_MAX as
   10319 	infinity.  Adjust threads_busy in the pool rather than
   10320 	gomp_remaining_threads_count.  Remember team->nthreads and call
   10321 	gomp_team_end before adjusting threads_busy, if not nested
   10322 	afterwards, just set it to 1 non-atomically.  Add ialias.
   10323 	(GOMP_parallel_start): Adjust gomp_team_start caller.
   10324 	* testsuite/libgomp.c/atomic-14.c: Add parens to make it valid.
   10325 	* testsuite/libgomp.c/affinity-1.c: New test.
   10326 	* testsuite/libgomp.c/atomic-15.c: New test.
   10327 	* testsuite/libgomp.c/atomic-16.c: New test.
   10328 	* testsuite/libgomp.c/atomic-17.c: New test.
   10329 	* testsuite/libgomp.c/cancel-for-1.c: New test.
   10330 	* testsuite/libgomp.c/cancel-for-2.c: New test.
   10331 	* testsuite/libgomp.c/cancel-parallel-1.c: New test.
   10332 	* testsuite/libgomp.c/cancel-parallel-2.c: New test.
   10333 	* testsuite/libgomp.c/cancel-parallel-3.c: New test.
   10334 	* testsuite/libgomp.c/cancel-sections-1.c: New test.
   10335 	* testsuite/libgomp.c/cancel-taskgroup-1.c: New test.
   10336 	* testsuite/libgomp.c/cancel-taskgroup-2.c: New test.
   10337 	* testsuite/libgomp.c/depend-1.c: New test.
   10338 	* testsuite/libgomp.c/depend-2.c: New test.
   10339 	* testsuite/libgomp.c/depend-3.c: New test.
   10340 	* testsuite/libgomp.c/depend-4.c: New test.
   10341 	* testsuite/libgomp.c/for-1.c: New test.
   10342 	* testsuite/libgomp.c/for-1.h: New file.
   10343 	* testsuite/libgomp.c/for-2.c: New test.
   10344 	* testsuite/libgomp.c/for-2.h: New file.
   10345 	* testsuite/libgomp.c/for-3.c: New test.
   10346 	* testsuite/libgomp.c/pr58392.c: New test.
   10347 	* testsuite/libgomp.c/simd-1.c: New test.
   10348 	* testsuite/libgomp.c/simd-2.c: New test.
   10349 	* testsuite/libgomp.c/simd-3.c: New test.
   10350 	* testsuite/libgomp.c/simd-4.c: New test.
   10351 	* testsuite/libgomp.c/simd-5.c: New test.
   10352 	* testsuite/libgomp.c/simd-6.c: New test.
   10353 	* testsuite/libgomp.c/target-1.c: New test.
   10354 	* testsuite/libgomp.c/target-2.c: New test.
   10355 	* testsuite/libgomp.c/target-3.c: New test.
   10356 	* testsuite/libgomp.c/target-4.c: New test.
   10357 	* testsuite/libgomp.c/target-5.c: New test.
   10358 	* testsuite/libgomp.c/target-6.c: New test.
   10359 	* testsuite/libgomp.c/target-7.c: New test.
   10360 	* testsuite/libgomp.c/taskgroup-1.c: New test.
   10361 	* testsuite/libgomp.c/thread-limit-1.c: New test.
   10362 	* testsuite/libgomp.c/thread-limit-2.c: New test.
   10363 	* testsuite/libgomp.c/thread-limit-3.c: New test.
   10364 	* testsuite/libgomp.c/udr-1.c: New test.
   10365 	* testsuite/libgomp.c/udr-2.c: New test.
   10366 	* testsuite/libgomp.c/udr-3.c: New test.
   10367 	* testsuite/libgomp.c++/affinity-1.C: New test.
   10368 	* testsuite/libgomp.c++/atomic-10.C: New test.
   10369 	* testsuite/libgomp.c++/atomic-11.C: New test.
   10370 	* testsuite/libgomp.c++/atomic-12.C: New test.
   10371 	* testsuite/libgomp.c++/atomic-13.C: New test.
   10372 	* testsuite/libgomp.c++/atomic-14.C: New test.
   10373 	* testsuite/libgomp.c++/atomic-15.C: New test.
   10374 	* testsuite/libgomp.c++/cancel-for-1.C: New test.
   10375 	* testsuite/libgomp.c++/cancel-for-2.C: New test.
   10376 	* testsuite/libgomp.c++/cancel-parallel-1.C: New test.
   10377 	* testsuite/libgomp.c++/cancel-parallel-2.C: New test.
   10378 	* testsuite/libgomp.c++/cancel-parallel-3.C: New test.
   10379 	* testsuite/libgomp.c++/cancel-sections-1.C: New test.
   10380 	* testsuite/libgomp.c++/cancel-taskgroup-1.C: New test.
   10381 	* testsuite/libgomp.c++/cancel-taskgroup-2.C: New test.
   10382 	* testsuite/libgomp.c++/cancel-taskgroup-3.C: New test.
   10383 	* testsuite/libgomp.c++/cancel-test.h: New file.
   10384 	* testsuite/libgomp.c++/for-9.C: New test.
   10385 	* testsuite/libgomp.c++/for-10.C: New test.
   10386 	* testsuite/libgomp.c++/for-11.C: New test.
   10387 	* testsuite/libgomp.c++/simd-1.C: New test.
   10388 	* testsuite/libgomp.c++/simd-2.C: New test.
   10389 	* testsuite/libgomp.c++/simd-3.C: New test.
   10390 	* testsuite/libgomp.c++/simd-4.C: New test.
   10391 	* testsuite/libgomp.c++/simd-5.C: New test.
   10392 	* testsuite/libgomp.c++/simd-6.C: New test.
   10393 	* testsuite/libgomp.c++/simd-7.C: New test.
   10394 	* testsuite/libgomp.c++/simd-8.C: New test.
   10395 	* testsuite/libgomp.c++/target-1.C: New test.
   10396 	* testsuite/libgomp.c++/target-2.C: New test.
   10397 	* testsuite/libgomp.c++/target-2-aux.cc: New file.
   10398 	* testsuite/libgomp.c++/target-3.C: New test.
   10399 	* testsuite/libgomp.c++/taskgroup-1.C: New test.
   10400 	* testsuite/libgomp.c++/udr-1.C: New test.
   10401 	* testsuite/libgomp.c++/udr-2.C: New test.
   10402 	* testsuite/libgomp.c++/udr-3.C: New test.
   10403 	* testsuite/libgomp.c++/udr-4.C: New test.
   10404 	* testsuite/libgomp.c++/udr-5.C: New test.
   10405 	* testsuite/libgomp.c++/udr-6.C: New test.
   10406 	* testsuite/libgomp.c++/udr-7.C: New test.
   10407 	* testsuite/libgomp.c++/udr-8.C: New test.
   10408 	* testsuite/libgomp.c++/udr-9.C: New test.
   10409 
   10410 2013-09-20  Jakub Jelinek  <jakub (a] redhat.com>
   10411 
   10412 	PR testsuite/57605
   10413 	* testsuite/lib/libgomp.exp: Add -fdiagnostics-color=never to
   10414 	ALWAYS_CFLAGS.
   10415 
   10416 2013-09-20  Alan Modra  <amodra (a] gmail.com>
   10417 
   10418 	* configure: Regenerate.
   10419 
   10420 2013-09-19  Jakub Jelinek  <jakub (a] redhat.com>
   10421 
   10422 	* testsuite/libgomp.c/sections-2.c: New test.
   10423 
   10424 2013-06-28  Marcus Shawcroft  <marcus.shawcroft (a] arm.com>
   10425 
   10426 	* testsuite/libgomp.fortran/strassen.f90:
   10427 	Add dg-skip-if aarch64_tiny.
   10428 
   10429 2013-06-20  Iain Sandoe  <iain (a] codesourcery.com>
   10430 	    Cesar Philippidis  <cesar (a] codesourcery.com>
   10431 
   10432 	* testsuite/lib/libgomp.exp: Reorder lib loads into dependency order.
   10433 	Do not load_gcc_lib gcc-dg.exp and add a comment as to why.
   10434 	* testsuite/libgomp.c/c.exp: load_gcc_lib gcc-dg.exp.
   10435 	* testsuite/libgomp.fortran/fortran.exp: Likewise.
   10436 	* testsuite/libgomp.graphite/graphite.exp: Likewise.
   10437 	* testsuite/libgomp.c++/c++.exp: load_gcc_lib gcc-dg.exp.
   10438 	Use dg-runtest rather than gfortran-dg-runtest.
   10439 
   10440 2013-06-10  Thomas Schwinge  <thomas (a] codesourcery.com>
   10441 
   10442 	* testsuite/libgomp.c/icv-2.c: Extend current handling of
   10443 	Linux-based x86 systems to cover all GNU systems.
   10444 	* testsuite/libgomp.c/lock-3.c: Likewise.
   10445 	* testsuite/libgomp.c/pr48591.c: Likewise.
   10446 
   10447 2013-06-06  Thomas Schwinge  <thomas (a] codesourcery.com>
   10448 
   10449 	* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
   10450 	GNU/Hurd, as done for Linux-based systems.
   10451 
   10452 	* config/posix/ptrlock.h: Fix comment.
   10453 
   10454 2013-05-27  Tobias Burnus  <burnus (a] net-b.de>
   10455 
   10456 	PR fortran/57423
   10457 	* libgomp.texi (omp_set_dynamic, omp_set_nested, omp_set_nested,
   10458 	omp_set_num_threads, omp_init_lock, omp_set_lock, omp_test_lock,
   10459 	omp_unset_lock, omp_destroy_lock, omp_init_nest_lock,
   10460 	omp_set_nest_lock, omp_test_nest_lock, omp_unset_nest_lock,
   10461 	omp_destroy_nest_lock): Correct arguments to match the one in
   10462 	the OpenMP spec.
   10463 	* omp_lib.f90.in (omp_init_lock, omp_init_nest_lock, omp_destroy_lock
   10464 	omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, omp_unset_lock,
   10465 	omp_unset_nest_lock, omp_set_dynamic, omp_set_nested,
   10466 	omp_set_num_threads, omp_test_lock, omp_test_nest_lock): Ditto.
   10467 
   10468 2013-05-16  Jakub Jelinek  <jakub (a] redhat.com>
   10469 
   10470 	* testsuite/libgomp.c/loop-13.c: New test.
   10471 	* testsuite/libgomp.c/loop-14.c: New test.
   10472 	* testsuite/libgomp.c/loop-15.c: New test.
   10473 	* testsuite/libgomp.c++/loop-13.C: New test.
   10474 	* testsuite/libgomp.c++/loop-14.C: New test.
   10475 	* testsuite/libgomp.c++/loop-15.C: New test.
   10476 
   10477 2013-02-06  Jakub Jelinek  <jakub (a] redhat.com>
   10478 
   10479 	PR middle-end/56217
   10480 	* testsuite/libgomp.c++/pr56217.C: New test.
   10481 
   10482 2013-02-01  Alan Modra  <amodra (a] gmail.com>
   10483 
   10484 	* task.c (GOMP_task, GOMP_taskwait): Comment.
   10485 
   10486 2013-01-31  Dmitry Vyukov  <dvyukov (a] gcc.gnu.org>
   10487 	    Joost VandeVondele  <Joost.VandeVondele (a] mat.ethz.ch>
   10488 
   10489 	PR libgomp/55561
   10490 	* config/linux/wait.h (do_spin): Use atomic load for addr.
   10491 	* config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic
   10492 	for intptr and ptrlock.
   10493 	* config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load
   10494 	for ptrlock.
   10495 
   10496 2013-01-22  Alan Modra  <amodra (a] gmail.com>
   10497 
   10498 	PR libgomp/51376
   10499 	PR libgomp/56073
   10500 	* task.c (GOMP_task): Revert 2011-12-09 change.
   10501 	(GOMP_taskwait): Likewise.  Instead use atomic load with acquire
   10502 	barrier to read task->children..
   10503 	(gomp_barrier_handle_tasks): ..and matching atomic store with
   10504 	release barrier here when setting parent->children to NULL.
   10505 
   10506 2013-01-16  Jakub Jelinek  <jakub (a] redhat.com>
   10507 	    Tobias Burnus  <burnus (a] net-b.de>
   10508 
   10509 	PR driver/55884
   10510 	* testsuite/libgomp.fortran/fortran.exp: Use
   10511 	-fintrinsic-modules-path= instead of
   10512 	-fintrinsic-modules-path.
   10513 
   10514 2013-01-14  Richard Sandiford  <rdsandiford (a] googlemail.com>
   10515 
   10516 	Update copyright years.
   10517 
   10518 2012-12-19  Tobias Burnus  <burnus (a] net-b.de>
   10519 
   10520 	* testsuite/libgomp.fortran/fortran.exp: Set
   10521 	-fintrinsic-modules-path.
   10522 
   10523 2012-12-19  Tobias Burnus  <burnus (a] net-b.de>
   10524 
   10525 	* testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved
   10526 	from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90.
   10527 
   10528 2012-11-21  Jakub Jelinek  <jakub (a] redhat.com>
   10529 
   10530 	PR libgomp/55411
   10531 	* team.c (gomp_free_thread): Decrease gomp_managed_threads
   10532 	if pool had any threads_used.
   10533 
   10534 2012-11-07  Jack Howarth <howarth (a] bromo.med.uc.edu>
   10535 
   10536 	* testsuite/libgomp.c++/pr24455.C: Use
   10537 	-Wl,-undefined,dynamic_lookup on darwin.
   10538 
   10539 2012-11-07  David Edelsohn  <dje.gcc (a] gmail.com>
   10540 
   10541 	* testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX.
   10542 
   10543 2012-10-24  Dominique d'Humieres  <dominiq (a] lps.ens.fr>
   10544 
   10545 	* testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops.
   10546 
   10547 2012-10-23  Ian Bolton  <ian.bolton (a] arm.com>
   10548 	    Jim MacArthur  <jim.macarthur (a] arm.com>
   10549 	    Marcus Shawcroft  <marcus.shawcroft (a] arm.com>
   10550 	    Nigel Stephens  <nigel.stephens (a] arm.com>
   10551 	    Ramana Radhakrishnan  <ramana.radhakrishnan (a] arm.com>
   10552 	    Richard Earnshaw  <rearnsha (a] arm.com>
   10553 	    Sofiane Naci  <sofiane.naci (a] arm.com>
   10554 	    Stephen Thomas  <stephen.thomas (a] arm.com>
   10555 	    Tejas Belagod  <tejas.belagod (a] arm.com>
   10556 	    Yufeng Zhang  <yufeng.zhang (a] arm.com>
   10557 
   10558 	* configure.tgt: Add AArch64.
   10559 
   10560 2012-10-04  Jason Merrill  <jason (a] redhat.com>
   10561 
   10562 	* testsuite/libgomp.c++/tls-init1.C: New.
   10563 
   10564 2012-09-14  David Edelsohn  <dje.gcc (a] gmail.com>
   10565 
   10566 	* configure: Regenerated.
   10567 
   10568 2012-08-29  Chung-Lin Tang  <cltang (a] codesourcery.com>
   10569 
   10570 	* config/linux/mips/futex.h (sys_futex0): Change to static
   10571 	function with noinline, nomips16 attributes under MIPS16. Adjust
   10572 	asm statement to place 'li v0,SYS_futex' immediately before
   10573 	syscall insn.
   10574 
   10575 2012-07-04  Sandra Loosemore <sandra (a] codesourcery.com>
   10576 
   10577 	* libgomp.texi (Library Index): Renamed from "Index" to prevent
   10578 	conflict with index.html on case-insensitive file systems.
   10579 
   10580 2012-07-03  Uros Bizjak  <ubizjak (a] gmail.com>
   10581 
   10582 	* config/linux/x86/futex.h (cpu_relax): Use __builtin_ia32_pause.
   10583 	* testsuite/libgomp.c/sort-1.c (busy_wait): Ditto.
   10584 
   10585 2012-07-02  Richard Guenther  <rguenther (a] suse.de>
   10586 	    Michael Matz  <matz (a] suse.de>
   10587 	    Tobias Grosser <tobias (a] grosser.es>
   10588 	    Sebastian Pop <sebpop (a] gmail.com>
   10589 
   10590 	* testsuite/libgomp.graphite/force-parallel-4.c: Adjust.
   10591 	* testsuite/libgomp.graphite/force-parallel-5.c: Likewise.
   10592 	* testsuite/libgomp.graphite/force-parallel-7.c: Likewise.
   10593 	* testsuite/libgomp.graphite/force-parallel-8.c: Likewise.
   10594 
   10595 2012-06-28  Andreas Schwab  <schwab (a] linux-m68k.org>
   10596 
   10597 	* libgomp.texi: Include gpl_v3.texi instead of gpl.texi.
   10598 
   10599 2012-06-22  Richard Guenther  <rguenther (a] suse.de>
   10600 
   10601 	Merge from graphite branch
   10602 	2012-01-13  Tobias Grosser  <tobias (a] grosser.es>
   10603 
   10604 	* testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
   10605 	* testsuite/libgomp.graphite/force-parallel-2.c: Likewise.
   10606 
   10607 2012-06-07  Jakub Jelinek  <jakub (a] redhat.com>
   10608 
   10609 	PR middle-end/53580
   10610 	* testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier,
   10611 	use GOMP_barrier () call instead.
   10612 	* testsuite/libgomp.c/pr26943-3.c: Likewise.
   10613 	* testsuite/libgomp.c/pr26943-4.c: Likewise.
   10614 	* testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier,
   10615 	call GOMP_barrier instead.
   10616 	* testsuite/libgomp.fortran/vla5.f90: Likewise.
   10617 
   10618 2012-06-06  Jakub Jelinek  <jakub (a] redhat.com>
   10619 
   10620 	PR libgomp/52993
   10621 	* config/linux/lock.c (gomp_init_nest_lock_25): Fix up last
   10622 	argument to memset call.
   10623 
   10624 2012-05-16  H.J. Lu  <hongjiu.lu (a] intel.com>
   10625 
   10626 	* configure: Regenerated.
   10627 
   10628 2012-04-11  Manuel Lpez-Ibez  <manu (a] gcc.gnu.org>
   10629 
   10630 	* testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret.
   10631 
   10632 2012-03-31  H.J. Lu  <hongjiu.lu (a] intel.com>
   10633 
   10634 	PR bootstrap/52812
   10635 	* configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64.
   10636 
   10637 2012-03-22  Jakub Jelinek  <jakub (a] redhat.com>
   10638 
   10639 	PR middle-end/52547
   10640 	* testsuite/libgomp.c/pr52547.c: New test.
   10641 
   10642 2012-03-16  Bernhard Reutner-Fischer  <aldot (a] gcc.gnu.org>
   10643 
   10644 	* testsuite/lib/libgomp.exp: load fortran-modules.exp
   10645 
   10646 2012-03-14  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10647 
   10648 	* configure.tgt (mips-sgi-irix6*): Remove.
   10649 
   10650 2012-03-12  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10651 
   10652 	* configure.tgt (alpha*-dec-osf*): Remove.
   10653 
   10654 	* config/osf/sem.h: Remove.
   10655 	* config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally.
   10656 
   10657 2012-02-29  Eric Botcazou  <ebotcazou (a] adacore.com>
   10658 
   10659 	* config/linux/sparc/futex.h (cpu_relax): Read from CC register.
   10660 
   10661 2012-02-27  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10662 
   10663 	PR libstdc++/52188
   10664 	* acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Remove	symvers_renaming.
   10665 	Remove ENABLE_SYMVERS_SOL2.
   10666 	* configure: Regenerate.
   10667 	* Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB] (comma): New variable.
   10668 	(PREPROCESS): New variable.
   10669 	(libgomp.ver): New target.
   10670 	[LIBGOMP_BUILD_VERSIONED_SHLIB &&
   10671 	LIBGOMP_BUILD_VERSIONED_SHLIB_GNU]: Remove
   10672 	LIBGOMP_BUILD_VERSIONED_SHLIB_SOL2 handling.
   10673 	Use libgomp.ver.
   10674 	[LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Use libgomp.ver, libgomp.ver-sun.
   10675 	* Makefile.in: Regenerate.
   10676 
   10677 2012-02-14  Walter Lee  <walt (a] tilera.com>
   10678 
   10679 	* configure.tgt: Handle tilegx and tilepro.
   10680 	* config/linux/tile/futex.h: New file.
   10681 
   10682 2012-02-08  Richard Guenther  <rguenther (a] suse.de>
   10683 
   10684 	PR tree-optimization/46886
   10685 	* testsuite/libgomp.c/pr46886.c: New testcase.
   10686 
   10687 2012-01-25  Matthias Klose  <doko (a] ubuntu.com>
   10688 
   10689 	* config/linux/arm: Remove empty directory.
   10690 	* configure.tgt (config_path): Remove linux-arm for arm*-*-linux*.
   10691 
   10692 2011-12-09  Alan Modra  <amodra (a] gmail.com>
   10693 
   10694 	PR libgomp/51376
   10695 	* task.c (GOMP_taskwait): Don't access task->children outside of
   10696 	task_lock mutex region.
   10697 	(GOMP_task): Likewise.
   10698 
   10699 2011-12-06  Jakub Jelinek  <jakub (a] redhat.com>
   10700 
   10701 	PR libgomp/51132
   10702 	* testsuite/libgomp.graphite/force-parallel-1.c: Move large arrays
   10703 	to file scope.
   10704 	* testsuite/libgomp.graphite/force-parallel-3.c: Likewise.
   10705 	* testsuite/libgomp.graphite/force-parallel-6.c: Likewise.
   10706 	* testsuite/libgomp.graphite/force-parallel-7.c: Likewise.
   10707 	* testsuite/libgomp.graphite/force-parallel-8.c: Likewise.
   10708 	* testsuite/libgomp.graphite/force-parallel-9.c: Likewise.
   10709 
   10710 2011-12-02  Alan Modra  <amodra (a] gmail.com>
   10711 
   10712 	* config/linux/affinity.c: Use atomic rather than sync builtin.
   10713 	* config/linux/lock.c: Likewise.
   10714 	* config/linux/ptrlock.h: Likewise.
   10715 	* config/linux/ptrlock.c: Likewise.
   10716 	* config/linux/ptrlock.h (gomp_ptrlock_set): Always write here..
   10717 	* config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here.
   10718 	* config/linux/futex.h (atomic_write_barrier): Delete unused function.
   10719 	* config/linux/alpha/futex.h (atomic_write_barrier): Likewise.
   10720 	* config/linux/ia64/futex.h (atomic_write_barrier): Likewise.
   10721 	* config/linux/mips/futex.h (atomic_write_barrier): Likewise.
   10722 	* config/linux/powerpc/futex.h (atomic_write_barrier): Likewise.
   10723 	* config/linux/s390/futex.h (atomic_write_barrier): Likewise.
   10724 	* config/linux/sparc/futex.h (atomic_write_barrier): Likewise.
   10725 	* config/linux/x86/futex.h (atomic_write_barrier): Likewise.
   10726 
   10727 2011-11-30  Alan Modra  <amodra (a] gmail.com>
   10728 
   10729 	PR libgomp/51298
   10730 	* config/linux/bar.h: Use atomic rather than sync builtins.
   10731 	* config/linux/bar.c: Likewise.  Add missing acquire
   10732 	synchronisation on generation field.
   10733 	* task.c (gomp_barrier_handle_tasks): Regain lock so as to not
   10734 	double unlock.
   10735 
   10736 2011-11-30  Alan Modra  <amodra (a] gmail.com>
   10737 
   10738 	* ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence.
   10739 	* critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence.
   10740 	* config/linux/mutex.h: Use atomic rather than sync builtins.
   10741 	* config/linux/mutex.c: Likewise.  Comment.  Use -1 for waiting state.
   10742 	* config/linux/omp-lock.h: Comment fix.
   10743 	* config/linux/arm/mutex.h: Delete.
   10744 	* config/linux/powerpc/mutex.h: Delete.
   10745 	* config/linux/ia64/mutex.h: Delete.
   10746 	* config/linux/mips/mutex.h: Delete.
   10747 
   10748 2011-11-30  Alan Modra  <amodra (a] gmail.com>
   10749 
   10750 	PR libgomp/51249
   10751 	* config/linux/sem.h: Rewrite.
   10752 	* config/linux/sem.c: Rewrite.
   10753 
   10754 2011-11-28  Richard Henderson  <rth (a] redhat.com>
   10755 
   10756 	* libgomp.h (enum memmodel): New.
   10757 
   10758 2011-11-21  Andreas Tobler  <andreast (a] fgznet.ch>
   10759 
   10760 	* configure: Regenerate.
   10761 
   10762 2011-10-10  Matthias Klose  <doko (a] ubuntu.com>
   10763 
   10764 	* config/posix95: Remove empty directory.
   10765 
   10766 2011-08-26  Jakub Jelinek  <jakub (a] redhat.com>
   10767 
   10768 	* testsuite/libgomp.fortran/threadprivate4.f90: New test.
   10769 
   10770 2011-08-19  Jakub Jelinek  <jakub (a] redhat.com>
   10771 
   10772 	PR fortran/49792
   10773 	* testsuite/libgomp.fortran/pr49792-1.f90: New test.
   10774 	* testsuite/libgomp.fortran/pr49792-2.f90: New test.
   10775 
   10776 2011-08-08  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10777 
   10778 	* config/posix95/lock.c, posix95/omp-lock.h: Remove.
   10779 
   10780 2011-08-05  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10781 
   10782 	PR libgomp/49965
   10783 	* testsuite/libgomp.c++/task-8.C: Replaced err by errval.
   10784 
   10785 2011-08-03  Uros Bizjak  <ubizjak (a] gmail.com>
   10786 
   10787 	* config/linux/proc.h: New.
   10788 	* config/linux/proc.c: Include "proc.h".  Do not include <sched.h>.
   10789 	(gomp_cpuset_popcount): Rename from cpuset_popcount.  No more static.
   10790 	(gomp_init_num_threads): Update call to cpuset_popcount.
   10791 	(get_num_procs): Ditto.
   10792 	* config/linux/affinity.c (gomp_init_affinity): Call
   10793 	gomp_cpuset_popcount.
   10794 
   10795 2011-08-02  Jakub Jelinek  <jakub (a] redhat.com>
   10796 
   10797 	PR fortran/42041
   10798 	PR fortran/46752
   10799 	* omp.h.in (omp_in_final): New prototype.
   10800 	* omp_lib.f90.in (omp_in_final): New interface.
   10801 	(omp_integer_kind, omp_logical_kind): Remove
   10802 	and replace all its uses in the module with 4.
   10803 	(openmp_version): Change to 201107.
   10804 	* omp_lib.h.in (omp_sched_static, omp_sched_dynamic,
   10805 	omp_sched_guided, omp_sched_auto): Use omp_sched_kind
   10806 	kind for the parameters.
   10807 	(omp_in_final): New external.
   10808 	(openmp_version): Change to 201107.
   10809 	* task.c (omp_in_final): New function.
   10810 	(gomp_init_task): Initialize final_task.
   10811 	(GOMP_task): Remove unused attribute from flags.  Handle final
   10812 	tasks.
   10813 	(GOMP_taskyield): New function.
   10814 	(omp_in_final): Return true if if (false) or final (true) task
   10815 	or descendant of final (true).
   10816 	* fortran.c (omp_in_final_): New function.
   10817 	* libgomp.map (OMP_3.1): Export omp_in_final and omp_in_final_.
   10818 	(GOMP_3.0): Export GOMP_taskyield.
   10819 	* env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New
   10820 	variables.
   10821 	(parse_unsigned_long_list): New function.
   10822 	(initialize_env): Use it for OMP_NUM_THREADS.  Call parse_boolean
   10823 	with "OMP_PROC_BIND".  If OMP_PROC_BIND=true, call gomp_init_affinity
   10824 	even if parse_affinity returned false.
   10825 	* config/linux/affinity.c (gomp_init_affinity): Handle
   10826 	gomp_cpu_affinity_len == 0.
   10827 	* libgomp_g.h (GOMP_taskyield): New prototype.
   10828 	* libgomp.h (struct gomp_task): Add final_task field.
   10829 	(gomp_nthreads_var_list, gomp_nthreads_var_list_len): New externs.
   10830 	* team.c (gomp_team_start): Override new task's nthreads_var icv
   10831 	if list form OMP_NUM_THREADS has been used and it has value for
   10832 	the new nesting level.
   10833 
   10834 	* testsuite/libgomp.c/atomic-11.c: New test.
   10835 	* testsuite/libgomp.c/atomic-12.c: New test.
   10836 	* testsuite/libgomp.c/atomic-13.c: New test.
   10837 	* testsuite/libgomp.c/atomic-14.c: New test.
   10838 	* testsuite/libgomp.c/reduction-6.c: New test.
   10839 	* testsuite/libgomp.c/task-5.c: New test.
   10840 	* testsuite/libgomp.c++/atomic-2.C: New test.
   10841 	* testsuite/libgomp.c++/atomic-3.C: New test.
   10842 	* testsuite/libgomp.c++/atomic-4.C: New test.
   10843 	* testsuite/libgomp.c++/atomic-5.C: New test.
   10844 	* testsuite/libgomp.c++/atomic-6.C: New test.
   10845 	* testsuite/libgomp.c++/atomic-7.C: New test.
   10846 	* testsuite/libgomp.c++/atomic-8.C: New test.
   10847 	* testsuite/libgomp.c++/atomic-9.C: New test.
   10848 	* testsuite/libgomp.c++/task-8.C: New test.
   10849 	* testsuite/libgomp.c++/reduction-4.C: New test.
   10850 	* testsuite/libgomp.fortran/allocatable7.f90: New test.
   10851 	* testsuite/libgomp.fortran/allocatable8.f90: New test.
   10852 	* testsuite/libgomp.fortran/crayptr3.f90: New test.
   10853 	* testsuite/libgomp.fortran/omp_atomic3.f90: New test.
   10854 	* testsuite/libgomp.fortran/omp_atomic4.f90: New test.
   10855 	* testsuite/libgomp.fortran/pointer1.f90: New test.
   10856 	* testsuite/libgomp.fortran/pointer2.f90: New test.
   10857 	* testsuite/libgomp.fortran/task4.f90: New test.
   10858 
   10859 2011-08-02  Tobias Burnus  <burnus (a] net-b.de>
   10860 
   10861 	* libgomp.texi: Update OpenMP spec references to 3.1.
   10862 	(omp_in_final,OMP_PROC_BIND): New sections.
   10863 	(OMP_NUM_THREADS): Document that the value can be now a list.
   10864 	(GOMP_STACKSIZE,GOMP_CPU_AFFINITY): Update @ref.
   10865 
   10866 2011-08-02  H.J. Lu  <hongjiu.lu (a] intel.com>
   10867 
   10868 	* config/linux/x86/futex.h: Check __x86_64__ instead of
   10869 	__LP64__.
   10870 
   10871 2011-07-29  Jakub Jelinek  <jakub (a] redhat.com>
   10872 
   10873 	PR middle-end/49897
   10874 	PR middle-end/49898
   10875 	* testsuite/libgomp.c/pr49897-1.c: New test.
   10876 	* testsuite/libgomp.c/pr49897-2.c: New test.
   10877 	* testsuite/libgomp.c/pr49898-1.c: New test.
   10878 	* testsuite/libgomp.c/pr49898-2.c: New test.
   10879 
   10880 2011-07-28  H.J. Lu  <hongjiu.lu (a] intel.com>
   10881 
   10882 	* testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486
   10883 	for ia32 instead of ilp32.
   10884 
   10885 	* testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32.
   10886 	* testsuite/libgomp.c/atomic-6.c: Likewise.
   10887 
   10888 2011-07-23  Sebastian Pop  <sebastian.pop (a] amd.com>
   10889 
   10890 	* testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail.
   10891 	* testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern.
   10892 
   10893 2011-07-25  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10894 
   10895 	PR libgomp/45351
   10896 	* config/osf/sem.h: New file.
   10897 	* configure.tgt (alpha*-dec-osf*): Prepend osf to config_path.
   10898 
   10899 2011-07-18  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10900 
   10901 	PR target/49541
   10902 	* testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to
   10903 	ldflags.
   10904 
   10905 2011-07-15  Jakub Jelinek  <jakub (a] redhat.com>
   10906 
   10907 	* config/linux/wait.h (do_spin): New inline, largely copied
   10908 	from do_wait, just don't do futex_wait here, instead return true if
   10909 	it should be done.
   10910 	(do_wait): Implement using do_spin.
   10911 	* config/linux/mutex.h (gomp_mutex_lock_slow): Add an int argument
   10912 	to prototype.
   10913 	(gomp_mutex_lock): Use __sync_val_compare_and_swap instead of
   10914 	__sync_bool_compare_and_swap, pass the oldval to
   10915 	gomp_mutex_lock_slow.
   10916 	* config/linux/mutex.c (gomp_mutex_lock_slow): Add oldval argument.
   10917 	If all mutex contenders are just spinning and not sleeping, don't
   10918 	change state to 2 unnecessarily.  Optimize the loop when state has
   10919 	already become 2 to use just one atomic operation per loop instead
   10920 	of two.
   10921 	* config/linux/ia64/mutex.h (gomp_mutex_lock_slow): Add an int argument
   10922 	to prototype.
   10923 	(gomp_mutex_lock): Use __sync_val_compare_and_swap instead of
   10924 	__sync_bool_compare_and_swap, pass the oldval to
   10925 	gomp_mutex_lock_slow.
   10926 
   10927 2011-06-22  Jakub Jelinek  <jakub (a] redhat.com>
   10928 
   10929 	PR libgomp/49490
   10930 	* iter.c (gomp_iter_static_next): For chunk size 0
   10931 	only use n ceil/ nthreads size for the first
   10932 	n % nthreads threads in the team instead of
   10933 	all threads except for the last few ones which
   10934 	get less work or none at all.
   10935 	* iter_ull.c (gomp_iter_ull_static_next): Likewise.
   10936 	* env.c (parse_schedule): If OMP_SCHEDULE doesn't have
   10937 	chunk argument, set run_sched_modifier to 0 for static
   10938 	resp. 1 for other kinds.  If chunk argument is 0
   10939 	and not static, set value to 1.
   10940 
   10941 2011-05-19  Jakub Jelinek  <jakub (a] redhat.com>
   10942 
   10943 	PR c++/49043
   10944 	* testsuite/libgomp.c++/pr49043.C: New test.
   10945 
   10946 	PR c++/48869
   10947 	* testsuite/libgomp.c++/pr48869.C: New test.
   10948 
   10949 2011-05-06  Jakub Jelinek  <jakub (a] redhat.com>
   10950 
   10951 	PR fortran/48894
   10952 	* fortran.c: Include limits.h.
   10953 	(TO_INT): Define.
   10954 	(omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of
   10955 	*set.
   10956 	(omp_set_num_threads_8_, omp_set_schedule_8_,
   10957 	omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_,
   10958 	omp_get_team_size_8_): Use TO_INT macro.
   10959 	* testsuite/libgomp.fortran/pr48894.f90: New test.
   10960 
   10961 2011-04-13  Jakub Jelinek  <jakub (a] redhat.com>
   10962 
   10963 	PR middle-end/48591
   10964 	* testsuite/libgomp.c/pr48591.c: New test.
   10965 
   10966 2011-03-21  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   10967 
   10968 	PR bootstrap/48135
   10969 	* acinclude.m4 (enable_symvers): Handle --disable-symvers.
   10970 	* configure: Regenerate.
   10971 
   10972 2011-02-27  Jakub Jelinek  <jakub (a] redhat.com>
   10973 
   10974 	PR fortran/47886
   10975 	* testsuite/libgomp.fortran/task3.f90: New test.
   10976 
   10977 2011-02-24  Tobias Burnus  <burnus (a] net-b.de>
   10978 
   10979 	* libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE.
   10980 
   10981 2011-02-23  Jakub Jelinek  <jakub (a] redhat.com>
   10982 
   10983 	PR libgomp/47854
   10984 	* libgomp.texi (omp_get_wtime): Don't say time in the past
   10985 	must be Unix Epoch.
   10986 
   10987 2011-02-18  Jakub Jelinek  <jakub (a] redhat.com>
   10988 
   10989 	PR libgomp/47804
   10990 	* testsuite/libgomp.fortran/fortran.exp: Check for both
   10991 	libquadmath.a and libquadmath.${shlib_ext}.  If neither exists,
   10992 	but $blddir != "", still append ${blddir}/${lang_library_path}
   10993 	to ld_library_path.
   10994 
   10995 2011-02-16  Tobias Burnus  <burnus (a] net-b.de>
   10996 
   10997 	PR libgomp/47758
   10998 	* testsuite/libgomp.fortran/fortran.exp: Check for the existence
   10999 	of libquadmath.a before adding its libpath to ldflags.
   11000 
   11001 2011-02-14  Jakub Jelinek  <jakub (a] redhat.com>
   11002 
   11003 	PR libgomp/47731
   11004 	* config/linux/futex.h (futex_wait): Pass NULL as timeout argument
   11005 	to FUTEX_WAIT futex syscall.
   11006 	* config/linux/wait.h: Include <futex.h> instead of "futex.h".
   11007 
   11008 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11009 
   11010 	* configure: Regenerate.
   11011 
   11012 2011-01-20  Benjamin Kosnik  <bkoz (a] redhat.com>
   11013 
   11014 	PR libstdc++/36104
   11015 	* acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants.
   11016 
   11017 2011-01-16  Gerald Pfeifer
   11018 
   11019 	* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
   11020 
   11021 2010-12-14  Jakub Jelinek  <jakub (a] redhat.com>
   11022 
   11023 	PR fortran/46874
   11024 	* libgomp.fortran/allocatable6.f90: New test.
   11025 
   11026 2010-12-06  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11027 
   11028 	* acinclude.m4 (symvers_renaming): Also set if enable_symvers = no.
   11029 	* configure: Regenerate.
   11030 
   11031 2010-12-06  Dave Korn  <dave.korn.cygwin (a] gmail.com>
   11032 
   11033 	PR target/40125
   11034 	PR lto/46695
   11035 	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
   11036 	* Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags.
   11037 	* aclocal.m4: Regenerate.
   11038 	* configure: Regenerate.
   11039 	* Makefile.in: Regenerate.
   11040 	* testsuite/Makefile.in: Regenerate.
   11041 
   11042 2010-12-02  Jakub Jelinek  <jakub (a] redhat.com>
   11043 
   11044 	PR fortran/46753
   11045 	* libgomp.fortran/pr46753.f90: New test.
   11046 
   11047 	PR libgomp/43706
   11048 	* env.c (initialize_env): Default to spin count 300000
   11049 	instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT
   11050 	is specified.
   11051 
   11052 	PR libgomp/45240
   11053 	* parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock
   11054 	at the end if sync builtins aren't supported.
   11055 
   11056 2010-12-01  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11057 
   11058 	* configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS.
   11059 
   11060 2010-12-01  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11061 
   11062 	* testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0.
   11063 
   11064 2010-11-24  Iain Sandoe  <iains (a] gcc.gnu.org>
   11065 
   11066 	* testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath.
   11067 
   11068 2010-11-16  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
   11069 	    Tobias Burnus  <burnus (a] net-b.de>
   11070 
   11071 	PR fortran/32049
   11072 	* configure.ac:
   11073 	* configure: Regenerate.
   11074 
   11075 2010-10-06  Marcus Shawcroft  <marcus.shawcroft (a] arm.com>
   11076 
   11077 	* config/linux/futex.h: New.
   11078 	* config/linux/arm/mutex.h: New.
   11079 	* configure.tgt (arm*-*-linux*): Add config path.
   11080 
   11081 2010-09-30  Sebastian Pop  <sebastian.pop (a] amd.com>
   11082 
   11083 	* testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
   11084 
   11085 2010-09-23  Tobias Burnus  <burnus (a] net-b.de>
   11086 
   11087 	* libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic):
   11088 	Change Fortran datatype to LOGICAL.
   11089 	(omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock,
   11090 	omp_unset_nested_lock): Use intent(inout) instead of intent(out).
   11091 
   11092 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11093 
   11094 	* configure: Regenerate.
   11095 
   11096 2010-07-26  Jakub Jelinek  <jakub (a] redhat.com>
   11097 
   11098 	* libgomp.texi: Add function keyword to a couple of Fortran
   11099 	interfaces, use integer instead of int for Fortran.
   11100 
   11101 2010-07-26  Aldy Hernandez  <aldyh (a] redhat.com>
   11102 
   11103 	* libgomp.texi: Fix spelling and pasto problems throughout.
   11104 	Adjust prototypes to match code.
   11105 
   11106 2010-07-24  Tobias Burnus  <burnus (a] net-b.de>
   11107 
   11108 	* testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to
   11109 	silence -fwhole-file warning.
   11110 
   11111 2010-07-23  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11112 
   11113 	* configure.tgt (*-*-solaris2.[56]*): Removed.
   11114 
   11115 2010-07-05  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11116 
   11117 	* acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style.
   11118 	Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU,
   11119 	LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals.
   11120 	(HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless
   11121 	targetting solaris2*.
   11122 	* configure: Regenerate.
   11123 	* config.h.in: Regenerate.
   11124 
   11125 	* Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect
   11126 	libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU.
   11127 	Add libgomp_version_dep.
   11128 	[LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol
   11129 	versioning.
   11130 	[!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep.
   11131 	(libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep).
   11132 	* Makefile.in: Regenerate.
   11133 
   11134 	* libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless
   11135 	HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
   11136 	* libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0
   11137 	to common block, protected by
   11138 	HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
   11139 
   11140 2010-06-10  Gerald Pfeifer  <gerald (a] pfeifer.com>
   11141 
   11142 	* libgomp.texi: Move to GFDL version 1.3.  Update copyright years.
   11143 
   11144 2010-06-09  Iain Sandoe  <iains (a] gcc.gnu.org>
   11145 
   11146 	PR bootstrap/43170
   11147 	* configure: Regenerate.
   11148 
   11149 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11150 
   11151 	PR other/43620
   11152 	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
   11153 	* configure: Regenerate.
   11154 	* Makefile.in: Regenerate.
   11155 	* testsuite/Makefile.in: Regenerate.
   11156 
   11157 2010-04-26  Jakub Jelinek  <jakub (a] redhat.com>
   11158 
   11159 	PR c/43893
   11160 	* testsuite/libgomp.c/pr43893.c: New test.
   11161 	* testsuite/libgomp.c++/pr43893.C: New test.
   11162 
   11163 2010-04-21  Jakub Jelinek  <jakub (a] redhat.com>
   11164 
   11165 	PR middle-end/43570
   11166 	* testsuite/libgomp.fortran/vla8.f90: New test.
   11167 
   11168 2010-04-20  Jakub Jelinek  <jakub (a] redhat.com>
   11169 
   11170 	PR libgomp/43706
   11171 	* config/linux/affinity.c (gomp_init_affinity): Decrease
   11172 	gomp_available_cpus if affinity mask confines the process to fewer
   11173 	CPUs.
   11174 	* config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is
   11175 	non-NULL, just return gomp_available_cpus.
   11176 
   11177 	PR libgomp/43569
   11178 	* sections.c (gomp_sections_init): Initialize ws->mode.
   11179 
   11180 2010-04-14  Uros Bizjak  <ubizjak (a] gmail.com>
   11181 
   11182 	* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but
   11183 	not unused bar variable.
   11184 	* configure: Regenerate.
   11185 
   11186 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11187 
   11188 	* Makefile.in: Regenerate.
   11189 	* aclocal.m4: Regenerate.
   11190 	* testsuite/Makefile.in: Regenerate.
   11191 
   11192 2010-03-22  Jakub Jelinek  <jakub (a] redhat.com>
   11193 
   11194 	PR libgomp/42942
   11195 	* env.c (parse_unsigned_long): Add ALLOW_ZERO argument.
   11196 	(initialize_env): Adjust callers.
   11197 	(omp_set_max_active_levels): Set gomp_max_active_levels_var even
   11198 	when the argument is 0.
   11199 
   11200 	* testsuite/libgomp.c/pr42942.c: New test.
   11201 
   11202 2010-03-08  Tobias Grosser  <grosser (a] fim.uni-passau.de>
   11203 
   11204 	PR middle-end/42644
   11205 	PR middle-end/42130
   11206 	* testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
   11207 	* testsuite/libgomp.graphite/force-parallel-2.c: Adjust.
   11208 
   11209 2010-01-29  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11210 
   11211 	* testsuite/libgomp.c++/task-1.C: Renamed err to e.
   11212 	* testsuite/libgomp.c++/task-6.C: Likewise.
   11213 
   11214 2010-01-28  Steve Ellcey  <sje (a] cup.hp.com>
   11215 
   11216 	* configure.tgt (*-*-hpux*): Add -frandom-seed flag.
   11217 
   11218 2010-01-26  Paolo Bonzini  <bonzini (a] gnu.org>
   11219 
   11220 	* configure.ac: Test for executability of _the first word_ of GFORTRAN.
   11221 	* configure: Regenerate.
   11222 
   11223 2010-01-26  Jakub Jelinek  <jakub (a] redhat.com>
   11224 
   11225 	PR fortran/42866
   11226 	* testsuite/libgomp.fortran/allocatable5.f90: New test.
   11227 
   11228 2010-01-20  Paolo Bonzini  <bonzini (a] gnu.org>
   11229 
   11230 	* configure.ac: Test for executability of GFORTRAN.
   11231 	* configure: Regenerate.
   11232 
   11233 2010-01-05  Rainer Orth  <ro (a] CeBiTec.Uni-Bielefeld.DE>
   11234 
   11235 	* configure: Regenerate.
   11236 
   11237 2010-01-04  H.J. Lu  <hongjiu.lu (a] intel.com>
   11238 
   11239 	PR libgomp/42602
   11240 	* libgomp.fortran/recursion1.f90 (sub): Make 's' atomic.
   11241 
   11242 2010-01-03  Richard Guenther  <rguenther (a] suse.de>
   11243 
   11244 	* testsuite/libgomp.fortran/recursion1.f90: New testcase.
   11245 
   11246 2009-12-23  Sebastian Pop  <sebpop (a] gmail.com>
   11247 
   11248 	* testsuite/libgomp.graphite/pr4118.c: New.
   11249 
   11250 2009-12-22  Iain Sandoe  <iain.sandoe (a] sandoe-acoustics.co.uk>
   11251 
   11252 	* testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage
   11253 	for darwin, protect the test with require-effective-target tls_runtime.
   11254 	* testsuite/libgomp.fortran/pr32550.f90: Ditto.
   11255 
   11256 2009-12-22  Iain Sandoe  <iain.sandoe (a] sandoe-acoustics.co.uk>
   11257 
   11258 	PR target/41605
   11259 	* testsuite/lib/libgomp.exp: Provide -B options to allow for
   11260 	link spec %s substitutions for static libraries.
   11261 
   11262 2009-12-18  Jack Howarth <howarth (a] bromo.med.uc.edu>
   11263 
   11264 	PR testsuite/42135
   11265 	* libgomp.graphite/force-parallel-2.c: Reduce array size.
   11266 
   11267 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11268 
   11269 	* Makefile.in: Regenerate.
   11270 	* configure: Regenerate.
   11271 	* testsuite/Makefile.in: Regenerate.
   11272 
   11273 2009-11-30  Dave Korn  <dave.korn.cygwin (a] gmail.com>
   11274 
   11275 	* testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent
   11276 	settings for LC_ALL and LANG.
   11277 
   11278 2009-11-25  Jakub Jelinek  <jakub (a] redhat.com>
   11279 
   11280 	PR fortran/42162
   11281 	* testsuite/libgomp.fortran/pr42162.f90: New test.
   11282 
   11283 2009-11-13  Jakub Jelinek  <jakub (a] redhat.com>
   11284 
   11285 	PR middle-end/42029
   11286 	* testsuite/libgomp.c/pr42029.c: New test.
   11287 
   11288 2009-10-26  Jakub Jelinek  <jakub (a] redhat.com>
   11289 
   11290 	* acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many
   11291 	*s.  Accept ld version without text in ()s.
   11292 	* configure: Regenerated.
   11293 
   11294 2009-10-22  Razya Ladelsky  <razya (a] il.ibm.com>
   11295 
   11296 	* testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan.
   11297 
   11298 2009-10-17  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11299 
   11300 	PR libgomp/41418
   11301 	* configure.ac: Set FC to "no" if $GFORTRAN starts with "no"
   11302 	or a hyphen (happens with fortran language disabled).
   11303 	* configure: Regenerate.
   11304 
   11305 2009-09-30  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11306 
   11307 	* acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head',
   11308 	use sed script portable to Solaris /bin/sed for extracting ld
   11309 	version.
   11310 	* configure: Regenerate.
   11311 
   11312 2009-09-17  Alexander Monakov  <amonakov (a] ispras.ru>
   11313 
   11314 	* testsuite/libgomp.graphite/bounds.c: New test.
   11315 
   11316 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11317 
   11318 	* Makefile.am (libgomp_la_LINK): New.
   11319 	* Makefile.in: Regenerate.
   11320 
   11321 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11322 
   11323 	* configure.ac (AC_PREREQ): Bump to 2.64.
   11324 
   11325 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11326 
   11327 	* Makefile.am (install-html, install-pdf): Remove.
   11328 	* Makefile.in: Regenerate.
   11329 
   11330 	* Makefile.in: Regenerate.
   11331 	* aclocal.m4: Regenerate.
   11332 	* config.h.in: Regenerate.
   11333 	* configure: Regenerate.
   11334 	* testsuite/Makefile.in: Regenerate.
   11335 
   11336 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11337 
   11338 	* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
   11339 	* Makefile.in: Regenerate.
   11340 
   11341 2009-08-20  Dave Korn  <dave.korn.cygwin (a] gmail.com>
   11342 
   11343 	* Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag.
   11344 	* Makefile.in: Regenerate.
   11345 
   11346 2009-08-19  Tobias Burnus  <burnus (a] net-b.de>
   11347 
   11348 	PR fortran/41102
   11349 	omp_lib.h.in: Fix -std=f95 errors.
   11350 
   11351 2009-08-14  David Edelsohn  <edelsohn (a] gnu.org>
   11352 
   11353 	* testsuite/libgomp.graphite: Move from gcc.dg/graphite.
   11354 	* testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
   11355 	* testsuite/libgomp.graphite/graphite.exp: New.
   11356 
   11357 2009-08-05  Andreas Tobler  <a.tobler (a] schweiz.org>
   11358 
   11359 	* testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared
   11360 	only build.
   11361 
   11362 2009-08-04  David Daney  <ddaney (a] caviumnetworks.com>
   11363 
   11364 	* config/linux/mutex.h (gomp_mutex_unlock): Add comment about
   11365 	needed memory barrier semantics.
   11366 	* config/linux/mips/mutex.h: New file.
   11367 
   11368 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11369 
   11370 	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
   11371 
   11372 2009-07-16  Joseph Myers  <joseph (a] codesourcery.com>
   11373 
   11374 	* configure: Regenerate.
   11375 
   11376 2009-07-11  Richard Sandiford  <rdsandiford (a] googlemail.com>
   11377 
   11378 	PR testsuite/40699
   11379 	PR testsuite/40707
   11380 	PR testsuite/40709
   11381 	* testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits.
   11382 	* testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp,
   11383 	testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits.
   11384 
   11385 2009-07-02  Richard Sandiford  <r.sandiford (a] uk.ibm.com>
   11386 
   11387 	* testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS
   11388 	options when choosing a multilib.
   11389 
   11390 2009-06-30  Richard Sandiford  <r.sandiford (a] uk.ibm.com>
   11391 
   11392 	* testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
   11393 	ld_library_path.  Use add_path.  Add just find_libgcc_s to
   11394 	ld_library_path, not every libgcc multilib directory.
   11395 	* testsuite/libgomp.c/c.exp (ld_library_path): Don't call
   11396 	gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
   11397 	* testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
   11398 	Use add_path.
   11399 	* testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
   11400 
   11401 2009-06-09  Nathan Froyd  <froydnj (a] codesourcery.com>
   11402 
   11403 	* Makefile.am (LTLDFLAGS): Define.
   11404 	(LINK): Define.
   11405 	* Makefile.in: Regenerate.
   11406 
   11407 2009-05-27  Janne Blomqvist  <jb (a] gcc.gnu.org>
   11408 
   11409 	PR fortran/39718
   11410 	* testsuite/libgomp.fortran/fortran.exp: Don't link with
   11411 	libgfortranbegin, check existence of libgfortran.a instead of
   11412 	libgfortranbegin.a.
   11413 
   11414 2009-05-20  Jakub Jelinek  <jakub (a] redhat.com>
   11415 
   11416 	PR libgomp/40174
   11417 	* team.c (gomp_thread_start): Destroy thr->release semaphore.
   11418 	(gomp_free_pool_helper): Likewise.
   11419 
   11420 2009-04-20  Vasilis Liaskovitis  <vliaskov (a] gmail.com>
   11421 	    Jakub Jelinek  <jakub (a] redhat.com>
   11422 
   11423 	PR fortran/35423
   11424 	* testsuite/libgomp.fortran/workshare2.f90: New test.
   11425 
   11426 2009-04-09  Nick Clifton  <nickc (a] redhat.com>
   11427 
   11428 	* iter.c: Change copyright header to refer to version 3 of the
   11429 	GNU General Public License with version 3.1 of the GCC Runtime
   11430 	Library Exception and to point readers at the COPYING3 and
   11431 	COPYING3.RUNTIME files and the FSF's license web page.
   11432 	* alloc.c: Likewise.
   11433 	* barrier.c: Likewise.
   11434 	* config/bsd/proc.c: Likewise.
   11435 	* config/linux/affinity.c: Likewise.
   11436 	* config/linux/alpha/futex.h: Likewise.
   11437 	* config/linux/bar.c: Likewise.
   11438 	* config/linux/bar.h: Likewise.
   11439 	* config/linux/ia64/futex.h: Likewise.
   11440 	* config/linux/ia64/mutex.h: Likewise.
   11441 	* config/linux/lock.c: Likewise.
   11442 	* config/linux/mips/futex.h: Likewise.
   11443 	* config/linux/mutex.c: Likewise.
   11444 	* config/linux/mutex.h: Likewise.
   11445 	* config/linux/powerpc/futex.h: Likewise.
   11446 	* config/linux/proc.c: Likewise.
   11447 	* config/linux/ptrlock.c: Likewise.
   11448 	* config/linux/ptrlock.h: Likewise.
   11449 	* config/linux/s390/futex.h: Likewise.
   11450 	* config/linux/sem.c: Likewise.
   11451 	* config/linux/sem.h: Likewise.
   11452 	* config/linux/sparc/futex.h: Likewise.
   11453 	* config/linux/wait.h: Likewise.
   11454 	* config/linux/x86/futex.h: Likewise.
   11455 	* config/mingw32/proc.c: Likewise.
   11456 	* config/mingw32/time.c: Likewise.
   11457 	* config/posix/affinity.c: Likewise.
   11458 	* config/posix/bar.c: Likewise.
   11459 	* config/posix/bar.h: Likewise.
   11460 	* config/posix/lock.c: Likewise.
   11461 	* config/posix/mutex.h: Likewise.
   11462 	* config/posix/proc.c: Likewise.
   11463 	* config/posix/ptrlock.h: Likewise.
   11464 	* config/posix/sem.c: Likewise.
   11465 	* config/posix/sem.h: Likewise.
   11466 	* config/posix/time.c: Likewise.
   11467 	* config/posix95/lock.c: Likewise.
   11468 	* critical.c: Likewise.
   11469 	* env.c: Likewise.
   11470 	* error.c: Likewise.
   11471 	* fortran.c: Likewise.
   11472 	* iter_ull.c: Likewise.
   11473 	* libgomp.h: Likewise.
   11474 	* libgomp_f.h.in: Likewise.
   11475 	* libgomp_g.h: Likewise.
   11476 	* loop.c: Likewise.
   11477 	* loop_ull.c: Likewise.
   11478 	* omp.h.in: Likewise.
   11479 	* omp_lib.f90.in: Likewise.
   11480 	* omp_lib.h.in: Likewise.
   11481 	* ordered.c: Likewise.
   11482 	* parallel.c: Likewise.
   11483 	* sections.c: Likewise.
   11484 	* single.c: Likewise.
   11485 	* task.c: Likewise.
   11486 	* team.c: Likewise.
   11487 	* work.c: Likewise.
   11488 
   11489 2009-04-09  Jakub Jelinek  <jakub (a] redhat.com>
   11490 
   11491 	* testsuite/config/default.exp: Change copyright header to refer to
   11492 	version 3 of the GNU General Public License and to point readers
   11493 	at the COPYING3 file and the FSF's license web page.
   11494 
   11495 2009-04-08  Jakub Jelinek  <jakub (a] redhat.com>
   11496 
   11497 	PR middle-end/39573
   11498 	* libgomp.c++/pr39573.C: New test.
   11499 
   11500 2009-04-01  Jakub Jelinek  <jakub (a] redhat.com>
   11501 
   11502 	PR other/39591
   11503 	* testsuite/libgomp.c/pr39591-1.c: New test.
   11504 	* testsuite/libgomp.c/pr39591-2.c: New test.
   11505 	* testsuite/libgomp.c/pr39591-3.c: New test.
   11506 
   11507 2009-03-25  Uros Bizjak  <ubizjak (a] gmail.com>
   11508 
   11509 	* testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage.
   11510 	* testsuite/libgomp.c/atomic-6.c: Ditto.
   11511 
   11512 2009-03-23  Jakub Jelinek  <jakub (a] redhat.com>
   11513 
   11514 	PR c/39495
   11515 	* testsuite/libgomp.c/loop-12.c: New test.
   11516 	* testsuite/libgomp.c/loop-11.c: New test.
   11517 	* testsuite/libgomp.c++/loop-11.C: New test.
   11518 	* testsuite/libgomp.c++/loop-12.C: New test.
   11519 	* testsuite/libgomp.c++/for-8.C: New test.
   11520 
   11521 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11522 
   11523 	* configure: Regenerate.
   11524 
   11525 2009-02-11  Jakub Jelinek  <jakub (a] redhat.com>
   11526 
   11527 	PR middle-end/39154
   11528 	* testsuite/libgomp.c/pr39154.c: New test.
   11529 
   11530 2009-01-30  Ian Lance Taylor  <iant (a] google.com>
   11531 
   11532 	* acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
   11533 	libgomp_ld_is_gold.  Get gold version number.
   11534 	(LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning.
   11535 	* configure: Rebuild.
   11536 
   11537 2009-01-19  Iain Sandoe  <iain.sandoe (a] sandoe-acoustics.co.uk>
   11538 
   11539 	* testsuite/lib/libgomp.exp: Add -B option for targets that
   11540 	use libgfortran.a%s in their specs.
   11541 
   11542 2009-01-07  Jakub Jelinek  <jakub (a] redhat.com>
   11543 
   11544 	PR libgomp/38086
   11545 	* acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check.
   11546 	* libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if
   11547 	HAVE_AS_SYMVER_DIRECTIVE is not defined.
   11548 	* configure: Regenerated.
   11549 	* config.h.in: Likewise.
   11550 
   11551 2008-12-28  Jakub Jelinek  <jakub (a] redhat.com>
   11552 
   11553 	PR c++/38650
   11554 	* testsuite/libgomp.c/pr38650.c: New test.
   11555 	* testsuite/libgomp.c++/pr38650.C: New test.
   11556 
   11557 2008-12-27  Jakub Jelinek  <jakub (a] redhat.com>
   11558 
   11559 	* testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
   11560 
   11561 2008-12-26  Uros Bizjak  <ubizjak (a] gmail.com>
   11562 
   11563 	* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
   11564 
   11565 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11566 
   11567 	* configure: Regenerate.
   11568 
   11569 2008-12-08  Jakub Jelinek  <jakub (a] redhat.com>
   11570 
   11571 	PR middle-end/36802
   11572 	* testsuite/libgomp.c/pr36802-1.c: New test.
   11573 	* testsuite/libgomp.c/pr36802-2.c: New test.
   11574 	* testsuite/libgomp.c/pr36802-3.c: New test.
   11575 
   11576 2008-12-01  Janis Johnson  <janis187 (a] us.ibm.com>
   11577 
   11578 	PR libgomp/38270
   11579 	* config/linux/powerpc/mutex.h: New.
   11580 
   11581 2008-12-01  Jakub Jelinek  <jakub (a] redhat.com>
   11582 
   11583 	PR c++/38257
   11584 	* testsuite/libgomp.c++/for-7.C: New test.
   11585 
   11586 	PR c++/38348
   11587 	* testsuite/libgomp.c++/for-6.C: New test.
   11588 
   11589 2008-11-26  Janis Johnson  <janis187 (a] us.ibm.com>
   11590 
   11591 	PR testsuite/28870
   11592 	* testsuite/lib/libgomp.exp: Include new timeout library files.
   11593 	(libgomp_target_compile): Set timeout value from new proc.
   11594 
   11595 2008-11-13  Steve Ellcey  <sje (a] cup.hp.com>
   11596 
   11597 	PR libgomp/37938
   11598 	* config/linux/ia64/mutex.h: New.
   11599 
   11600 2008-11-04  Tobias Burnus  <burnus (a] net-b.de>
   11601 
   11602 	PR libgomp/37935
   11603 	* libgomp.texi (Runtime library routines, environment variables):
   11604 	Update for OpenMP version 3.0.
   11605 
   11606 2008-09-26  Peter O'Gorman  <pogma (a] thewrittenword.com>
   11607 	    Steve Ellcey  <sje (a] cup.hp.com>
   11608 
   11609 	* configure: Regenerate for new libtool.
   11610 	* Makefile.in: Ditto.
   11611 	* testsuite/Makefile.in: Ditto.
   11612 
   11613 2008-09-19  Jakub Jelinek  <jakub (a] redhat.com>
   11614 	    Andreas Tobler  <a.tobler (a] schweiz.org>
   11615 
   11616 	* config/bsd/proc.c: New file.
   11617 	* configure.tgt (*-*-darwin*): Use config_path "bsd posix".
   11618 	* configure.ac: Check for header <sys/sysctl.h>
   11619 	* configure: Regenerate.
   11620 	* config.h.in: Likewise.
   11621 
   11622 2008-09-05  Janis Johnson  <janis187 (a] us.ibm.com>
   11623 
   11624 	* testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
   11625 
   11626 2008-08-31  Aaron W. LaFramboise  <aaronavay62 (a] aaronwl.com>
   11627 
   11628 	* Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined.
   11629 	* Makefile.in: Regenerated.
   11630 	* testsuite/Makefile.in: Regenerated.
   11631 
   11632 2008-08-21  Nathan Froyd  <froydnj (a] codesourcery.com>
   11633 
   11634 	* testsuite/lib/libgomp.exp (libgomp_init): Only set things that
   11635 	depend on blddir if blddir exists.
   11636 	(libgomp_target_compile): Likewise.
   11637 	* testsuite/libgomp.c++/c++.exp: Likewise.
   11638 	* testsuite/libgomp.fortran/fortran.exp: Likewise.
   11639 
   11640 2008-07-30  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11641 
   11642 	* libgomp.texi: Update to GFDL 1.2.  Update copyright years.
   11643 	Do not list GPL as Invariant Section.
   11644 
   11645 2008-07-28  Ilie Garbacea  <ilie (a] mips.com>
   11646 	    Chao-ying Fu  <fu (a] mips.com>
   11647 
   11648 	* configure.tgt: Enable futex for MIPS.
   11649 	* config/linux/mips/futex.h: New file.
   11650 
   11651 2008-07-16  Jakub Jelinek  <jakub (a] redhat.com>
   11652 
   11653 	* team.c (gomp_team_end): Free team immediately if it has
   11654 	just one thread.
   11655 
   11656 2008-07-08  David Edelsohn  <edelsohn (a] gnu.org>
   11657 
   11658 	* testsuite/libgomp.c++/c++.exp: Append multilib library path.
   11659 	* testsuite/libgomp.fortran/fortran.exp: Same.
   11660 	* testsuite/libgomp.c/c.exp: Same.
   11661 	* testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib
   11662 	directory to library path first.
   11663 
   11664 2008-06-29  Krister Walfridsson  <krister.walfridsson (a] gmail.com>
   11665 
   11666 	* env.c (parse_stacksize): Add cast to avoid warning.
   11667 	(parse_spincount): Likewise.
   11668 
   11669 2008-06-27  Jakub Jelinek  <jakub (a] redhat.com>
   11670 
   11671 	* testsuite/libgomp.c/loop-10.c: New test.
   11672 	* libgomp.c/loop-3.c (main): Add lastprivate clause.
   11673 	* libgomp.c++/loop-6.C (main): Likewise.
   11674 
   11675 	PR debug/36617
   11676 	* testsuite/libgomp.c/debug-1.c: New test.
   11677 
   11678 2008-06-19  Jakub Jelinek  <jakub (a] redhat.com>
   11679 
   11680 	* testsuite/libgomp.c/nqueens-1.c: New test.
   11681 
   11682 	PR c++/36523
   11683 	* testsuite/libgomp.c++/task-7.C: New function.
   11684 
   11685 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11686 
   11687 	* configure: Regenerate.
   11688 
   11689 2008-06-15  John David Anglin  <dave.anglin (a] nrc-cnrc.gc.ca>
   11690 
   11691 	* env.c (initialize_env): Always initialize gomp_remaining_threads_lock
   11692 	mutex when HAVE_SYNC_BUILTINS isn't defined.
   11693 
   11694 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   11695 
   11696 	* libgomp.texi (omp_test_lock): Fix typo.
   11697 
   11698 2008-06-12  Tobias Burnus  <burnus (a] net-b.de>
   11699 
   11700 	* omp_lib.f90.in: Add "implicit none".
   11701 
   11702 2008-06-12  Jakub Jelinek  <jakub (a] redhat.com>
   11703 
   11704 	PR middle-end/36506
   11705 	* testsuite/libgomp.c/reduction-5.c: New test.
   11706 
   11707 2008-06-11  Jakub Jelinek  <jakub (a] redhat.com>
   11708 
   11709 	* libgomp.h (struct gomp_task): Add in_tied_task field.
   11710 	* task.c (gomp_init_task): Initialize it.
   11711 	(GOMP_task): Likewise.  Call gomp_team_barrier_set_task_pending
   11712 	unconditionally.  Don't call gomp_team_barrier_wake if
   11713 	current task is implicit or if(0) from implicit and number of
   11714 	running tasks is equal to nthreads - 1.
   11715 
   11716 	PR libgomp/36471
   11717 	* omp_lib.f90.in (omp_get_ancestor_thread_num_8,
   11718 	omp_get_team_size_8): Fix pastos.
   11719 
   11720 	PR libgomp/36469
   11721 	* configure.ac: Add AC_CHECK_FUNCS (strtoull).
   11722 	* configure: Regenerated.
   11723 	* config.h.in: Regenerated.
   11724 	* env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not
   11725 	defined.
   11726 
   11727 2008-06-06  Andreas Tobler  <a.tobler (a] schweiz.org>
   11728 
   11729 	PR bootstrap/36452
   11730 	* loop_ull.c (GOMP_loop_ull_static_start): Adjust API.
   11731 	(GOMP_loop_ull_dynamic_start): Likewise.
   11732 	(GOMP_loop_ull_guided_start): Likewise.
   11733 	(GOMP_loop_ull_ordered_static_start): Likewise.
   11734 	(GOMP_loop_ull_ordered_dynamic_start): Likewise.
   11735 	(GOMP_loop_ull_ordered_guided_start): Likewise.
   11736 
   11737 2008-06-06  Jakub Jelinek  <jakub (a] redhat.com>
   11738 	    Richard Henderson  <rth (a] redhat.com>
   11739 	    Ulrich Drepper  <drepper (a] redhat.com>
   11740 	    Jakob Blomer  <jakob.blomer (a] ira.uka.de>
   11741 
   11742 	* configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE.
   11743 	Substitute also OMP_*LOCK_25*.
   11744 	* configure: Regenerated.
   11745 	* config.h.in: Regenerated.
   11746 	* Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c,
   11747 	ptrlock.c and task.c.
   11748 	* Makefile.in: Regenerated.
   11749 	* testsuite/Makefile.in: Regenerated.
   11750 	* task.c: New file.
   11751 	* loop_ull.c: New file.
   11752 	* iter_ull.c: New file.
   11753 	* libgomp.h: Include ptrlock.h.
   11754 	(enum gomp_task_kind): New type.
   11755 	(struct gomp_team): Add task_lock, task_queue, task_count,
   11756 	task_running_count, single_count fields.  Add
   11757 	work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS.
   11758 	Remove work_share_lock, generation_mask,
   11759 	oldest_live_gen, num_live_gen and init_work_shares fields, add
   11760 	work work_share_list_alloc, work_share_list_free and work_share_chunk
   11761 	fields.  Change work_shares from pointer to pointers into an array.
   11762 	Change ordered_release field into gomp_sem_t ** from flexible array
   11763 	member.  Add implicit_task and initial_work_shares fields.
   11764 	Move close to the end of the struct.
   11765 	(struct gomp_team_state): Add single_count, last_work_share,
   11766 	active_level and level fields, remove work_share_generation.
   11767 	(gomp_barrier_handle_tasks): New prototype.
   11768 	(gomp_finish_task): New inline function.
   11769 	(struct gomp_work_share): Move chunk_size, end, incr into
   11770 	transparent union/struct, add chunk_size_ull, end_ll, incr_ll and
   11771 	next_ll fields.  Reshuffle fields.  Add next_alloc,
   11772 	next_ws, next_free and inline_ordered_team_ids fields, change
   11773 	ordered_team_ids into pointer from flexible array member.
   11774 	Add mode field.  Put lock and next into a different cache line
   11775 	from most of the write-once fields.
   11776 	(gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked,
   11777 	gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next,
   11778 	gomp_iter_ull_guided_next): New prototypes.
   11779 	(gomp_new_icv): New prototype.
   11780 	(struct gomp_thread): Add thread_pool and task fields.
   11781 	(struct gomp_thread_pool): New type.
   11782 	(gomp_new_team): New prototype.
   11783 	(gomp_team_start): Change type of last argument.
   11784 	(gomp_new_work_share): Removed.
   11785 	(gomp_init_work_share, gomp_fini_work_share): New prototypes.
   11786 	(gomp_work_share_init_done): New static inline.
   11787 	(gomp_throttled_spin_count_var, gomp_available_cpus,
   11788 	gomp_managed_threads): New extern decls.
   11789 	(gomp_init_task): New prototype.
   11790 	(gomp_spin_count_var): New extern var decl.
   11791 	(LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility
   11792 	or no alias support, or if not PIC.
   11793 	(gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30,
   11794 	gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30,
   11795 	gomp_destroy_nest_lock_30, gomp_set_nest_lock_30,
   11796 	gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25,
   11797 	gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25,
   11798 	gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25,
   11799 	gomp_set_nest_lock_25, gomp_unset_nest_lock_25,
   11800 	gomp_test_nest_lock_25): New prototypes.
   11801 	(omp_lock_symver, strong_alias): Define.
   11802 	(gomp_remaining_threads_count, gomp_remaining_threads_lock): New
   11803 	decls.
   11804 	(gomp_end_task): New.
   11805 	(struct gomp_task_icv, gomp_global_icv): New.
   11806 	(gomp_thread_limit_var, gomp_max_active_levels_var): New.
   11807 	(struct gomp_task): New.
   11808 	(gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
   11809 	gomp_run_sched_var, gomp_run_sched_chunk): Remove.
   11810 	(gomp_icv): New.
   11811 	(gomp_schedule_type): Reorder enum to match
   11812 	omp_sched_t.
   11813 	* team.c (struct gomp_thread_start_data): Add thread_pool and task
   11814 	fields.
   11815 	(gomp_thread_start): Add gomp_team_barrier_wait call.
   11816 	For non-nested case remove clearing of docked thread thr fields.
   11817 	Use pool fields instead of global gomp_* variables.  Use
   11818 	gomp_barrier_wait_last when needed.  Initialize ts.active_level.
   11819 	Create tasks for each member thread.
   11820 	(free_team): Only destroy team barrier, task_lock here and free it.
   11821 	(gomp_free_thread): Free last_team if non-NULL.
   11822 	(gomp_team_end): Call gomp_team_barrier_wait instead of
   11823 	gomp_barrier_wait.  For nested case call one extra
   11824 	gomp_barrier_wait.  Move here some destruction from free_team.
   11825 	Call free_team on pool->last_team if any, rather than freeing
   11826 	current team.  Destroy work_share_list_free_lock ifndef
   11827 	HAVE_SYNC_BUILTINS.
   11828 	(gomp_new_icv): New function.
   11829 	(gomp_threads, gomp_threads_size, gomp_threads_used,
   11830 	gomp_threads_dock): Removed.
   11831 	(gomp_thread_destructor): New variable.
   11832 	(gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New
   11833 	functions.
   11834 	(gomp_team_start): Create new pool if current thread doesn't have
   11835 	one.  Use pool fields instead of global gomp_* variables.
   11836 	Initialize thread_pool field for new threads.  Clear single_count.
   11837 	Change last argument from ws to team, don't create
   11838 	new team, set ts.work_share to &team->work_shares[0] and clear
   11839 	ts.last_work_share.  Don't clear ts.work_share_generation.
   11840 	If number of threads changed, adjust atomically gomp_managed_threads.
   11841 	Use gomp_init_task instead of gomp_new_task,
   11842 	set thr->task to the corresponding implicit_task array entry.
   11843 	Create tasks for each member thread.  Initialize ts.level.
   11844 	(initialize_team): Call pthread_key_create on
   11845 	gomp_thread_destructor.
   11846 	(team_destructor): New function.
   11847 	(new_team): Removed.
   11848 	(gomp_new_team): New function.
   11849 	(free_team): Free gomp_work_share blocks chained through next_alloc,
   11850 	instead of freeing work_shares and destroying work_share_lock.
   11851 	(gomp_team_end): Call gomp_fini_work_share.  If number of threads
   11852 	changed, adjust atomically gomp_managed_threads.  Use gomp_end_task.
   11853 	* barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead
   11854 	of gomp_barrier_wait.
   11855 	* single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait
   11856 	instead of gomp_barrier_wait.  Call gomp_work_share_init_done
   11857 	if gomp_work_share_start returned true.  Don't unlock ws->lock.
   11858 	(GOMP_single_copy_end): Call gomp_team_barrier_wait instead
   11859 	of gomp_barrier_wait.
   11860 	(GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS.  Call
   11861 	gomp_work_share_init_done if gomp_work_share_start returned true.
   11862 	Don't unlock ws->lock.
   11863 	* work.c: Include stddef.h.
   11864 	(free_work_share): Use work_share_list_free_lock instead
   11865 	of atomic chaining ifndef HAVE_SYNC_BUILTINS.  Add team argument.
   11866 	Call gomp_fini_work_share and then either free ws if orphaned, or
   11867 	put it into work_share_list_free list of the current team.
   11868 	(alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New
   11869 	functions.
   11870 	(gomp_work_share_start, gomp_work_share_end,
   11871 	gomp_work_share_end_nowait): Rewritten.
   11872 	* omp_lib.f90.in Change some tabs to spaces to prevent warnings.
   11873 	(openmp_version): Set to 200805.
   11874 	(omp_sched_kind, omp_sched_static, omp_sched_dynamic,
   11875 	omp_sched_guided, omp_sched_auto): New parameters.
   11876 	(omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
   11877 	omp_set_max_active_levels, omp_get_max_active_levels,
   11878 	omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
   11879 	omp_get_active_level): New interfaces.
   11880 	* omp_lib.h.in (openmp_version): Set to 200805.
   11881 	(omp_sched_kind, omp_sched_static, omp_sched_dynamic,
   11882 	omp_sched_guided, omp_sched_auto): New parameters.
   11883 	(omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
   11884 	omp_set_max_active_levels, omp_get_max_active_levels,
   11885 	omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
   11886 	omp_get_active_level): New externals.
   11887 	* loop.c: Include limits.h.
   11888 	(GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle
   11889 	GFS_AUTO.
   11890 	(GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start):
   11891 	Likewise.  Use gomp_icv.
   11892 	(gomp_loop_static_start, gomp_loop_dynamic_start): Clear
   11893 	ts.static_trip here.
   11894 	(gomp_loop_static_start, gomp_loop_ordered_static_start): Call
   11895 	gomp_work_share_init_done after gomp_loop_init.  Don't unlock ws->lock.
   11896 	(gomp_loop_dynamic_start, gomp_loop_guided_start): Call
   11897 	gomp_work_share_init_done after gomp_loop_init.  If HAVE_SYNC_BUILTINS,
   11898 	don't unlock ws->lock, otherwise lock it.
   11899 	(gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call
   11900 	gomp_work_share_init_done after gomp_loop_init.  Lock ws->lock.
   11901 	(gomp_parallel_loop_start): Call gomp_new_team instead of
   11902 	gomp_new_work_share.  Call gomp_loop_init on &team->work_shares[0].
   11903 	Adjust gomp_team_start caller.  Pass 0 as second argument to
   11904 	gomp_resolve_num_threads.
   11905 	(gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr.
   11906 	If adding ws->chunk_size nthreads + 1 times after end won't
   11907 	overflow, set ws->mode to 1.
   11908 	* libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start,
   11909 	GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start,
   11910 	GOMP_loop_ull_ordered_static_start,
   11911 	GOMP_loop_ull_ordered_dynamic_start,
   11912 	GOMP_loop_ull_ordered_guided_start,
   11913 	GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next,
   11914 	GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next,
   11915 	GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next,
   11916 	GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next,
   11917 	GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New
   11918 	prototypes.
   11919 	* libgomp.map: Export lock routines also @@OMP_2.0.
   11920 	(GOMP_loop_ordered_dynamic_first,
   11921 	GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first,
   11922 	GOMP_loop_ordered_static_first): Remove.
   11923 	(GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start,
   11924 	GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start,
   11925 	GOMP_loop_ull_ordered_dynamic_next,
   11926 	GOMP_loop_ull_ordered_dynamic_start,
   11927 	GOMP_loop_ull_ordered_guided_next,
   11928 	GOMP_loop_ull_ordered_guided_start,
   11929 	GOMP_loop_ull_ordered_runtime_next,
   11930 	GOMP_loop_ull_ordered_runtime_start,
   11931 	GOMP_loop_ull_ordered_static_next,
   11932 	GOMP_loop_ull_ordered_static_start,
   11933 	GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start,
   11934 	GOMP_loop_ull_static_next, GOMP_loop_ull_static_start,
   11935 	GOMP_task, GOMP_taskwait): Export @@GOMP_2.0.
   11936 	(omp_set_schedule, omp_get_schedule,
   11937 	omp_get_thread_limit, omp_set_max_active_levels,
   11938 	omp_get_max_active_levels, omp_get_level,
   11939 	omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level,
   11940 	omp_set_schedule_, omp_set_schedule_8_,
   11941 	omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
   11942 	omp_set_max_active_levels_, omp_set_max_active_levels_8_,
   11943 	omp_get_max_active_levels_, omp_get_level_,
   11944 	omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
   11945 	omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
   11946 	New exports @@OMP_3.0.
   11947 	* omp.h.in (omp_sched_t): New type.
   11948 	(omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
   11949 	omp_set_max_active_levels, omp_get_max_active_levels,
   11950 	omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
   11951 	omp_get_active_level): New prototypes.
   11952 	* env.c (gomp_spin_count_var, gomp_throttled_spin_count_var,
   11953 	gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var,
   11954 	gomp_thread_limit_var, gomp_remaining_threads_count,
   11955 	gomp_remaining_threads_lock): New variables.
   11956 	(parse_spincount): New function.
   11957 	(initialize_env): Call gomp_init_num_threads unconditionally.
   11958 	Initialize gomp_available_cpus.  Call parse_spincount,
   11959 	initialize gomp_{,throttled_}spin_count_var
   11960 	depending on presence and value of OMP_WAIT_POLICY and
   11961 	GOMP_SPINCOUNT env vars.  Handle GOMP_BLOCKTIME env var.
   11962 	Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS,
   11963 	OMP_THREAD_LIMIT, OMP_STACKSIZE env vars.  Handle unit specification
   11964 	for GOMP_STACKSIZE.  Initialize gomp_remaining_threads_count and
   11965 	gomp_remaining_threads_lock if needed.  Use gomp_global_icv.
   11966 	(gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
   11967 	gomp_run_sched_var, gomp_run_sched_chunk): Remove.
   11968 	(gomp_global_icv): New.
   11969 	(parse_schedule): Use it.  Parse "auto".
   11970 	(omp_set_num_threads): Use gomp_icv.
   11971 	(omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested):
   11972 	Likewise.
   11973 	(omp_get_max_threads): Move from parallel.c.
   11974 	(omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
   11975 	omp_set_max_active_levels, omp_get_max_active_levels): New functions,
   11976 	add ialias.
   11977 	(parse_stacksize, parse_wait_policy): New functions.
   11978 	* fortran.c: Rewrite lock wrappers, if symbol versioning provide
   11979 	both wrappers for compatibility and new locks.
   11980 	(omp_set_schedule, omp_get_schedule,
   11981 	omp_get_thread_limit, omp_set_max_active_levels,
   11982 	omp_get_max_active_levels, omp_get_level,
   11983 	omp_get_ancestor_thread_num, omp_get_team_size,
   11984 	omp_get_active_level): New ialias_redirect.
   11985 	(omp_set_schedule_, omp_set_schedule_8_,
   11986 	omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
   11987 	omp_set_max_active_levels_, omp_set_max_active_levels_8_,
   11988 	omp_get_max_active_levels_, omp_get_level_,
   11989 	omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
   11990 	omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
   11991 	New functions.
   11992 	* parallel.c: Include limits.h.
   11993 	(gomp_resolve_num_threads): Add count argument.  Rewritten.
   11994 	(GOMP_parallel_start): Call gomp_new_team and pass that as last
   11995 	argument to gomp_team_start.  Pass 0 as second argument to
   11996 	gomp_resolve_num_threads.
   11997 	(GOMP_parallel_end): Decrease gomp_remaining_threads_count
   11998 	if gomp_thread_limit_var != ULONG_MAX.
   11999 	(omp_in_parallel): Implement using ts.active_level.
   12000 	(omp_get_max_threads): Move to env.c.
   12001 	(omp_get_level, omp_get_ancestor_thread_num,
   12002 	omp_get_team_size, omp_get_active_level): New functions,
   12003 	add ialias.
   12004 	* sections.c (GOMP_sections_start): Call gomp_work_share_init_done
   12005 	after gomp_sections_init.  If HAVE_SYNC_BUILTINS, call
   12006 	gomp_iter_dynamic_next instead of the _locked variant and don't take
   12007 	lock around it, otherwise acquire it before calling
   12008 	gomp_iter_dynamic_next_locked.
   12009 	(GOMP_sections_next): If HAVE_SYNC_BUILTINS, call
   12010 	gomp_iter_dynamic_next instead of the _locked variant and don't take
   12011 	lock around it.
   12012 	(GOMP_parallel_sections_start): Call gomp_new_team instead of
   12013 	gomp_new_work_share.  Call gomp_sections_init on &team->work_shares[0].
   12014 	Adjust gomp_team_start caller.  Pass count as second argument to
   12015 	gomp_resolve_num_threads, don't adjust num_threads after the call.
   12016 	Use gomp_icv.
   12017 	* iter.c (gomp_iter_dynamic_next_locked): Don't multiply
   12018 	ws->chunk_size by incr.
   12019 	(gomp_iter_dynamic_next): Likewise.  If ws->mode, use more efficient
   12020 	code.
   12021 	* libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New
   12022 	types.
   12023 	(omp_lock_25_arg, omp_nest_lock_25_arg): New macros.
   12024 	(omp_check_defines): Check even the compat defines.
   12025 	* config/linux/ptrlock.c: New file.
   12026 	* config/linux/ptrlock.h: New file.
   12027 	* config/linux/wait.h: New file.
   12028 	* config/posix/ptrlock.c: New file.
   12029 	* config/posix/ptrlock.h: New file.
   12030 	* config/linux/bar.h (gomp_team_barrier_wait,
   12031 	gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
   12032 	(gomp_team_barrier_set_task_pending,
   12033 	gomp_team_barrier_clear_task_pending,
   12034 	gomp_team_barrier_set_waiting_for_tasks,
   12035 	gomp_team_barrier_waiting_for_tasks,
   12036 	gomp_team_barrier_done): New inlines.
   12037 	(gomp_barrier_t): Rewritten.
   12038 	(gomp_barrier_state_t): New typedef.
   12039 	(gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy,
   12040 	gomp_barrier_wait_start): Rewritten.
   12041 	(gomp_barrier_wait_end): Change second argument to
   12042 	gomp_barrier_state_t.
   12043 	(gomp_barrier_last_thread, gomp_barrier_wait_last): New static
   12044 	inlines.
   12045 	* config/linux/bar.c: Include wait.h instead of libgomp.h and
   12046 	futex.h.
   12047 	(gomp_barrier_wait_end): Rewritten.
   12048 	(gomp_team_barrier_wait, gomp_team_barrier_wait_end,
   12049 	gomp_team_barrier_wake, gomp_barrier_wait_last): New functions.
   12050 	* config/posix/bar.h (gomp_barrier_t): Add generation field.
   12051 	(gomp_barrier_state_t): New typedef.
   12052 	(gomp_team_barrier_wait,
   12053 	gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
   12054 	(gomp_barrier_wait_start): Or all but low 2 bits from generation
   12055 	into the return value.  Return gomp_barrier_state_t.
   12056 	(gomp_team_barrier_set_task_pending,
   12057 	gomp_team_barrier_clear_task_pending,
   12058 	gomp_team_barrier_set_waiting_for_tasks,
   12059 	gomp_team_barrier_waiting_for_tasks,
   12060 	gomp_team_barrier_done): New inlines.
   12061 	(gomp_barrier_wait_end): Change second argument to
   12062 	gomp_barrier_state_t.
   12063 	(gomp_barrier_last_thread, gomp_barrier_wait_last): New static
   12064 	inlines.
   12065 	* config/posix/bar.c (gomp_barrier_init): Clear generation field.
   12066 	(gomp_barrier_wait_end): Change second argument to
   12067 	gomp_barrier_state_t.
   12068 	(gomp_team_barrier_wait, gomp_team_barrier_wait_end,
   12069 	gomp_team_barrier_wake): New functions.
   12070 	* config/linux/mutex.c: Include wait.h instead of libgomp.h and
   12071 	futex.h.
   12072 	(gomp_futex_wake, gomp_futex_wait): New variables.
   12073 	(gomp_mutex_lock_slow): Call do_wait instead of futex_wait.
   12074 	* config/linux/lock.c: Rewrite to make locks task owned,
   12075 	for backwards compatibility provide the old entrypoints
   12076 	if symbol versioning.  Include wait.h instead of libgomp.h and
   12077 	futex.h.
   12078 	(gomp_set_nest_lock_25): Call do_wait instead of futex_wait.
   12079 	* config/posix95/lock.c: Rewrite to make locks task owned,
   12080 	for backwards compatibility provide the old entrypoints
   12081 	if symbol versioning.
   12082 	* config/posix/lock.c: Rewrite to make locks task owned,
   12083 	for backwards compatibility provide the old entrypoints
   12084 	if symbol versioning.
   12085 	* config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv.
   12086 	(get_num_procs, gomp_dynamic_max_threads): Use gomp_icv.
   12087 	* config/posix/proc.c, config/mingw32/proc.c: Similarly.
   12088 	* config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12089 	(sys_futex0): Return error code.
   12090 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12091 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12092 	(cpu_relax, atomic_write_barrier): New static inlines.
   12093 	* config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12094 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12095 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12096 	(cpu_relax, atomic_write_barrier): New static inlines.
   12097 	* config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12098 	(sys_futex0): Return error code.
   12099 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12100 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12101 	(cpu_relax, atomic_write_barrier): New static inlines.
   12102 	* config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12103 	(sys_futex0): Return error code.
   12104 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12105 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12106 	(cpu_relax, atomic_write_barrier): New static inlines.
   12107 	* config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12108 	(sys_futex0): Return error code.
   12109 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12110 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12111 	(cpu_relax, atomic_write_barrier): New static inlines.
   12112 	* config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
   12113 	(sys_futex0): Return error code.
   12114 	(futex_wake, futex_wait): If ENOSYS was returned, clear
   12115 	FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
   12116 	(cpu_relax, atomic_write_barrier): New static inlines.
   12117 	* config/linux/sem.c: Include wait.h instead of libgomp.h and
   12118 	futex.h.
   12119 	(gomp_sem_wait_slow): Call do_wait instead of futex_wait.
   12120 	* config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS.
   12121 	* config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New
   12122 	types.
   12123 	(omp_nest_lock_t): Change owner into void *, add lock field.
   12124 	* config/posix95/omp-lock.h: Include semaphore.h.
   12125 	(omp_lock_25_t, omp_nest_lock_25_t): New types.
   12126 	(omp_lock_t): Use sem_t instead of mutex if semaphores
   12127 	aren't broken.
   12128 	(omp_nest_lock_t): Likewise.  Change owner to void *.
   12129 	* config/posix/omp-lock.h: Include semaphore.h.
   12130 	(omp_lock_25_t, omp_nest_lock_25_t): New types.
   12131 	(omp_lock_t): Use sem_t instead of mutex if semaphores
   12132 	aren't broken.
   12133 	(omp_nest_lock_t): Likewise.  Add owner field.
   12134 
   12135 2008-06-06  Jakub Jelinek  <jakub (a] redhat.com>
   12136 
   12137 	* testsuite/libgomp.c/collapse-1.c: New test.
   12138 	* testsuite/libgomp.c/collapse-2.c: New test.
   12139 	* testsuite/libgomp.c/collapse-3.c: New test.
   12140 	* testsuite/libgomp.c/icv-1.c: New test.
   12141 	* testsuite/libgomp.c/icv-2.c: New test.
   12142 	* testsuite/libgomp.c/lib-2.c: New test.
   12143 	* testsuite/libgomp.c/lock-1.c: New test.
   12144 	* testsuite/libgomp.c/lock-2.c: New test.
   12145 	* testsuite/libgomp.c/lock-3.c: New test.
   12146 	* testsuite/libgomp.c/loop-4.c: New test.
   12147 	* testsuite/libgomp.c/loop-5.c: New test.
   12148 	* testsuite/libgomp.c/loop-6.c: New test.
   12149 	* testsuite/libgomp.c/loop-7.c: New test.
   12150 	* testsuite/libgomp.c/loop-8.c: New test.
   12151 	* testsuite/libgomp.c/loop-9.c: New test.
   12152 	* testsuite/libgomp.c/nested-3.c: New test.
   12153 	* testsuite/libgomp.c/nestedfn-6.c: New test.
   12154 	* testsuite/libgomp.c/sort-1.c: New test.
   12155 	* testsuite/libgomp.c/task-1.c: New test.
   12156 	* testsuite/libgomp.c/task-2.c: New test.
   12157 	* testsuite/libgomp.c/task-3.c: New test.
   12158 	* testsuite/libgomp.c/task-4.c: New test.
   12159 	* testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes
   12160 	to C++ testsuite default compiler options.
   12161 	* testsuite/libgomp.c++/collapse-1.C: New test.
   12162 	* testsuite/libgomp.c++/collapse-2.C: New test.
   12163 	* testsuite/libgomp.c++/ctor-10.C: New test.
   12164 	* testsuite/libgomp.c++/for-1.C: New test.
   12165 	* testsuite/libgomp.c++/for-2.C: New test.
   12166 	* testsuite/libgomp.c++/for-3.C: New test.
   12167 	* testsuite/libgomp.c++/for-4.C: New test.
   12168 	* testsuite/libgomp.c++/for-5.C: New test.
   12169 	* testsuite/libgomp.c++/loop-8.C: New test.
   12170 	* testsuite/libgomp.c++/loop-9.C: New test.
   12171 	* testsuite/libgomp.c++/loop-10.C: New test.
   12172 	* testsuite/libgomp.c++/task-1.C: New test.
   12173 	* testsuite/libgomp.c++/task-2.C: New test.
   12174 	* testsuite/libgomp.c++/task-3.C: New test.
   12175 	* testsuite/libgomp.c++/task-4.C: New test.
   12176 	* testsuite/libgomp.c++/task-5.C: New test.
   12177 	* testsuite/libgomp.c++/task-6.C: New test.
   12178 	* testsuite/libgomp.fortran/allocatable1.f90: New test.
   12179 	* testsuite/libgomp.fortran/allocatable2.f90: New test.
   12180 	* testsuite/libgomp.fortran/allocatable3.f90: New test.
   12181 	* testsuite/libgomp.fortran/allocatable4.f90: New test.
   12182 	* testsuite/libgomp.fortran/collapse1.f90: New test.
   12183 	* testsuite/libgomp.fortran/collapse2.f90: New test.
   12184 	* testsuite/libgomp.fortran/collapse3.f90: New test.
   12185 	* testsuite/libgomp.fortran/collapse4.f90: New test.
   12186 	* testsuite/libgomp.fortran/lastprivate1.f90: New test.
   12187 	* testsuite/libgomp.fortran/lastprivate2.f90: New test.
   12188 	* testsuite/libgomp.fortran/lib4.f90: New test.
   12189 	* testsuite/libgomp.fortran/lock-1.f90: New test.
   12190 	* testsuite/libgomp.fortran/lock-2.f90: New test.
   12191 	* testsuite/libgomp.fortran/nested1.f90: New test.
   12192 	* testsuite/libgomp.fortran/nestedfn4.f90: New test.
   12193 	* testsuite/libgomp.fortran/strassen.f90: New test.
   12194 	* testsuite/libgomp.fortran/tabs1.f90: New test.
   12195 	* testsuite/libgomp.fortran/tabs2.f: New test.
   12196 	* testsuite/libgomp.fortran/task1.f90: New test.
   12197 	* testsuite/libgomp.fortran/task2.f90: New test.
   12198 	* testsuite/libgomp.fortran/vla4.f90: Add dg-warning.
   12199 	* testsuite/libgomp.fortran/vla5.f90: Likewise.
   12200 	* testsuite/libgomp.c/pr26943-2.c: Likewise.
   12201 	* testsuite/libgomp.c/pr26943-3.c: Likewise.
   12202 	* testsuite/libgomp.c/pr26943-4.c: Likewise.
   12203 
   12204 2008-05-23  Jakub Jelinek  <jakub (a] redhat.com>
   12205 
   12206 	PR c++/36308
   12207 	* testsuite/libgomp.c++/ctor-11.C: New test.
   12208 	* testsuite/libgomp.c++/ctor-12.C: New test.
   12209 
   12210 2008-05-15  Janis Johnson  <janis187 (a] us.ibm.com>
   12211 
   12212 	* testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib.
   12213 
   12214 2008-05-07  Jakub Jelinek  <jakub (a] redhat.com>
   12215 
   12216 	PR middle-end/36106
   12217 	* testsuite/libgomp.c/atomic-5.c: New test.
   12218 	* testsuite/libgomp.c/atomic-6.c: New test.
   12219 	* testsuite/libgomp.c/autopar-1.c: New test.
   12220 
   12221 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   12222 
   12223 	* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS)
   12224 	(LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY)
   12225 	(LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT)
   12226 	(LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names.
   12227 	* configure: Regenerate.
   12228 	* Makefile.in, testsuite/Makefile.in: Likewise.
   12229 
   12230 2008-04-18  Paolo Bonzini  <bonzini (a] gnu.org>
   12231 
   12232 	PR bootstrap/35457
   12233 	* aclocal.m4: Regenerate.
   12234 	* configure: Regenerate.
   12235 
   12236 2008-03-18  Jakub Jelinek  <jakub (a] redhat.com>
   12237 
   12238 	PR middle-end/35611
   12239 	* testsuite/libgomp.c/atomic-4.c: New test.
   12240 
   12241 	PR libgomp/35625
   12242 	* iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
   12243 	(gomp_iter_guided_next): Likewise.
   12244 	* testsuite/libgomp.c/pr35625.c: New test.
   12245 
   12246 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   12247 
   12248 	* aclocal.m4: Regenerate.
   12249 	* configure: Likewise.
   12250 	* Makefile.in: Likewise.
   12251 	* testsuite/Makefile.in: Likewise.
   12252 
   12253 2008-03-13  Jakub Jelinek  <jakub (a] redhat.com>
   12254 
   12255 	PR middle-end/35185
   12256 	* testsuite/libgomp.c++/pr35185.C: New test.
   12257 
   12258 2008-03-12  Jakub Jelinek  <jakub (a] redhat.com>
   12259 
   12260 	PR middle-end/35549
   12261 	* testsuite/libgomp.c/pr35549.c: New test.
   12262 
   12263 2008-03-06  Jakub Jelinek  <jakub (a] redhat.com>
   12264 
   12265 	* testsuite/libgomp.c/atomic-3.c: New test.
   12266 
   12267 2008-03-03  Francois-Xavier Coudert  <fxcoudert (a] gcc.gnu.org>
   12268 
   12269 	PR fortran/33197
   12270 	* testsuite/libgomp.fortran/fortran.exp: Add .f08 and
   12271 	.F08 file suffixes.
   12272 
   12273 2008-03-03  Peter O'Gorman  <pogma (a] thewrittenword.com>
   12274 
   12275 	PR libgomp/33131
   12276 	* configure.ac: Add ACX_HEADER_STRING.
   12277 	* env.c: Include strings.h.
   12278 	* aclocal.m4: Regenerate.
   12279 	* config.h.in: Regenerate.
   12280 	* configure: Regenerate.
   12281 	* Makefile.in: Regenerate.
   12282 	* testsuite/Makefile.in: Regenerate.
   12283 
   12284 2008-02-15  Jakub Jelinek  <jakub (a] redhat.com>
   12285 
   12286 	PR middle-end/35196
   12287 	* testsuite/libgomp.c/pr35196.c: New test.
   12288 
   12289 	PR middle-end/35130
   12290 	* testsuite/libgomp.fortran/pr35130.f90: New test.
   12291 	* testsuite/libgomp.c/pr35130.c: New test.
   12292 
   12293 2008-01-25  Jakub Jelinek  <jakub (a] redhat.com>
   12294 
   12295 	PR middle-end/33880
   12296 	* testsuite/libgomp.c/pr33880.c: New test.
   12297 	* testsuite/libgomp.fortran/pr33880.f90: New test.
   12298 
   12299 2008-01-24  David Edelsohn  <edelsohn (a] gnu.org>
   12300 
   12301 	* configure: Regenerate.
   12302 
   12303 2008-01-08  Jakub Jelinek  <jakub (a] redhat.com>
   12304 
   12305 	* configure.ac: Move futex checking into ../config/futex.m4.
   12306 	* configure: Rebuilt.
   12307 	* aclocal.m4: Rebuilt.
   12308 	* Makefile.in: Rebuilt.
   12309 
   12310 	* configure.tgt: Rename have_tls to gcc_cv_have_tls to match
   12311 	2007-10-15 ../config/tls.m4 change.
   12312 
   12313 2007-12-19  Jakub Jelinek  <jakub (a] redhat.com>
   12314 
   12315 	PR c++/34513
   12316 	* testsuite/libgomp.c/pr34513.c: New test.
   12317 	* testsuite/libgomp.c++/pr34513.C: New test.
   12318 
   12319 2007-12-17  Jack Howarth  <howarth (a] bromo.med.uc.edu>
   12320 
   12321 	PR target/32765
   12322 	* testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
   12323 
   12324 2007-12-04  Jakub Jelinek  <jakub (a] redhat.com>
   12325 
   12326 	* omp.h.in (__GOMP_NOTHROW): Define.  Use it on omp_* prototypes.
   12327 
   12328 2007-12-03  Jakub Jelinek  <jakub (a] redhat.com>
   12329 
   12330 	* testsuite/libgomp.c/private-1.c: New test.
   12331 
   12332 2007-11-29  Andris Pavenis <andris.pavenis (a] iki.fi>
   12333 	    Paolo Bonzini  <bonzini (a] gnu.org>
   12334 
   12335 	* Makefile.am: Use space as vpath separator.  Use 'vpath %'
   12336 	instead of 'VPATH ='.
   12337 	* Makefile.in: Regenerate.
   12338 
   12339 2007-11-23  Matthias Klose  <doko (a] ubuntu.com>
   12340 
   12341 	* configure.ac: Adjust makeinfo version check.
   12342 	* configure: Regenerate.
   12343 
   12344 2007-11-10  Jakub Jelinek  <jakub (a] redhat.com>
   12345 
   12346 	PR fortran/34020
   12347 	* testsuite/libgomp.fortran/pr34020.f90: New test.
   12348 
   12349 2007-11-06  Jakub Jelinek  <jakub (a] redhat.com>
   12350 
   12351 	PR c++/33894
   12352 	* testsuite/libgomp.c++/atomic-1.C: New test.
   12353 
   12354 2007-10-25  Jakub Jelinek  <jakub (a] redhat.com>
   12355 
   12356 	PR libgomp/33275
   12357 	* testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
   12358 	Make x and y integers rather than (implicit) reals.  Add private (j)
   12359 	clause to the last omp parallel.
   12360 
   12361 2007-10-15  Maciej W. Rozycki  <macro (a] linux-mips.org>
   12362 
   12363 	* configure: Regenerate following changes to ../config/tls.m4.
   12364 
   12365 2007-09-28  Jakub Jelinek  <jakub (a] redhat.com>
   12366 
   12367 	* testsuite/libgomp.fortran/stack.f90: New test.
   12368 
   12369 2007-09-10  Danny Smith  <dannysmith (a] users.sourceforge.net>
   12370 
   12371 	* config/mingw32/proc.c: New file.
   12372 
   12373 2007-09-05  Uros Bizjak  <ubizjak (a] gmail.com>
   12374 
   12375 	* testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
   12376 	(main): Use __get_cpuid to get i386 target fetaures.
   12377 	* testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
   12378 	(main): Use __get_cpuid to get x86_64 target fetaures.
   12379 
   12380 2007-08-15  Jack Howarth  <howarth (a] bromo.med.uc.edu>
   12381 
   12382 	PR target/32765
   12383 	* testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
   12384 	* testsuite/libgomp.fortran/crayptr2.f90: Likwise.
   12385 
   12386 2007-07-12  Jakub Jelinek  <jakub (a] redhat.com>
   12387 
   12388 	PR fortran/32550
   12389 	* testsuite/libgomp.fortran/pr32550.f90: New test.
   12390 	* testsuite/libgomp.fortran/crayptr2.f90: New test.
   12391 
   12392 2007-07-05  H.J. Lu  <hongjiu.lu (a] intel.com>
   12393 
   12394 	* aclocal.m4: Regenerated.
   12395 
   12396 2007-07-05  Tobias Burnus  <burnus (a] net-b.de>
   12397 
   12398 	PR fortran/32359
   12399 	* testsuite/libgomp.fortran/pr32359.f90: New.
   12400 
   12401 2007-07-02  Jakub Jelinek  <jakub (a] redhat.com>
   12402 
   12403 	PR libgomp/32468
   12404 	* sections.c (GOMP_parallel_sections_start): Only decrease
   12405 	number of threads to COUNT if dyn_var is true.
   12406 	* testsuite/libgomp.c/pr32468.c: New test.
   12407 
   12408 2007-07-02  Rainer Orth  <ro (a] TechFak.Uni-Bielefeld.DE>
   12409 
   12410 	PR libgomp/26308
   12411 	* config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
   12412 
   12413 2007-06-21  Jakub Jelinek  <jakub (a] redhat.com>
   12414 
   12415 	PR middle-end/32362
   12416 	* testsuite/libgomp.c/pr32362-1.c: New test.
   12417 	* testsuite/libgomp.c/pr32362-2.c: New test.
   12418 	* testsuite/libgomp.c/pr32362-3.c: New test.
   12419 
   12420 2007-06-07  Jakub Jelinek  <jakub (a] redhat.com>
   12421 
   12422 	* team.c (gomp_team_start): Fix setting up thread_attr
   12423 	stack size.
   12424 
   12425 2007-06-02  Paolo Bonzini  <bonzini (a] gnu.org>
   12426 
   12427 	* configure: Regenerate.
   12428 
   12429 2007-05-23  Steve Ellcey  <sje (a] cup.hp.com>
   12430 
   12431 	* Makefile.in: Regenerate.
   12432 	* configure: Regenerate.
   12433 	* aclocal.m4: Regenerate.
   12434 	* testsuite/Makefile.in: Regenerate.
   12435 
   12436 2007-05-04  Jakub Jelinek  <jakub (a] redhat.com>
   12437 
   12438 	* config/linux/proc.c: New file.
   12439 
   12440 	PR libgomp/28482
   12441 	* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
   12442 
   12443 2007-04-19  Daniel Franke  <franke.daniel (a] gmail.com>
   12444 
   12445 	* libgomp.texi (GOMP_CPU_AFFINITY): Updated.
   12446 
   12447 2007-04-16  Matthias Klose  <doko (a] debian.org>
   12448 
   12449 	* configure.tgt (i[456]86-*-linux*): Only add ia32 specific
   12450 	flags if not building with -m64.
   12451 	* testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
   12452 	flag for i?86-*-* targets, if current target matches -m64.
   12453 
   12454 2007-04-14  Steve Ellcey  <sje (a] cup.hp.com>
   12455 
   12456 	* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
   12457 	* Makefile.in: Regenerate.
   12458 
   12459 2007-04-07  John David Anglin  <dave.anglin (a] nrc-cnrc.gc.ca>
   12460 
   12461 	PR testsuite/31369
   12462 	* testsuite/libgomp.c++/c++.exp: Don't use concat when setting
   12463 	ld_library_path.
   12464 	* testsuite/libgomp.fortran/fortran.exp: Likewise.
   12465 
   12466 2007-04-04  Jakub Jelinek  <jakub (a] redhat.com>
   12467 
   12468 	* libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
   12469 	decls.
   12470 	(gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
   12471 	* env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
   12472 	(parse_affinity): New function.
   12473 	(initialize_env): Call it and gomp_init_affinity.
   12474 	* team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
   12475 	create new pthread_attr_t and call gomp_init_thread_affinity
   12476 	on it for each thread before passing the attribute to pthread_create.
   12477 	* config/linux/affinity.c: New file.
   12478 	* config/posix/affinity.c: New file.
   12479 	* configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
   12480 	* configure: Rebuilt.
   12481 	* config.h.in: Rebuilt.
   12482 	* Makefile.am (libgomp_la_SOURCES): Add affinity.c.
   12483 	* Makefile.in: Rebuilt.
   12484 
   12485 2007-03-23  Andreas Tobler  <a.tobler (a] schweiz.org>
   12486 
   12487 	* testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
   12488 	*-*-darwin*.
   12489 	* testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
   12490 	and use it if found.
   12491 
   12492 2007-03-18  Uros Bizjak  <ubizjak (a] gmail.com>
   12493 
   12494 	* testsuite/config/default.exp: New file.
   12495 	* testsuite/lib/libgomp.exp: New file.
   12496 	* testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
   12497 	libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
   12498 	load_lib *, load_gcc_lib *): Move to libgomp.exp.
   12499 	(libgomp_load): Remove.
   12500 	* testsuite/lib/libgomp.exp (libgomp_init): Compute
   12501 	always_ld_library_path, not ld_library_path.  Set additional_flags
   12502 	to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
   12503 	(target_compile): Do not call libgomp_init.  Append lang_library_path
   12504 	and lang_link_flags to options.
   12505 	* testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2.  Set
   12506 	ld_library_path from always_ld_library_path.  Set LD_LIBRARY_PATH
   12507 	here.
   12508 	* testsuite/libgomp.c++/c++.exp: Set ld_library_path from
   12509 	always_ld_library_path.  Set LD_LIBRARY_PATH here.
   12510 	* testsuite/libgomp.fortran/fortran.exp: Ditto.
   12511 	* testsuite/libgomp.c/atomic-1.c: Set dg-options to
   12512 	"-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
   12513 	CX8 flag.
   12514 	* testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
   12515 	lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
   12516 	* testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
   12517 	* testsuite/libgomp.c/pr29947-1.c: Ditto.
   12518 	* testsuite/libgomp.c/atomic-10.c: Ditto.
   12519 
   12520 2007-03-21  Jakub Jelinek  <jakub (a] redhat.com>
   12521 
   12522 	* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
   12523 	dg-final cleanup-modules line.
   12524 	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
   12525 	* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
   12526 	* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
   12527 	* testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
   12528 	* testsuite/libgomp.fortran/reduction5.f90: Likewise.
   12529 	* testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
   12530 	* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
   12531 
   12532 2007-03-18  Andreas Schwab  <schwab (a] suse.de>
   12533 
   12534 	* acinclude.m4: Adjust regular expression for ld version
   12535 	extraction.
   12536 	* configure: Regenerate.
   12537 
   12538 2007-03-01  Brooks Moses  <brooks.moses (a] codesourcery.com>
   12539 
   12540 	* Makefile.am: Add install-pdf target as copied from
   12541 	automake v1.10 rules.
   12542 	* Makefile.in: Regenerate
   12543 
   12544 2007-02-07  Jakub Jelinek  <jakub (a] redhat.com>
   12545 
   12546 	PR libgomp/28486
   12547 	* configure: Regenerate.
   12548 
   12549 	PR c++/30703
   12550 	* testsuite/libgomp.c++/pr30703.C: New test.
   12551 
   12552 2007-02-02  Jakub Jelinek  <jakub (a] redhat.com>
   12553 
   12554 	Revert:
   12555 	2006-07-05  Eric Christopher  <echristo (a] apple.com>
   12556 	* configure.ac: Depend addition of -pthread on host OS.
   12557 	* configure: Regenerate.
   12558 
   12559 2007-01-31  Ralf Wildenhues  <Ralf.Wildenhues (a] gmx.de>
   12560 
   12561 	* libgomp.texi: Fix spacing after abbreviations.
   12562 
   12563 2007-01-31  Daniel Franke <franke.daniel (a] gmail.com>
   12564 
   12565 	PR libgomp/30546
   12566 	* configure.ac: Add check for makeinfo
   12567 	* Makefile.am: Redefined target libgomp.info, build libgomp.info only
   12568 	if an appropriate version of makeinfo is found.
   12569 	* aclocal.m4: Regenerated.
   12570 	* configure: Regenerated.
   12571 	* Makefile.in: Regenerated.
   12572 	* testsuite/Makefile.in: Regenerated.
   12573 
   12574 2007-01-29  Daniel Franke <franke.daniel (a] gmail.com>
   12575 
   12576 	PR libgomp/30540
   12577 	* libgomp.texi: More about implementation-dependent settings.
   12578 
   12579 2007-01-26  Tobias Burnus  <burnus (a] net-b.de>
   12580 
   12581 	* testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
   12582 
   12583 2007-01-24  Jakub Jelinek  <jakub (a] redhat.com>
   12584 
   12585 	PR middle-end/30494
   12586 	* testsuite/libgomp.c/pr30494.c: New test.
   12587 
   12588 2007-01-15  Tom Tromey  <tromey (a] redhat.com>
   12589 
   12590 	* configure: Rebuilt.
   12591 	* configure.ac: Fixed comment.
   12592 
   12593 2007-01-14  Daniel Franke  <franke.daniel (a] gmail.com>
   12594 
   12595 	* libgomp.texi: Document implementation specific default values of
   12596 	environment variables.
   12597 
   12598 2006-12-21  Daniel Franke  <franke.daniel (a] gmail.com>
   12599 
   12600 	PR libgomp/28209
   12601 	* libgomp.texi: New file.
   12602 	* configure.ac: Add --enable-generated-files-in-srcdir option.
   12603 	* Makefile.am: Add info, dvi, pdf, html targets. On request, copy
   12604 	files to srcdir.
   12605 	* Makefile.in: Regenerated.
   12606 	* config.h.in: Regenerated.
   12607 	* testsuite/Makefile.in: Regenerated.
   12608 	* NOTES: Removed.
   12609 
   12610 2006-12-04  Daniel Franke  <franke.daniel (a] gmail.com>
   12611 
   12612 	PR libgomp/29949
   12613 	* env.c (omp_set_num_threads): Set illegal thread count to 1.
   12614 
   12615 2006-12-04  Eric Botcazou  <ebotcazou (a] libertysurf.fr>
   12616 
   12617 	* configure: Regenerate.
   12618 
   12619 2006-12-04  Jakub Jelinek  <jakub (a] redhat.com>
   12620 
   12621 	PR libgomp/29947
   12622 	* loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
   12623 	start if there shouldn't be any loop iterations.
   12624 	(gomp_loop_ordered_static_start): Remove start == end test.
   12625 	* testsuite/libgomp.c/pr29947-1.c: New test.
   12626 	* testsuite/libgomp.c/pr29947-2.c: New test.
   12627 
   12628 2006-12-02  Eric Botcazou  <ebotcazou (a] libertysurf.fr>
   12629 
   12630 	* configure.tgt: Force initial-exec TLS model on Linux only.
   12631 
   12632 2006-11-13  Daniel Jacobowitz  <dan (a] codesourcery.com>
   12633 
   12634 	* configure: Regenerated.
   12635 
   12636 2006-11-09  Uros Bizjak  <ubizjak (a] gmail.com>
   12637 
   12638 	* env.c (parse_schedule): Reject out of range values.
   12639 	(parse_unsigned_long): Reject out of range, negative or zero values.
   12640 
   12641 2006-10-29  Jakub Jelinek  <jakub (a] redhat.com>
   12642 
   12643 	PR fortran/29629
   12644 	* testsuite/libgomp.fortran/pr29629.f90: New test.
   12645 
   12646 2006-10-24  Eric Botcazou  <ebotcazou (a] libertysurf.fr>
   12647 
   12648 	PR libgomp/29494
   12649 	* configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
   12650 	* config/posix95: New directory.
   12651 	* config/posix95/omp-lock.h: New file.
   12652 	* config/posix95/lock.c: Likewise.
   12653 
   12654 2006-10-14  Geoffrey Keating  <geoffk (a] apple.com>
   12655 
   12656 	* aclocal.m4: Regenerate.
   12657 	* configure: Regenerate.
   12658 
   12659 2006-10-05  Danny Smith  <dannysmith (a] users.sourceforge.net>
   12660 
   12661 	* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
   12662 	'<' to '<='.
   12663 
   12664 2006-10-05  Danny Smith  <dannysmith (a] users.sourceforge.net>
   12665 
   12666 	* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
   12667 	test.
   12668 	* configure: Regenerate.
   12669 	* fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
   12670 
   12671 2006-09-26  Jakub Jelinek  <jakub (a] redhat.com>
   12672 
   12673 	PR middle-end/25261
   12674 	PR middle-end/28790
   12675 	* testsuite/libgomp.c/nestedfn-4.c: New test.
   12676 	* testsuite/libgomp.c/nestedfn-5.c: New test.
   12677 	* testsuite/libgomp.fortran/nestedfn3.f90: New test.
   12678 
   12679 	PR fortran/29097
   12680 	* testsuite/libgomp.fortran/condinc1.f: New test.
   12681 	* testsuite/libgomp.fortran/condinc2.f: New test.
   12682 	* testsuite/libgomp.fortran/condinc3.f90: New test.
   12683 	* testsuite/libgomp.fortran/condinc4.f90: New test.
   12684 	* testsuite/libgomp.fortran/condinc1.inc: New file.
   12685 
   12686 2006-09-18  Tom Tromey  <tromey (a] redhat.com>
   12687 
   12688 	* configure: Rebuilt.
   12689 
   12690 2006-09-13  Joseph S. Myers  <joseph (a] codesourcery.com>
   12691 
   12692 	PR c/28768
   12693 	PR preprocessor/14634
   12694 	* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
   12695 	to AC_DEFINE.
   12696 	* configure: Regenerate.
   12697 
   12698 2006-09-08  Steven G. Kargl  <kargl (a] gcc.gnu.org>
   12699 
   12700 	* testsuite/libgomp.fortran/reduction3.f90: Change
   12701 	-2147483648 to -huge(i)-1 to avoid overflow.
   12702 	* testsuite/libgomp.fortran/reduction4.f90: Change
   12703 	Z'ffffffff' to not(0) to avoid overflow.
   12704 
   12705 2006-08-26  Joseph S. Myers  <joseph (a] codesourcery.com>
   12706 
   12707 	PR libgomp/25938
   12708 	* Makefile.am (libsubincludedir): New.
   12709 	(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
   12710 	* Makefile.in: Regenerate.
   12711 
   12712 2006-08-17  Jakub Jelinek  <jakub (a] redhat.com>
   12713 
   12714 	PR libgomp/28725
   12715 	* env.c: Include ctype.h.
   12716 	(parse_schedule, parse_unsigned_long, parse_boolean): Allow
   12717 	leading and/or trailing whitespace and compare strings case
   12718 	insensitively.
   12719 
   12720 2006-07-16  Jakub Jelinek  <jakub (a] redhat.com>
   12721 
   12722 	PR fortran/28390
   12723 	* testsuite/libgomp.fortran/pr28390.f: New test.
   12724 
   12725 2006-07-05  Eric Christopher  <echristo (a] apple.com>
   12726 
   12727 	* configure.ac: Depend addition of -pthread on host OS.
   12728 	* configure: Regenerate.
   12729 
   12730 2006-06-21  Jakub Jelinek  <jakub (a] redhat.com>
   12731 
   12732 	* critical.c (GOMP_critical_name_start): Fix *pptr initialization
   12733 	when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
   12734 	defined.
   12735 
   12736 2006-06-20  Jakub Jelinek  <jakub (a] redhat.com>
   12737 
   12738 	PR libgomp/26175
   12739 	PR libgomp/26477
   12740 	* configure.ac: If neither --enable-linux-futex nor
   12741 	--disable-linux-futex is passed, determine the default by checking
   12742 	for compiling and/or running against NPTL.  With --enable-linux-futex,
   12743 	check if SYS_gettid and SYS_futex are defined.
   12744 	* configure: Rebuilt.
   12745 
   12746 2006-06-14  Richard Henderson  <rth (a] redhat.com>
   12747 
   12748 	PR libgomp/28008
   12749 	* env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
   12750 	undefined.  Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
   12751 
   12752 2006-06-09  Richard Henderson  <rth (a] redhat.com>
   12753 
   12754 	* env.c (gomp_nthreads_var): Change to unsigned long.
   12755 	(gomp_run_sched_chunk): Likewise.
   12756 	(parse_unsigned_long): Rename from parse_num_threads and generalize.
   12757 	(initialize_env): Initialize gomp_thread_attr.
   12758 	* libgomp.h (gomp_nthreads_var): Update decl.
   12759 	(gomp_run_sched_chunk): Likewise.
   12760 	(gomp_thread_attr): Declare.
   12761 	* team.c (gomp_thread_attr): Export.
   12762 	(initialize_team): Don't initialize it.
   12763 
   12764 2006-06-09  Jakub Jelinek  <jakub (a] redhat.com>
   12765 
   12766 	PR fortran/27916
   12767 	* testsuite/libgomp.fortran/pr27916-1.f90: New test.
   12768 	* testsuite/libgomp.fortran/pr27916-2.f90: New test.
   12769 
   12770 2006-06-06  Francois-Xavier Coudert  <coudert (a] clipper.ens.fr>
   12771 
   12772 	* config/mingw32/time.c: New file.
   12773 	* configure.tgt: Use it.
   12774 
   12775 2006-05-23  Carlos O'Donell  <carlos (a] codesourcery.com>
   12776 
   12777 	* Makefile.am: Add install-html target. Add install-html to .PHONY
   12778 	* Makefile.in: Regenerate.
   12779 
   12780 2006-05-22  John David Anglin  <dave.anglin (a] nrc-cnrc.gc.ca>
   12781 
   12782 	PR libgomp/27612
   12783 	* testsuite/libgomp.c/sections-1.c: Require sync_int_long.
   12784 	* testsuite/libgomp.c/critical-1.c: Likewise.
   12785 	* testsuite/libgomp.c/loop-1.c: Likewise.
   12786 	* testsuite/libgomp.c/loop-2.c: Likewise.
   12787 	* testsuite/libgomp.c/single-1.c: Likewise.
   12788 	* testsuite/libgomp.c/ordered-1.c: Likewise.
   12789 	* testsuite/libgomp.c/ordered-2.c: Likewise.
   12790 
   12791 2006-05-15  Jakub Jelinek  <jakub (a] redhat.com>
   12792 
   12793 	PR middle-end/27416
   12794 	* libgomp.fortran/pr27416-1.f90: New test.
   12795 
   12796 2006-05-03  Jakub Jelinek  <jakub (a] redhat.com>
   12797 
   12798 	PR fortran/27395
   12799 	* testsuite/libgomp.fortran/pr27395-1.f90: New test.
   12800 	* testsuite/libgomp.fortran/pr27395-2.f90: New test.
   12801 
   12802 2006-05-02  Jakub Jelinek  <jakub (a] redhat.com>
   12803 
   12804 	PR c++/26943
   12805 	* testsuite/libgomp.c/pr26943-1.c: New test.
   12806 	* testsuite/libgomp.c/pr26943-2.c: New test.
   12807 	* testsuite/libgomp.c/pr26943-3.c: New test.
   12808 	* testsuite/libgomp.c/pr26943-4.c: New test.
   12809 	* testsuite/libgomp.c++/pr27337.C: Remove barrier.
   12810 	* testsuite/libgomp.c++/pr26943.C: New test.
   12811 
   12812 2006-05-02  Jakub Jelinek  <jakub (a] redhat.com>
   12813 
   12814 	PR middle-end/27337
   12815 	* testsuite/libgomp.c++/pr27337.C: New test.
   12816 
   12817 2006-04-26  Jakub Jelinek  <jakub (a] redhat.com>
   12818 
   12819 	PR c/26171
   12820 	* testsuite/libgomp.c/pr26171.c: New test.
   12821 
   12822 2006-04-25  Richard Henderson  <rth (a] redhat.com>
   12823 
   12824 	PR libgomp/25865
   12825 	* configure.ac: Use GCC_CHECK_TLS.
   12826 	* acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
   12827 	* Makefile.in, aclocal.m4, configure: Regenerate.
   12828 
   12829 2006-04-10  Matthias Klose  <doko (a] debian.org>
   12830 
   12831 	* testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
   12832 	directory names containing underscores.
   12833 
   12834 2006-03-21  Jakub Jelinek  <jakub (a] redhat.com>
   12835 
   12836 	PR c++/26691
   12837 	* testsuite/libgomp.c++/pr26691.C: New test.
   12838 
   12839 2006-03-13  Jakub Jelinek  <jakub (a] redhat.com>
   12840 
   12841 	* testsuite/libgomp.fortran/retval2.f90: New test.
   12842 
   12843 2006-03-09  Diego Novillo  <dnovillo (a] redhat.com>
   12844 
   12845 	* testsuite/libgomp.c++: New directory.
   12846 
   12847 2006-02-25  Shantonu Sen  <ssen (a] opendarwin.org>
   12848 
   12849 	* config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
   12850 	* config/posix/sem.c: Implement the above.
   12851 
   12852 2006-02-25  Andreas Tobler  <a.tobler (a] schweiz.ch>
   12853 
   12854 	* configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
   12855 	define HAVE_BROKEN_POSIX_SEMAPHORES.
   12856 	* configure: Rebuilt.
   12857 	* config.h.in: Rebuilt.
   12858 
   12859 2006-02-17  Francois-Xavier Coudert  <coudert (a] clipper.ens.fr>
   12860 
   12861 	PR bootstrap/26161
   12862 	* configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
   12863 	for the other pthread check.
   12864 	* configure: Regenerate.
   12865 	* config.h.in: Regenerate.
   12866 
   12867 2006-02-15  Jakub Jelinek  <jakub (a] redhat.com>
   12868 
   12869 	PR libgomp/25938
   12870 	PR libgomp/25984
   12871 	* Makefile.am (fincludedir): New variable.
   12872 	(nodist_include_HEADERS): Remove Fortran files.
   12873 	(nodist_finclude_HEADERS): New variable.
   12874 	* Makefile.in: Regenerated.
   12875 
   12876 2006-02-13  Jakub Jelinek  <jakub (a] redhat.com>
   12877 
   12878 	* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
   12879 	Remove tests for returning assumed character length arrays.
   12880 
   12881 2006-02-12  Roger Sayle  <roger (a] eyesopen.com>
   12882 	    John David Anglin  <dave (a] hiauly1.hia.nrc.ca>
   12883 
   12884 	PR libgomp/25936
   12885 	* configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
   12886 
   12887 2006-02-08  Ulrich Weigand  <uweigand (a] de.ibm.com>
   12888 
   12889 	* testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
   12890 
   12891 2006-02-07  Eric Botcazou  <ebotcazou (a] libertysurf.fr>
   12892 
   12893 	* testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
   12894 	part of LD_LIBRARY_PATH manually.
   12895 
   12896 2006-02-03  H.J. Lu  <hongjiu.lu (a] intel.com>
   12897 
   12898 	PR libgomp/25852
   12899 	* testsuite/lib/libgomp-dg.exp (blddir): Set it in
   12900 	libgomp_init.
   12901 
   12902 2005-01-25  Paolo Bonzini  <bonzini (a] gnu.org>
   12903 
   12904 	PR libgomp/25884
   12905 	* Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
   12906 	* configure.ac (PERL): Don't set.
   12907 	(gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
   12908 	(OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
   12909 	OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
   12910 	* omp.h.in: Wrap the new configure substitutions with @ characters.
   12911 	* omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
   12912 	* aclocal.m4, configure, Makefile.in: Regenerate.
   12913 	* mkomp_h.pl: Delete.
   12914 
   12915 2005-01-24  Paolo Bonzini  <bonzini (a] gnu.org>
   12916 
   12917 	PR libgomp/25259
   12918 	* configure.ac: Use GCC_HEADER_STDINT.
   12919 	* libgomp.h: Include gstdint.h.
   12920 	* libgomp_f.h.in: Don't include stdint.h or inttypes.h.
   12921 	* configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
   12922 
   12923 2006-01-24  Richard Henderson  <rth (a] redhat.com>
   12924 
   12925 	PR libgomp/25942
   12926 	* configure.ac: Add AM_MAINTAINER_MODE.
   12927 	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
   12928 
   12929 2006-01-24  Diego Novillo  <dnovillo (a] redhat.com>
   12930 
   12931 	* Makefile.in: Regenerate.
   12932 	* testsuite/Makefile.in: Regenerate.
   12933 	* aclocal.m4: Regenerate.
   12934 
   12935 2006-01-23  Andreas Tobler  <a.tobler (a] schweiz.ch>
   12936 
   12937 	* config/posix/proc.c: Conditional include of sys/loadavg.h for
   12938 	Solaris.
   12939 	* configure.ac: Add check for loadavg.h.
   12940 	(link_gomp): Adjust comment.
   12941 	* configure: Regenerate.
   12942 	* config.h.in: Regenerate.
   12943 
   12944 2006-01-21  Steve Ellcey  <sje (a] cup.hp.com>
   12945 
   12946 	PR libgomp/25877
   12947 	* configure.ac: Remove check for alloca.h.
   12948 	* configure: Regenerate.
   12949 	* config.h.in: Regenerate.
   12950 	* libgomp.h: define gomp_alloca to be __builtin_alloca.
   12951 	* team.c: Remove use of alloca.h.
   12952 	Call gomp_alloca instead of alloca.
   12953 
   12954 2006-01-20  Steve Ellcey  <sje (a] cup.hp.com>
   12955 
   12956 	PR libgomp/25877
   12957 	* team.c: Add include of alloca.h.
   12958 	* configure.ac: Add check for alloca.h.
   12959 	* configure: Regenerate.
   12960 	* config.h.in: Regenerate.
   12961 
   12962 2006-01-17  Jakub Jelinek  <jakub (a] redhat.com>
   12963 
   12964 	PR fortran/25219
   12965 	* testsuite/libgomp.fortran/pr25219.f90: New test.
   12966 
   12967 2005-12-05  Uros Bizjak  <uros (a] kss-loka.si>
   12968 
   12969 	* testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
   12970 	testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
   12971 	testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
   12972 	testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
   12973 	testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
   12974 	testsuite/libgomp.fortran/threadprivate1.f90,
   12975 	testsuite/libgomp.fortran/threadprivate2.f90,
   12976 	testsuite/libgomp.fortran/threadprivate3.f90,
   12977 	testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
   12978 	testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
   12979 	testsuite/libgomp.fortran/omp_parse3.f90: Change required
   12980 	effective-target to TLS runtime.
   12981 
   12982 	* testsuite/libgomp.fortran/pr25162.f: Require
   12983 	effective-target TLS runtime.
   12984 
   12985 2005-12-01  Jakub Jelinek  <jakub (a] redhat.com>
   12986 
   12987 	* testsuite/libgomp.fortran/nestedfn2.f90: New test.
   12988 	* testsuite/libgomp.c/nestedfn-3.c: New test.
   12989 
   12990 2005-11-30  Jakub Jelinek  <jakub (a] redhat.com>
   12991 
   12992 	PR fortran/25162
   12993 	* testsuite/libgomp.fortran/pr25162.f: New test.
   12994 
   12995 2005-11-28  Jakub Jelinek  <jakub (a] redhat.com>
   12996 
   12997 	* config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
   12998 	CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
   12999 
   13000 2005-11-25  Jakub Jelinek  <jakub (a] redhat.com>
   13001 
   13002 	* alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
   13003 	libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
   13004 	omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
   13005 	single.c, team.c, work.c, config/linux/alpha/futex.h,
   13006 	config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
   13007 	config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
   13008 	config/linux/powerpc/futex.h, config/linux/s390/futex.h,
   13009 	config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
   13010 	config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
   13011 	config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
   13012 	config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
   13013 	FSF address.
   13014 
   13015 2005-11-18  Jakub Jelinek  <jakub (a] redhat.com>
   13016 
   13017 	* Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
   13018 	to nodist_noinst_HEADERS.
   13019 	* Makefile.in: Rebuilt.
   13020 
   13021 	* config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
   13022 	add integer count field.
   13023 	* config/posix/lock.c (omp_destroy_nest_lock): Adjust for
   13024 	omp_nest_lock_t type change.
   13025 	(omp_init_nest_lock): Likewise.  Initialize count to 0.
   13026 	(omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
   13027 	Increment count.
   13028 	(omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
   13029 	Decrement count.
   13030 	(omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
   13031 	Increment count if successful and return the new nesting level.
   13032 	* config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
   13033 	* omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
   13034 	* testsuite/libgomp.c/lib-1.c: New test.
   13035 	* testsuite/libgomp.fortran/lib1.f90: New test.
   13036 	* testsuite/libgomp.fortran/lib2.f: New test.
   13037 	* testsuite/libgomp.fortran/lib3.f: New test.
   13038 
   13039 2005-11-17  Richard Henderson  <rth (a] redhat.com>
   13040 
   13041 	PR 24845
   13042 	* Makefile.am (nodist_toolexeclib_HEADERS): New.
   13043 	* configure.ac (link_gomp): New.  Substitute it.
   13044 	(AC_CONFIG_FILES): Add libgomp.spec.
   13045 	* libgomp.spec.in: New file.
   13046 	* Makefile.in, testsuite/Makefile.in, configure: Rebuild.
   13047 	* testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
   13048 
   13049 2005-11-18  Jakub Jelinek  <jakub (a] redhat.com>
   13050 
   13051 	* testsuite/libgomp.fortran/reduction1.f90: Adjust for
   13052 	reduction(-:var) behaving the same as reduction(+:var).
   13053 	* testsuite/libgomp.c/reduction-4.c: New test.
   13054 
   13055 2005-11-15  Uros Bizjak  <uros (a] kss-loka.si>
   13056 
   13057 	* testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
   13058 	testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
   13059 	testsuite/libgomp.c/copyin-3.c,
   13060 	testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
   13061 	testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
   13062 	testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
   13063 	testsuite/libgomp.c++/pr24455.C,
   13064 	testsuite/libgomp.fortran/threadprivate1.f90,
   13065 	testsuite/libgomp.fortran/threadprivate2.f90,
   13066 	testsuite/libgomp.fortran/threadprivate3.f90,
   13067 	testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
   13068 	testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
   13069 	testsuite/libgomp.fortran/omp_parse3.f90: Require
   13070 	effective-target TLS.
   13071 
   13072 2005-11-14  Diego Novillo  <dnovillo (a] redhat.com>
   13073 
   13074 	* HEADER: Remove.
   13075 
   13076 2005-11-13  Jakub Jelinek  <jakub (a] redhat.com>
   13077 
   13078 	PR libgomp/24797
   13079 	* team.c (initialize_team): Pass NULL rather than free as
   13080 	pthread_key_create destructor.  Initialize thread specific data
   13081 	pointer in initial thread to a static local variable rather than
   13082 	malloced memory.
   13083 
   13084 2005-11-11  Uros Bizjak  <uros (a] kss-loka.si>
   13085 
   13086 	* testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
   13087 	its location to ld_library_path.
   13088 
   13089 2005-11-10  Diego Novillo  <dnovillo (a] redhat.com>
   13090 
   13091 	* testsuite/libgomp.c/c.exp: Rename from dg.exp.
   13092 
   13093 2005-11-10  Diego Novillo  <dnovillo (a] redhat.com>
   13094 
   13095 	* testsuite/libgomp.c: Rename from libgomp.dg.
   13096 
   13097 2005-11-09  Diego Novillo  <dnovillo (a] redhat.com>
   13098 
   13099 	* testsuite/libgomp.c++/pr24455.C: Add copyin clause for
   13100 	threadprivate variable 'i'.
   13101 
   13102 2005-11-09  Jakub Jelinek  <jakub (a] redhat.com>
   13103 
   13104 	* config/linux/s390/futex.h: New file.
   13105 	* configure.tgt: Use it.
   13106 
   13107 	* testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
   13108 	before the parallel.
   13109 
   13110 2005-11-08  Jakub Jelinek  <jakub (a] redhat.com>
   13111 
   13112 	PR c++/24734
   13113 	* testsuite/libgomp.c++/master-1.C: New test.
   13114 
   13115 2005-11-07  Jakub Jelinek  <jakub (a] redhat.com>
   13116 
   13117 	* testsuite/libgomp.dg/copyin-3.c: New test.
   13118 
   13119 2005-11-07  Jakub Jelinek  <jakub (a] redhat.com>
   13120 
   13121 	* testsuite/libgomp.fortran/retval1.f90: New test.
   13122 	* testsuite/libgomp.fortran/vla7.f90: New test.
   13123 
   13124 2005-11-06  Jakub Jelinek  <jakub (a] redhat.com>
   13125 
   13126 	* testsuite/libgomp.fortran/vla2.f90: New test.
   13127 	* testsuite/libgomp.fortran/vla3.f90: New test.
   13128 	* testsuite/libgomp.fortran/vla4.f90: New test.
   13129 	* testsuite/libgomp.fortran/vla5.f90: New test.
   13130 	* testsuite/libgomp.fortran/vla6.f90: New test.
   13131 
   13132 2005-11-01  Jakub Jelinek  <jakub (a] redhat.com>
   13133 
   13134 	* config/linux/sparc/futex.h: New file.
   13135 	* configure.tgt: Use it.
   13136 	* testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
   13137 
   13138 	* critical.c: Include stdlib.h.
   13139 	* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
   13140 	ignoring return value.
   13141 	* configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
   13142 	LIBGOMP_CHECK_SYNC_BUILTINS check.
   13143 	* configure: Rebuilt.
   13144 
   13145 2005-10-31  Jakub Jelinek  <jakub (a] redhat.com>
   13146 
   13147 	* testsuite/libgomp.fortran/vla1.f90: New test.
   13148 
   13149 2005-10-31  Richard Henderson  <rth (a] redhat.com>
   13150 
   13151 	* testsuite/libgomp.fortran/character2.f90: Fix race condition
   13152 	setting 's' in different threads.
   13153 
   13154 2005-10-31  Jakub Jelinek  <jakub (a] redhat.com>
   13155 
   13156 	* libgomp.h (attribute_hidden, ialias): Define.
   13157 	* config/posix/proc.c (omp_get_num_procs): Add ialias.
   13158 	* config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
   13159 	* config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
   13160 	omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
   13161 	omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
   13162 	omp_test_lock, omp_test_nest_lock): Likewise.
   13163 	* config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
   13164 	omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
   13165 	omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
   13166 	omp_test_lock, omp_test_nest_lock): Likewise.
   13167 	* env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
   13168 	omp_get_dynamic, omp_get_nested): Likewise.
   13169 	* parallel.c (omp_get_num_threads, omp_get_max_threads,
   13170 	omp_get_thread_num, omp_in_parallel): Likewise.
   13171 	* fortran.c (ialias_redirect): Define.
   13172 	(omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
   13173 	omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
   13174 	omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
   13175 	omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
   13176 	omp_set_num_threads, omp_get_dynamic, omp_get_nested,
   13177 	omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
   13178 	omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
   13179 	omp_get_wtime): Add ialias_redirect.
   13180 
   13181 2005-10-30  Jakub Jelinek  <jakub (a] redhat.com>
   13182 
   13183 	* fortran.c: Include stdlib.h.
   13184 
   13185 2005-10-29  Jakub Jelinek  <jakub (a] redhat.com>
   13186 
   13187 	* Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
   13188 	* Makefile.in: Regenerated.
   13189 
   13190 2005-10-28  Jakub Jelinek  <jakub (a] redhat.com>
   13191 
   13192 	* mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
   13193 	* libgomp_f.h.in (omp_check_defines): New function.
   13194 	* env.c: Include libgomp_f.h.
   13195 	(initialize_env): Call omp_check_defines.
   13196 
   13197 	* testsuite/libgomp.dg/copyin-2.c: New test.
   13198 	* testsuite/libgomp.c++/copyin-2.C: New test.
   13199 	* testsuite/libgomp.fortran/threadprivate3.f90: New test.
   13200 
   13201 	* testsuite/libgomp.fortran/threadprivate2.f90: New test.
   13202 	* testsuite/libgomp.fortran/sharing2.f90: New test.
   13203 
   13204 	* testsuite/libgomp.dg/copyin-1.c: New test.
   13205 	* testsuite/libgomp.c++/copyin-1.C: New test.
   13206 
   13207 2005-10-26  Jakub Jelinek  <jakub (a] redhat.com>
   13208 
   13209 	* testsuite/libgomp.fortran/crayptr1.f90: New test.
   13210 
   13211 	* testsuite/libgomp.fortran/workshare1.f90: New test.
   13212 
   13213 	* libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
   13214 	only test.
   13215 	* libgomp.fortran/sharing1.f90: New test.
   13216 
   13217 2005-10-24  Jakub Jelinek  <jakub (a] redhat.com>
   13218 
   13219 	PR c++/24502
   13220 	* testsuite/libgomp.c++/loop-7.C: New test.
   13221 
   13222 	* testsuite/libgomp.dg/nestedfn-2.c: New test.
   13223 
   13224 	* testsuite/libgomp.dg/nestedfn-1.c: New test.
   13225 	* testsuite/libgomp.fortran/reduction6.f90: New test.
   13226 	* testsuite/libgomp.fortran/nestedfn1.f90: New test.
   13227 
   13228 2005-10-23  Richard Henderson  <rth (a] redhat.com>
   13229 
   13230 	* testsuite/libgomp.c++/ctor-1.C: New.
   13231 	* testsuite/libgomp.c++/ctor-2.C: New.
   13232 	* testsuite/libgomp.c++/ctor-3.C: New.
   13233 	* testsuite/libgomp.c++/ctor-4.C: New.
   13234 	* testsuite/libgomp.c++/ctor-5.C: New.
   13235 	* testsuite/libgomp.c++/ctor-6.C: New.
   13236 	* testsuite/libgomp.c++/ctor-7.C: New.
   13237 	* testsuite/libgomp.c++/ctor-8.C: New.
   13238 	* testsuite/libgomp.c++/ctor-9.C: New.
   13239 
   13240 2005-10-21  Diego Novillo  <dnovillo (a] redhat.com>
   13241 
   13242 	PR 24455
   13243 	* testsuite/libgomp.c++/pr24455-1.C: New test.
   13244 	* testsuite/libgomp.c++/pr24455.C: New test.
   13245 	* testsuite/libgomp.dg/pr24455-1.c: New test.
   13246 	* testsuite/libgomp.dg/pr24455.c: New test.
   13247 
   13248 2005-10-20  Richard Henderson  <rth (a] redhat.com>
   13249 
   13250 	* testsuite/libgomp.c++/loop-6.C: New.
   13251 	* testsuite/libgomp.dg/loop-3.c: New.
   13252 
   13253 2005-10-20  Jakub Jelinek  <jakub (a] redhat.com>
   13254 
   13255 	* testsuite/libgomp.fortran/jacobi.f: Don't make i and j
   13256 	explicitly private.
   13257 	* testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
   13258 	explicitly shared.
   13259 
   13260 2005-10-19  Diego Novillo  <dnovillo (a] redhat.com>
   13261 
   13262 	* testsuite/libgomp.fortran/jacobi.f: New test.
   13263 
   13264 2005-10-19  Richard Henderson  <rth (a] redhat.com>
   13265 
   13266 	* configure.tgt (i?86-linux): Default to with_arch instead of
   13267 	CFLAGS.  Add -mtune to match target_cpu.
   13268 	(x86_64-linux): Tune to i686.
   13269 
   13270 	* fortran.c (omp_test_nest_lock_): Fix typo.
   13271 
   13272 2005-10-19  Jakub Jelinek  <jakub (a] redhat.com>
   13273 
   13274 	* ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
   13275 	gomp_ordered_sync): Do nothing if team->nthreads == 1.
   13276 	* testsuite/libgomp.dg/ordered-3.c: New test.
   13277 
   13278 	* testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
   13279 	Remove volatile keyword.
   13280 
   13281 	* testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
   13282 	in COMMON block to avoid warnings on 64-bit targets.
   13283 
   13284 2005-10-18  Diego Novillo  <dnovillo (a] redhat.com>
   13285 
   13286 	* testsuite/libgomp.dg/shared-3.c: New test.
   13287 
   13288 2005-10-18  Jakub Jelinek  <jakub (a] redhat.com>
   13289 
   13290 	* testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
   13291 	* testsuite/libgomp.fortran/reduction5.f90: New test.
   13292 
   13293 2005-10-18  Jakub Jelinek  <jakub (a] redhat.com>
   13294 
   13295 	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
   13296 	dg-options.
   13297 	* testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
   13298 	flush loop now that __sync_synchronize has proper memory barrier.
   13299 	* testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
   13300 	Add -ffixed-form to dg-options.
   13301 
   13302 2005-10-17  Diego Novillo  <dnovillo (a] redhat.com>
   13303 
   13304 	* testsuite/libgomp.fortran/fortran.exp: Also gather tests
   13305 	from subdirectories.
   13306 	* testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
   13307 	* testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
   13308 	* testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
   13309 	* testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
   13310 	* testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
   13311 	* testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
   13312 	* testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
   13313 	* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
   13314 	* testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
   13315 	* testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
   13316 	* testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
   13317 	* testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
   13318 	* testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
   13319 	* testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
   13320 	* testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
   13321 	* testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
   13322 	* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
   13323 	* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
   13324 	* testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
   13325 	* testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
   13326 	* testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
   13327 	* testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
   13328 	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
   13329 	* testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
   13330 	* testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
   13331 
   13332 2005-10-17  Jakub Jelinek  <jakub (a] redhat.com>
   13333 
   13334 	* testsuite/libgomp.dg/dg.exp: Only unset lang_* if
   13335 	lang_library_path exists.  Use find instead of glob to gather tests.
   13336 	* testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
   13337 
   13338 2005-10-17  Diego Novillo  <dnovillo (a] redhat.com>
   13339 
   13340 	* testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
   13341 	* testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
   13342 	* testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
   13343 	* testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
   13344 	* testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
   13345 	* testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
   13346 	* testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
   13347 	* testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
   13348 	* testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
   13349 	* testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
   13350 	* testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
   13351 	* testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
   13352 	* testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
   13353 
   13354 2005-10-15  Jakub Jelinek  <jakub (a] redhat.com>
   13355 
   13356 	* testsuite/libgomp.dg/vla-1.c: New test.
   13357 
   13358 	* testsuite/libgomp.fortran/reference2.f90: New test.
   13359 
   13360 	* testsuite/libgomp.fortran/character2.f90: Remove explicit
   13361 	declaration of omp_get_thread_num.
   13362 	* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
   13363 	use omp_lib.
   13364 
   13365 	* testsuite/libgomp.fortran/reduction1.f90: New test.
   13366 	* testsuite/libgomp.fortran/reduction2.f90: New test.
   13367 	* testsuite/libgomp.fortran/reduction3.f90: New test.
   13368 	* testsuite/libgomp.fortran/reduction4.f90: New test.
   13369 
   13370 2005-10-13  Richard Henderson  <rth (a] redhat.com>
   13371 
   13372 	* Makefile.am (libgomp_la_SOURCES): Add bar.c.
   13373 	* Makefile.in: Regenerate.
   13374 	* barrier.c (GOMP_barrier): Use gomp_barrier_wait.
   13375 	* libgomp.h: Include bar.h.
   13376 	(struct gomp_barrier): Remove.
   13377 	(struct gomp_team): Add barrier.  Replace master_barrier with
   13378 	master_release.  Replace threads with ordered_release.
   13379 	(struct gomp_thread): Replace barrier with release.
   13380 	* ordered.c (gomp_ordered_first): Update for ordered_release change.
   13381 	(gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
   13382 	gomp_ordered_static_next, gomp_ordered_sync): Likewise.
   13383 	* single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
   13384 	(GOMP_single_copy_end): Likewise.
   13385 	* team.c (gomp_threads_dock): New.
   13386 	(gomp_barrier_init, gomp_barrier_destroy): Remove.
   13387 	(gomp_thread_start): Use gomp_barrier_wait.
   13388 	(new_team, free_team): Update for gomp_team changes.
   13389 	(gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
   13390 	(gomp_team_end): Use gomp_barrier_wait.
   13391 	(initialize_team): Update for gomp_thread changes.
   13392 	* work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
   13393 	(gomp_work_share_end_nowait): Use atomic ops when available.
   13394 	* config/linux/bar.c, config/linux/bar.h: New files.
   13395 	* config/posix/bar.c, config/posix/bar.h: New files.
   13396 
   13397 2005-10-13  Jakub Jelinek  <jakub (a] redhat.com>
   13398 
   13399 	* single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
   13400 	* testsuite/libgomp.dg/single-2.c: New test.
   13401 
   13402 	* testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
   13403 	lang_link_flags): Unset, so that they aren't inherited from previously
   13404 	sourced *.exp.
   13405 
   13406 	* testsuite/libgomp.fortran/threadprivate1.f90: New test.
   13407 
   13408 2005-10-12  Richard Henderson  <rth (a] redhat.com>
   13409 
   13410 	* testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
   13411 	(libgomp_init): Use lang_test_file, lang_library_path, and
   13412 	lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
   13413 
   13414 	* testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
   13415 	(lang_test_file, lang_link_flags): New.
   13416 	(DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
   13417 
   13418 	* testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
   13419 	testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
   13420 	testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
   13421 	testsuite/libgomp.c++/parallel-1.C,
   13422 	testsuite/libgomp.c++/reduction-1.C,
   13423 	testsuite/libgomp.c++/reduction-2.C,
   13424 	testsuite/libgomp.c++/reduction-3.C,
   13425 	testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
   13426 	testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
   13427 	testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
   13428 	New files, largely cribbed from the C testsuite.
   13429 
   13430 2005-10-12  Jakub Jelinek  <jakub (a] redhat.com>
   13431 
   13432 	* testsuite/libgomp.fortran/character1.f90: New test.
   13433 	* testsuite/libgomp.fortran/character2.f90: New test.
   13434 
   13435 	* testsuite/libgomp.dg/nested-1.c: New test.
   13436 	* testsuite/libgomp.dg/nested-2.c: New test.
   13437 	* testsuite/libgomp.fortran/do1.f90: New test.
   13438 	* testsuite/libgomp.fortran/do2.f90: New test.
   13439 
   13440 	* testsuite/libgomp.fortran/reference1.f90: New test.
   13441 
   13442 2005-10-11  Jakub Jelinek  <jakub (a] redhat.com>
   13443 
   13444 	* testsuite/libgomp.dg/reduction-1.c: New test.
   13445 	* testsuite/libgomp.dg/reduction-2.c: New test.
   13446 	* testsuite/libgomp.dg/reduction-3.c: New test.
   13447 
   13448 2005-10-10  Jakub Jelinek  <jakub (a] redhat.com>
   13449 
   13450 	* testsuite/libgomp.dg/atomic-1.c: New test.
   13451 	* testsuite/libgomp.dg/atomic-2.c: New test.
   13452 
   13453 2005-10-09  Richard Henderson  <rth (a] redhat.com>
   13454 
   13455 	* critical.c (atomic_lock): New.
   13456 	(initialize_critical): Initialize it.
   13457 	(GOMP_atomic_start, GOMP_atomic_end): New.
   13458 	* libgomp.map: Export them.
   13459 	* libgomp_g.h: Declare them.
   13460 
   13461 	* testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
   13462 
   13463 2005-10-02  Richard Henderson  <rth (a] redhat.com>
   13464 
   13465 	* configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
   13466 	to XCFLAGS instead of CFLAGS.
   13467 
   13468 2005-09-30  Richard Henderson  <rth (a] redhat.com>
   13469 
   13470 	* configure.ac: Determine whether -pthread or -lpthread is needed.
   13471 	* Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
   13472 	* Makefile.in, configure: Rebuild.
   13473 
   13474 2005-09-28  Richard Henderson  <rth (a] redhat.com>
   13475 
   13476 	* testsuite/libgomp.dg/omp-loop03.c: Fix return code.
   13477 	* testsuite/libgomp.dg/omp-single-3.c: New test.
   13478 
   13479 2005-09-28  Diego Novillo  <dnovillo (a] redhat.com>
   13480 
   13481 	* testsuite/libgomp.dg/omp-single-2.c: New test.
   13482 	* testsuite/libgomp.dg/shared-2.c: Fix return code.
   13483 
   13484 2005-09-27  Richard Henderson  <rth (a] redhat.com>
   13485 
   13486 	* testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
   13487 	* testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
   13488 
   13489 2005-09-27  Jakub Jelinek  <jakub (a] redhat.com>
   13490 
   13491 	* testsuite/libgomp.dg/omp-loop03.c: New test.
   13492 
   13493 2005-09-27  Diego Novillo  <dnovillo (a] redhat.com>
   13494 
   13495 	* testsuite/libgomp.dg/omp-parallel-for.c: New test.
   13496 
   13497 2005-09-27  Diego Novillo  <dnovillo (a] redhat.com>
   13498 
   13499 	* testsuite/libgomp.dg/omp-single-1.c: New test.
   13500 	* testsuite/libgomp.dg/shared-1.c: Return 0.
   13501 	Add prototype for abort.
   13502 	* testsuite/libgomp.dg/shared-2.c: Likewise.
   13503 
   13504 2005-09-26  Jakub Jelinek  <jakub (a] redhat.com>
   13505 
   13506 	* testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
   13507 	constructs.
   13508 
   13509 2005-09-26  Diego Novillo  <dnovillo (a] redhat.com>
   13510 
   13511 	* testsuite/libgomp.dg/shared-1.c: New test.
   13512 	* testsuite/libgomp.dg/shared-2.c: New test.
   13513 
   13514 2005-09-24  Richard Henderson  <rth (a] redhat.com>
   13515 
   13516 	* testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
   13517 
   13518 2005-09-24  Richard Henderson  <rth (a] redhat.com>
   13519 
   13520 	* iter.c (gomp_iter_static_next): Round up when computing number
   13521 	of iterations.  Don't bother distributing a remainder equally.
   13522 
   13523 	* testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
   13524 	Don't call srand.  Zero b before testing.
   13525 	(main): New.
   13526 
   13527 2005-09-24  Jakub Jelinek  <jakub (a] redhat.com>
   13528 
   13529 	* testsuite/libgomp.fortran/omp_atomic1.f90: New test.
   13530 	* testsuite/libgomp.fortran/omp_atomic2.f90: New test.
   13531 
   13532 2005-09-23  Jakub Jelinek  <jakub (a] redhat.com>
   13533 
   13534 	* testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
   13535 	without !$omp end do, followed immediately by subroutine end.
   13536 
   13537 2005-09-23  Diego Novillo  <dnovillo (a] redhat.com>
   13538 
   13539 	* testsuite/libgomp.dg/omp-parallel-if.c: New test.
   13540 
   13541 2005-09-22  Richard Henderson  <rth (a] redhat.com>
   13542 
   13543 	* critical.c (GOMP_critical_name_start): Change argument to void**.
   13544 	Reuse the pointer space if the mutex fits.
   13545 	(GOMP_critical_name_end): Likewise.
   13546 	(initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
   13547 	* libgomp_g.h (GOMP_critical_name_start): Update decl.
   13548 	(GOMP_critical_name_end): Likewise.
   13549 	* config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
   13550 	* config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
   13551 
   13552 2005-09-20  Richard Henderson  <rth (a] redhat.com>
   13553 
   13554 	* critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
   13555 	(create_lock_lock): New.
   13556 	(initialize_critical): Initialize it.
   13557 	* libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
   13558 	* libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
   13559 
   13560 2005-09-20  Diego Novillo  <dnovillo (a] redhat.com>
   13561 
   13562 	* testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
   13563 
   13564 2005-09-20  Diego Novillo  <dnovillo (a] redhat.com>
   13565 
   13566 	* testsuite/libgomp.dg/omp-loop01.c: New test.
   13567 	* testsuite/libgomp.dg/omp-loop02.c: New test.
   13568 
   13569 2005-09-20  Jakub Jelinek  <jakub (a] redhat.com>
   13570 
   13571 	* configure.ac (AC_PROG_FC): Add.
   13572 	(USE_FORTRAN): New automake conditional.
   13573 	* configure: Rebuilt.
   13574 	* Makefile.am (libgomp_la_SOURCES): Add fortran.c.
   13575 	(nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
   13576 	If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
   13577 	Add rules to build them.
   13578 	* Makefile.in: Rebuilt.
   13579 	* mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
   13580 	OMP_NEST_LOCK_KIND.
   13581 	* libgomp.map: Add Fortran wrappers.
   13582 	* libgomp_f.h.in: New file.
   13583 	* omp_lib.h.in: New file.
   13584 	* omp_lib.f90.in: New file.
   13585 	* fortran.c: New file.
   13586 	* testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
   13587 	Append libgfortran directory to LD_LIBRARY_PATH if it exists.
   13588 	Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
   13589 	libgfortran has been built.
   13590 	* testsuite/libgomp.fortran/fortran.exp: New file.
   13591 	* testsuite/libgomp.fortran/omp_cond1.f: New test.
   13592 	* testsuite/libgomp.fortran/omp_cond2.f: New test.
   13593 	* testsuite/libgomp.fortran/omp_cond3.F90: New test.
   13594 	* testsuite/libgomp.fortran/omp_cond4.F90: New test.
   13595 	* testsuite/libgomp.fortran/omp_hello.f: New test.
   13596 	* testsuite/libgomp.fortran/omp_orphan.f: New test.
   13597 	* testsuite/libgomp.fortran/omp_parse1.f90: New test.
   13598 	* testsuite/libgomp.fortran/omp_parse2.f90: New test.
   13599 	* testsuite/libgomp.fortran/omp_parse3.f90: New test.
   13600 	* testsuite/libgomp.fortran/omp_parse4.f90: New test.
   13601 	* testsuite/libgomp.fortran/omp_reduction.f: New test.
   13602 	* testsuite/libgomp.fortran/omp_workshare1.f: New test.
   13603 	* testsuite/libgomp.fortran/omp_workshare2.f: New test.
   13604 
   13605 2005-08-30  Richard Henderson  <rth (a] redhat.com>
   13606 
   13607 	* loop.c (GOMP_loop_static_start): Provide fallback wrapper
   13608 	function for when aliases are not usable.
   13609 	(GOMP_loop_dynamic_start, GOMP_loop_guided_start,
   13610 	GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
   13611 	GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
   13612 	GOMP_loop_dynamic_next, GOMP_loop_guided_next,
   13613 	GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
   13614 	GOMP_loop_ordered_guided_next): Likewise.
   13615 	* ordered.c (GOMP_ordered_start): Likewise.
   13616 
   13617 2005-08-01  Diego Novillo  <dnovillo (a] redhat.com>
   13618 
   13619 	* testsuite/libgomp.dg/dg.exp: Use -O2 for now.
   13620 	* testsuite/libgomp.dg/omp_hello.c: Fix return code
   13621 	* testsuite/libgomp.dg/omp_matvec.c: Likewise.
   13622 	* testsuite/libgomp.dg/omp_orphan.c: Likewise
   13623 	* testsuite/libgomp.dg/omp_reduction.c: Likewise
   13624 	* testsuite/libgomp.dg/omp_workshare1.c: Likewise
   13625 	* testsuite/libgomp.dg/omp_workshare2.c: Likewise
   13626 	* testsuite/libgomp.dg/omp_workshare3.c: Likewise
   13627 	* testsuite/libgomp.dg/omp_workshare4.c: Likewise
   13628 
   13629 2005-07-07  Eric Christopher  <echristo (a] redhat.com>
   13630 	    Diego Novillo  <dnovillo (a] redhat.com>
   13631 
   13632 	* testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
   13633 	* testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
   13634 	up code.
   13635 	* testsuite/libgomp.dg/omp_matvec.c: Ditto.
   13636 	* testsuite/libgomp.dg/omp_orphan.c: Ditto.
   13637 	* testsuite/libgomp.dg/omp_reduction.c: Ditto.
   13638 	* testsuite/libgomp.dg/omp_workshare1.c: Ditto.
   13639 	* testsuite/libgomp.dg/omp_workshare2.c: Ditto.
   13640 	* testsuite/libgomp.dg/omp_workshare3.c: Ditto.
   13641 	* testsuite/libgomp.dg/omp_workshare4.c: Ditto.
   13642 
   13643 2005-06-13  Diego Novillo  <dnovillo (a] redhat.com>
   13644 
   13645 	* TOPLEVEL.patch: Remove.
   13646 
   13647 2005-05-16  Richard Henderson  <rth (a] redhat.com>
   13648 
   13649 	* configure.ac: Test for clock_gettime.
   13650 	* config.h.in, configure: Rebuild.
   13651 	* config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
   13652 	(omp_get_wtime): Use clock_gettime if available.
   13653 	(omp_get_wtick): Use clock_getres if available.
   13654 
   13655 2005-05-11  Richard Henderson  <rth (a] redhat.com>
   13656 
   13657 	* config/linux/ia64/futex.h: New file.
   13658 	* configure.tgt: Use it.
   13659 
   13660 	* team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
   13661 
   13662 2005-05-07  Richard Henderson  <rth (a] redhat.com>
   13663 
   13664 	* config/linux/powerpc/futex.h: New file.
   13665 	* configure.tgt: Use it.
   13666 
   13667 	* config/linux/i486/futex.h: Merge ...
   13668 	* config/linux/x86_64/futex.h: ... into ...
   13669 	* config/linux/x86/futex.h: ... here.
   13670 	* configure.tgt: Update to match.
   13671 
   13672 2005-05-06  Richard Henderson  <rth (a] redhat.com>
   13673 
   13674 	* config/linux/alpha/futex.h: Conditionally define SYS_futex.
   13675 	* config/linux/i486/futex.h: Likewise.
   13676 	* config/linux/x86_64/futex.h: Likewise.
   13677 
   13678 	* config/linux/lock.c: New file.
   13679 	* config/linux/omp-lock.h: New file.
   13680 
   13681 	* critical.c, env.h: Don't include omp.h
   13682 	* config/posix/lock.c: Include libgomp.h instead of omp.h.
   13683 	* config/posix/time.c: Likewise.
   13684 	* config/posix/omp-lock.h: New file.
   13685 	* libgomp.h: Include omp-lock.h and omp.h.
   13686 	* Makefile.am (nodist_include_HEADERS): New.
   13687 	(omp.h): New rule.
   13688 	* configure.ac (PERL): New.
   13689 	* mkomp_h.pl: New file.
   13690 	* omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
   13691 	with templates.
   13692 	* Makefile.in, configure, testsuite/Makefile.in: Rebuild.
   13693 
   13694 	* testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
   13695 	build directory.  Re-add -march=i486 hack.
   13696 
   13697 	* testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
   13698 	(libgomp_link_flags): Remove.
   13699 	(libgomp_initialized): Remove.
   13700 	(libgomp_init): Don't protect from reinitialization.  Copy code
   13701 	from libstdc++ for getting the multilib set correctly.
   13702 
   13703 2005-05-05  Richard Henderson  <rth (a] redhat.com>
   13704 
   13705 	* config/linux/alpha/futex.h: New file.
   13706 	* configure.tgt (alpha*-*-linux*): Use it.
   13707 
   13708 	* config/posix/mutex.c: New file.
   13709 	* config/posix/sem.c: Use libgomp.h.
   13710 
   13711 	* configure.tgt (x86_64-linux): Also test CC for -m32.
   13712 	* config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
   13713 
   13714 	* testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
   13715 	after $gccpath.
   13716 
   13717 	* Makefile.am (SUBDIRS): New.
   13718 	(libgomp_la_LDFLAGS): Add -lpthread.
   13719 	* configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
   13720 	* Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
   13721 
   13722 	* libgomp_g.h: New file.
   13723 	* libgomp.h: Split out all public declarations to libgomp_g.h.
   13724 	Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
   13725 	* config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
   13726 	* config/linux/sem.h: Likewise.
   13727 	* config/posix/sem.h: Likewise.
   13728 
   13729 	* Makefile.am (AM_LDFLAGS): New.
   13730 	(libgomp_version_script): Split out from ...
   13731 	(libgomp_la_LDFLAGS): ... here.
   13732 	(libgomp_version_info): New.
   13733 	* acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
   13734 	(LIBGOMP_ENABLE): New.
   13735 	(LIBGOMP_CHECK_LINKER_FEATURES): New.
   13736 	(LIBGOMP_ENABLE_SYMVERS): New.
   13737 	* configure.ac (AC_INIT): Version 1.0.
   13738 	(enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
   13739 	(enable-linux-futex): Likewise.  Rename from enable-futex.
   13740 	(libtool_VERSION): New.
   13741 	(LIBGOMP_ENABLE_SYMVERS): Use it.
   13742 	* configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
   13743 	* Makefile.in, aclocal.m4, configure: Rebuild.
   13744 
   13745 	* config/linux/mutex.c: Include libgomp.h instead of mutex.h.
   13746 	(gomp_mutex_unlock_slow): Fix typo.
   13747 	* config/linux/sem.c: Similarly.
   13748 	(gomp_sem_post_slow): Fix typo.
   13749 	* config/linux/sem.h (gomp_sem_post_slow): Fix typo.
   13750 	* config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
   13751 	[__PIC__] (sys_futex0): Don't use tmp output in asm.
   13752 
   13753 	* Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
   13754 	(libgomp_la_LDFLAGS): Add top_srcdir to path.
   13755 	* acinclude.m4: Copy libtool.m4 stuff from libgfortran.
   13756 	* configure.ac: Check for getloadavg.  Substitute XCFLAGS and
   13757 	XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
   13758 	* configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
   13759 	LDFLAGS.  Pull enable_futex check to top-level.
   13760 	* libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
   13761 	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
   13762 
   13763 	First attempt at real configury.
   13764 	* Makefile, config.h: Remove file.
   13765 	* Makefile.am, Makefile.in: New file.
   13766 	* acinclude.m4 aclocal.m4: New file.
   13767 	* configure.ac, configure.tgt, configure: New file.
   13768 
   13769 	* config/posix/lock.c: Rename from sys-lock.c.
   13770 	* config/posix/mutex.h: Rename from sys-mutex.h.
   13771 	* config/posix/sem.c: Rename from sys-sem.c.
   13772 	* config/posix/sem.h: Rename from sys-sem.h.
   13773 	* config/posix/proc.c: Rename from sys-proc.c.
   13774 	* config/posix/time.c: Rename from sys-proc.c.
   13775 
   13776 	* config/linux/mutex.c: New file.
   13777 	* config/linux/mutex.h: New file.
   13778 	* config/linux/sem.c: New file.
   13779 	* config/linux/sem.h: New file.
   13780 	* config/linux/i486/futex.h: New file.
   13781 	* config/linux/x86_64/futex.h: New file.
   13782 
   13783 2005-05-04  Richard Henderson  <rth (a] redhat.com>
   13784 
   13785 	* iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
   13786 	* libgomp.h: Declare them.
   13787 	* loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
   13788 	gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
   13789 
   13790 2005-05-04  Richard Henderson  <rth (a] redhat.com>
   13791 
   13792 	* libgomp-1 code drop
   13793 
   13794 2005-05-04  Richard Henderson  <rth (a] redhat.com>
   13795 
   13796 	* iter.c (gomp_iter_static_next): Return tri-state on 0.
   13797 	* ordered.c (gomp_ordered_static_next): Remove not_last argument.
   13798 	* libgomp.h (struct gomp_team_state): Make static_trip unsigned.
   13799 	(gomp_iter_static_next): Update.
   13800 	(gomp_ordered_static_next): Update.
   13801 	* loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
   13802 	(gomp_loop_ordered_static_start): Likewise.  Exit early for a
   13803 	totally empty range.
   13804 	(gomp_loop_ordered_static_next): Refine test for calling
   13805 	gomp_ordered_static_next.
   13806 	* testsuite/ordered-1.c: Add case for more threads than iterations.
   13807 
   13808 	* iter.c (gomp_iter_runtime_next_locked): Remove.
   13809 	* loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
   13810 	gomp_loop_guided_start, gomp_loop_ordered_static_start,
   13811 	gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
   13812 	gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
   13813 	gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
   13814 	gomp_loop_ordered_guided_next): Downcase name, make static, add
   13815 	an external alias with the old name.
   13816 	(GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
   13817 	GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
   13818 	switch and call one of the above static functions.
   13819 	* libgomp.h: Update.
   13820 
   13821 	* work.c (gomp_work_share_start): Lock the mutex for !first too.
   13822 	* loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
   13823 	GOMP_loop_guided_start, GOMP_loop_runtime_start,
   13824 	GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
   13825 	GOMP_loop_ordered_guided_start): Update to match.
   13826 	* sections.c (GOMP_sections_start): Likewise.
   13827 	* single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
   13828 
   13829 	* ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
   13830 	gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
   13831 	Use bounds check instead of modulus.
   13832 	(gomp_ordered_sync): Split out of GOMP_ordered_start.
   13833 	(gomp_ordered_last): Don't sync with ordered_owner here.
   13834 	(gomp_ordered_next): Likewise.
   13835 	(gomp_ordered_static_loop_next): Likewise.
   13836 	* loop.c, libgomp.h: Update to match.
   13837 
   13838 	* libgomp.h (GOMP_barrier): Declare.
   13839 
   13840 	* testsuite/barrier-1.c: New file.
   13841 	* testsuite/critical-1.c: New file.
   13842 	* testsuite/ordered-2.c: New file.
   13843 	* testsuite/ordered-1.c: New file.
   13844 	* testsuite/sections-1.c: New file.
   13845 	* testsuite/single-1.c: New file.
   13846 	* testsuite/Makefile (TESTS): Add them.
   13847 
   13848 2005-05-04  Richard Henderson  <rth (a] redhat.com>
   13849 
   13850 	* libgomp.h (struct gomp_work_share): Add ordered_owner.
   13851 	* loop.c (GOMP_loop_static_start): If not the startup thread,
   13852 	acquire the mutex to wait for initialization complete.
   13853 	(GOMP_loop_ordered_static_start): Likewise.
   13854 	(GOMP_loop_ordered_runtime_start): Likewise.
   13855 	(GOMP_loop_ordered_static_first): Remove.
   13856 	(GOMP_loop_ordered_dynamic_first): Remove.
   13857 	(GOMP_loop_ordered_guided_first): Remove.
   13858 	(GOMP_loop_ordered_runtime_first): Remove.
   13859 	* ordered.c (gomp_ordered_loop_first): Post to own release when
   13860 	we're the first thread.
   13861 	(gomp_ordered_loop_last): Wait on release if not owner.
   13862 	(gomp_ordered_loop_next): Likewise.
   13863 	(gomp_ordered_static_loop_init): New.
   13864 	(gomp_ordered_static_loop_next): Use ordered_owner.
   13865 	(GOMP_ordered_start): Likewise.
   13866 	* work.c (gomp_new_work_share): Initialize ordered_owner.
   13867 
   13868 2005-05-03  Richard Henderson  <rth (a] redhat.com>
   13869 
   13870 	* Makefile (OPT): New.
   13871 	(CFLAGS): Use it.
   13872 
   13873 	* loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
   13874 	* sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
   13875 	* libgomp.h, libgomp.map, NOTES: Update to match.
   13876 
   13877 	* team.c (struct gomp_thread_start_data): Remove ts, fn, data.
   13878 	Add initialized and thr members.
   13879 	(gomp_thread_start): Pause when initially spawned to wait for
   13880 	the whole team to be created.
   13881 	(gomp_team_start): Release team members at the end.
   13882 
   13883 	* testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
   13884 	(f_foo_1): Use GOMP_loop_end.
   13885 	(f_foo_2): Use GOMP_loop_end_nowait.
   13886 
   13887 	* testsuite/loop-2.c: New file.
   13888 	* testsuite/Makefile (TESTS): Add it.
   13889 
   13890 2005-05-03  Richard Henderson  <rth (a] redhat.com>
   13891 
   13892 	* iter.c (gomp_iter_static_next): Fix overflow check typo.
   13893 	(gomp_iter_dynamic_next_locked): Fix overflow check thinko.
   13894 	* team.c (new_team): Initialize oldest_live_gen to 1 if no
   13895 	initial work_share.
   13896 
   13897 	* testsuite/Makefile: New file.
   13898 	* testsuite/loop-1.c: New file.
   13899 
   13900 2005-05-03  Richard Henderson  <rth (a] redhat.com>
   13901 
   13902 	Initial implementation and checkin.
   13903 
   13905 Copyright (C) 2005-2020 Free Software Foundation, Inc.
   13906 
   13907 Copying and distribution of this file, with or without modification,
   13908 are permitted in any medium without royalty provided the copyright
   13909 notice and this notice are preserved.
   13910