public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] libgomp: Add tailing \n to gomp_debug
@ 2022-07-28 13:29 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2022-07-28 13:29 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:89dd8390cdf18b02317b18edd4419b7b321b7040

commit 89dd8390cdf18b02317b18edd4419b7b321b7040
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Jul 13 11:06:28 2022 +0200

    libgomp: Add tailing \n to gomp_debug
    
    Contrary to gomp_{error,warning,fatal}, no tailing '\n' is added with
    gomp_debug; only affected was a 'requires'-related output.
    
    libgomp/ChangeLog:
    
            * target.c (gomp_target_init): Added tailing '\n' to gomp_debug.
    
    (cherry picked from commit 220bef460153a0296e947f16492d35e67b1b5b22)

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

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index fcd91098974..ef977cab3d3 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,10 @@
+2022-07-13  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backport from mainline:
+	2022-07-12  Tobias Burnus  <tobias@codesourcery.com>
+
+	* target.c (gomp_target_init): Added tailing '\n' to gomp_debug.
+
 2022-07-08  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backport from mainline:
diff --git a/libgomp/target.c b/libgomp/target.c
index 436547b97e7..997b2aa2f80 100644
--- a/libgomp/target.c
+++ b/libgomp/target.c
@@ -4498,7 +4498,7 @@ gomp_target_init (void)
 		    name[cur_len] = '\0';
 		    gomp_debug (1,
 				"%s devices present but 'omp requires %s' "
-			        "cannot be fulfilled", name, buf);
+				"cannot be fulfilled\n", name, buf);
 		    free (name);
 		  }
 	      }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-28 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 13:29 [gcc/devel/omp/gcc-12] libgomp: Add tailing \n to gomp_debug Tobias Burnus

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).