]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gomp/pr94874.c: Update scan-tree-dump
authorTobias Burnus <tobias@codesourcery.com>
Mon, 28 Sep 2020 17:57:20 +0000 (19:57 +0200)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 22 Apr 2021 17:14:30 +0000 (10:14 -0700)
g++ on OG10 adds an additional temporary compared to mainline.

* c-c++-common/gomp/pr94874.c: Update scan-tree-dump.

gcc/testsuite/ChangeLog.omp
gcc/testsuite/c-c++-common/gomp/pr94874.c

index ac2bd2df8bb3abe027611201207d9967a6563fcb..08634182377b8af36a70c32f8ee2830af440f72f 100644 (file)
@@ -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.
index 9c67f83a5dad20962fc414f3c8667fd55701c532..1fed201b8b80f832b539e934158b62cbc254a034 100644 (file)
@@ -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++ } } } } */