[gcc/devel/omp/gcc-14] OpenMP: Fix broken testcase

Paul-Antoine Arras parras@gcc.gnu.org
Fri Jun 28 09:56:46 GMT 2024


https://gcc.gnu.org/g:d84306a223a6ff6757ac9570af157b8caa13c382

commit d84306a223a6ff6757ac9570af157b8caa13c382
Author: Sandra Loosemore <sloosemore@baylibre.com>
Date:   Fri May 10 02:24:56 2024 +0000

    OpenMP: Fix broken testcase
    
    gcc/testsuite/ChangeLog
            * c-c++-common/gomp/declare-variant-13.c: Use optimized
            dump file instead of ompdevlow.

Diff:
---
 gcc/testsuite/ChangeLog.omp                          | 5 +++++
 gcc/testsuite/c-c++-common/gomp/declare-variant-13.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 5d1528e4ba8..cc947651296 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,8 @@
+2024-05-10  Sandra Loosemore  <sloosemore@baylibre.com>
+
+	* c-c++-common/gomp/declare-variant-13.c: Use optimized
+	dump file instead of ompdevlow.
+
 2024-05-04  Sandra Loosemore  <sloosemore@baylibre.com>
 
 	* c-c++-common/gomp/declare-target-indirect-2.c : Adjust
diff --git a/gcc/testsuite/c-c++-common/gomp/declare-variant-13.c b/gcc/testsuite/c-c++-common/gomp/declare-variant-13.c
index 7d386ecea5c..522ae4059ad 100644
--- a/gcc/testsuite/c-c++-common/gomp/declare-variant-13.c
+++ b/gcc/testsuite/c-c++-common/gomp/declare-variant-13.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target vect_simd_clones } } */
-/* { dg-additional-options "-fdump-tree-ompdevlow" } */
+/* { dg-additional-options "-fdump-tree-optimized" } */
 /* { dg-additional-options "-mno-sse3" { target { i?86-*-* x86_64-*-* } } } */
 
 int f01 (int);
@@ -21,6 +21,6 @@ test1 (int x)
      not, that also depends on whether it is a declare simd clone or not and which
      one, but the f03 variant has a higher score anyway.  */
   return f05 (x);
-  /* { dg-final { scan-tree-dump "f03 \\\(x" "ompdevlow" } } */
-  /* { dg-final { scan-tree-dump-not "f05 \\\(x" "ompdevlow" } } */
+  /* { dg-final { scan-tree-dump "f03 \\\(x" "optimized" } } */
+  /* { dg-final { scan-tree-dump-not "f05 \\\(x" "optimized" } } */
 }


More information about the Gcc-cvs mailing list