public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-11] gomp/pr94874.c: Update scan-tree-dump
Date: Thu, 13 May 2021 16:18:20 +0000 (GMT)	[thread overview]
Message-ID: <20210513161820.674CE3AA7C9B@sourceware.org> (raw)

https://gcc.gnu.org/g:8a287a0465a9a1c6c8678f9ceed5de44bb8e1bd3

commit 8a287a0465a9a1c6c8678f9ceed5de44bb8e1bd3
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Mon Sep 28 19:57:20 2020 +0200

    gomp/pr94874.c: Update scan-tree-dump
    
    g++ on OG10 adds an additional temporary compared to mainline.
    
            * c-c++-common/gomp/pr94874.c: Update scan-tree-dump.

Diff:
---
 gcc/testsuite/ChangeLog.omp               | 4 ++++
 gcc/testsuite/c-c++-common/gomp/pr94874.c | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index ac2bd2df8bb..08634182377 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,7 @@
+2020-09-28  Tobias Burnus  <tobias@codesourcery.com>
+
+	* c-c++-common/gomp/pr94874.c: Update scan-tree-dump.
+
 2020-08-30  Sandra Loosemore  <sandra@codesourcery.com>
 
 	* c-c++-common/goacc/kernels-loop-annotation-21.c: New.
diff --git a/gcc/testsuite/c-c++-common/gomp/pr94874.c b/gcc/testsuite/c-c++-common/gomp/pr94874.c
index 9c67f83a5da..1fed201b8b8 100644
--- a/gcc/testsuite/c-c++-common/gomp/pr94874.c
+++ b/gcc/testsuite/c-c++-common/gomp/pr94874.c
@@ -18,8 +18,9 @@ vla (int array_li)
   return size1 + size2;
 }
 
-/* { dg-final { scan-tree-dump "omp parallel .*shared\\(array_li\.\[0-9\]\\)" "gimple" } } */
 /* C */
+/* { dg-final { scan-tree-dump "omp parallel .*shared\\(array_li\.\[0-9\]\\)" "gimple" { target { ! c++ } } } } */
 /* { dg-final { scan-tree-dump "omp target .*private\\(array_li\.\[0-9\]\\)" "gimple" { target { ! c++ } } } } */
 /* C++ */
-/* { dg-final { scan-tree-dump "omp target .*firstprivate\\(array_li\.\[0-9\]\\)" "gimple" { target { c++ } } } } */
+/* { dg-final { scan-tree-dump "omp parallel .*shared\\(D\.\[0-9\]+\\)" "gimple" { target { c++ } } } } */
+/* { dg-final { scan-tree-dump "omp target .*firstprivate\\(D\.\[0-9\]+\\)" "gimple" { target { c++ } } } } */


                 reply	other threads:[~2021-05-13 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210513161820.674CE3AA7C9B@sourceware.org \
    --to=kcy@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).