From 43493c97a6e8ee3b1e52e3983ac255722cdcfdd4 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 7 Jan 2019 08:09:49 +0000 Subject: [PATCH] [nvptx] Fix libgomp.oacc-c-c++-common/vector-length-128-3.c The vector-length-128-3.c test-case uses GOMP_OPENACC_DIM=-:-:128, but '-' is not yet supported on trunk. Use GOMP_OPENACC_DIM=::128 instead. 2019-01-07 Tom de Vries * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix GOMP_OPENACC_DIM argument. From-SVN: r267624 --- libgomp/ChangeLog | 5 +++++ .../libgomp.oacc-c-c++-common/vector-length-128-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 021d01b7ff0..120f0874b27 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2019-01-07 Tom de Vries + + * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix + GOMP_OPENACC_DIM argument. + 2019-01-03 Tom de Vries * testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: New test. diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c index c403e74658b..59be37a7c27 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c @@ -2,7 +2,7 @@ /* { dg-additional-options "-foffload=-fdump-tree-oaccdevlow" } */ /* We default to warp size 32 for the vector length, so the GOMP_OPENACC_DIM has no effect. */ -/* { dg-set-target-env-var "GOMP_OPENACC_DIM" "-:-:128" } */ +/* { dg-set-target-env-var "GOMP_OPENACC_DIM" "::128" } */ /* { dg-set-target-env-var "GOMP_DEBUG" "1" } */ -- 2.30.2