From 5b788bed587fd9d44335beec39393aed4fc8e274 Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Wed, 22 Jul 2020 09:44:45 -0700 Subject: [PATCH] Fix failure in testcase c-c++-common/goacc/routine-nohost-1.c 2020-07-22 Kwok Cheung Yeung gcc/testsuite/ * c-c++-common/goacc/routine-nohost-1.c: Change tree dump pass to oaccloops. --- gcc/testsuite/ChangeLog.omp | 6 ++++++ gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 13969f5388b9..c26f2f699e52 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,9 @@ +2020-07-22 Kwok Cheung Yeung + + gcc/testsuite/ + * c-c++-common/goacc/routine-nohost-1.c: Change tree dump pass to + oaccloops. + 2020-07-14 Tobias Burnus Backport from mainline diff --git a/gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c b/gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c index 9baa56cb2060..ebeaadb0b811 100644 --- a/gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c +++ b/gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c @@ -1,7 +1,7 @@ /* Test the nohost clause for OpenACC routine directive. Exercising different variants for declaring routines. */ -/* { dg-additional-options "-fdump-tree-oaccdevlow" } */ +/* { dg-additional-options "-fdump-tree-oaccloops" } */ #pragma acc routine nohost int THREE(void) @@ -25,4 +25,4 @@ float ADD(float x, float y) return x + y; } -/* { dg-final { scan-tree-dump-times "Discarding function" 3 "oaccdevlow" } } */ +/* { dg-final { scan-tree-dump-times "Discarding function" 3 "oaccloops" } } */ -- 2.47.2