[gcc/devel/omp/gcc-13] Fix DejaGnu directive syntax error in 'libgomp.c/target-51.c'

Tobias Burnus burnus@gcc.gnu.org
Mon Jun 19 15:18:53 GMT 2023


https://gcc.gnu.org/g:4cb019e6403d259a41bbe8a95f54073b0e630e69

commit 4cb019e6403d259a41bbe8a95f54073b0e630e69
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Mon Jun 19 17:18:25 2023 +0200

    Fix DejaGnu directive syntax error in 'libgomp.c/target-51.c'
    
        ERROR: libgomp.c/target-51.c: unknown dg option: \} for "}"
    
    Fix-up for recent commit 01fe115ba7eafebcf97bbac9e157038a003d0c85
    "libgomp.c/target-51.c: Accept more error-msg variants in dg-output".
    
            libgomp/
            * testsuite/libgomp.c/target-51.c: Fix DejaGnu directive syntax
            error.
    
    (cherry picked from commit de2d3b69eefde005759279d6739d9a0dbd2a05cc)

Diff:
---
 libgomp/ChangeLog.omp                   | 8 ++++++++
 libgomp/testsuite/libgomp.c/target-51.c | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index f9f821bd172..5eb770b6ed7 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,11 @@
+2023-06-19  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backported from mainline:
+	2023-06-19  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* testsuite/libgomp.c/target-51.c: Fix DejaGnu directive syntax
+	error.
+
 2023-06-19  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backported from mainline:
diff --git a/libgomp/testsuite/libgomp.c/target-51.c b/libgomp/testsuite/libgomp.c/target-51.c
index db0363bfc14..7ff8122861f 100644
--- a/libgomp/testsuite/libgomp.c/target-51.c
+++ b/libgomp/testsuite/libgomp.c/target-51.c
@@ -9,7 +9,7 @@
 
 /* See comment in target-50.c/target-50.c for why the output differs.  */
 
-/* { dg-output ".*libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but .*" } } */
+/* { dg-output ".*libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but .*" } */
 
 int
 main ()


More information about the Gcc-cvs mailing list