+2019-05-16 Julian Brown <julian@codesourcery.com>
+
+ * target.c (gomp_map_vars_async): Initialise KEY and OFFSET fields in
+ not-present case.
+
2019-01-09 Julian Brown <julian@codesourcery.com>
* libgomp.texi: Update mentions of OpenACC version to 2.6. Update
if (n == NULL)
{
if (pragma_kind == GOMP_MAP_VARS_OPENACC_IF_PRESENT)
- /* No error, continue using the host address. */
- continue;
+ {
+ /* No error, continue using the host address. */
+ tgt->list[i].key = NULL;
+ tgt->list[i].offset = OFFSET_INLINED;
+ continue;
+ }
gomp_mutex_unlock (&devicep->lock);
gomp_fatal ("use_device_ptr pointer wasn't mapped");
}