[gcc(refs/vendors/redhat/heads/gcc-10-branch)] libgomp/testsuite: ignore blank-line output for function-not-offloaded.c

Jakub Jelinek jakub@gcc.gnu.org
Wed Mar 25 10:05:55 GMT 2020


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

commit bb83e069ebadf0a724298f80a65b1775eff9cfab
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Mar 19 11:42:49 2020 +0100

    libgomp/testsuite: ignore blank-line output for function-not-offloaded.c
    
            * testsuite/libgomp.c-c++-common/function-not-offloaded.c: Add
            dg-allow-blank-lines-in-output.

Diff:
---
 libgomp/ChangeLog                                               | 5 +++++
 libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 9a1065fef4e..4d3a4f32ece 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-19  Tobias Burnus  <tobias@codesourcery.com>
+
+	* testsuite/libgomp.c-c++-common/function-not-offloaded.c: Add
+	dg-allow-blank-lines-in-output.
+
 2020-03-18  Julian Brown <julian@codesourcery.com>
 	    Tobias Burnus  <tobias@codesourcery.com>
 
diff --git a/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c b/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c
index 9e59ef8864e..f01a64e72c0 100644
--- a/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c
+++ b/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded.c
@@ -1,5 +1,6 @@
 /* { dg-do link } */
 /* { dg-excess-errors "unresolved symbol foo, lto1, mkoffload and lto-wrapper fatal errors" { target offload_device_nonshared_as } } */
+/* { dg-allow-blank-lines-in-output 1 } */
 /* { dg-additional-sources "function-not-offloaded-aux.c" } */
 
 #pragma omp declare target


More information about the Gcc-cvs mailing list