The firstprivate_int optimization changes the semantics of firstprivate
in this test, so XFAIL it until the correct semantics for firstprivate
have been decided (PR92036).
2020-03-24 Kwok Cheung Yeung <kcy@codesourcery.com>
libgomp/
* testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: XFAIL
execution test.
+2020-03-24 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: XFAIL
+ execution test.
+
2020-03-16 Kwok Cheung Yeung <kcy@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c (main): Add
/* Test behavior of 'firstprivate' lexically vs. dynamically nested inside a
'data' region. */
+/* The firstprivate_int optimization changes the semantics of firstprivate
+ in dynamically_nested_compute_2 to copy-by-value when not using shared
+ memory, leading to the behaviour suggested in PR92036 for this case. */
+
+/* { dg-xfail-run-if "firstprivate_int" { *-*-* } { "-DACC_MEM_SHARED=0" } } */
+
#include <stdlib.h>