From: Kwok Cheung Yeung Date: Tue, 24 Mar 2020 16:36:42 +0000 (-0700) Subject: Add XFAIL for libgomp.oacc-c-c++-common/data-firstprivate-1.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6cdb8ccebe5ade91061439f0b9a7830d483eecd;p=thirdparty%2Fgcc.git Add XFAIL for libgomp.oacc-c-c++-common/data-firstprivate-1.c 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 libgomp/ * testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: XFAIL execution test. --- diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index dc2e88937564..53943208c91a 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,8 @@ +2020-03-24 Kwok Cheung Yeung + + * testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: XFAIL + execution test. + 2019-09-17 Julian Brown Kwok Cheung Yeung diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c index 8900a4e070da..4b88c53fac76 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c @@ -1,6 +1,12 @@ /* 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