public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [og10] Fix routine-nohost-1.c testcase
@ 2020-07-22 14:39 Kwok Cheung Yeung
  0 siblings, 0 replies; only message in thread
From: Kwok Cheung Yeung @ 2020-07-22 14:39 UTC (permalink / raw)
  To: GCC Patches, Thomas Schwinge; +Cc: Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

The test c-c++-common/goacc/routine-nohost-1.c currently fails because it fails 
to find some tree dump output. The problem is that the relevant tree pass is now 
oaccloops rather than oaccdevlow.

This patch corrects the requested tree dump. I will be committing this one in 
OG10 as 'obvious'.

Kwok

[-- Attachment #2: 0004-Fix-failure-in-testcase-c-c-common-goacc-routine-noh.patch --]
[-- Type: text/plain, Size: 1352 bytes --]

From f921b0988c41ba086e968faf08e93f7a230e55a1 Mon Sep 17 00:00:00 2001
From: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Fri, 19 Jun 2020 09:34:27 -0700
Subject: [PATCH 4/6] Fix failure in testcase
 c-c++-common/goacc/routine-nohost-1.c

2020-07-21  Kwok Cheung Yeung  <kcy@codesourcery.com>

	gcc/testsuite/
	* c-c++-common/goacc/routine-nohost-1.c: Change tree dump pass to
	oaccloops.
---
 gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 9baa56c..ebeaadb 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.8.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-22 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 14:39 [PATCH] [og10] Fix routine-nohost-1.c testcase Kwok Cheung Yeung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).