public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libgomp: Add tailing \n to gomp_debug
@ 2022-07-12  9:18 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2022-07-12  9:18 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

A recently added gomp_debug (for 'requires') missed a tailing '\n'. I
missed to add it, when changing gomp_warning (which always outputs an
'\n') to gomp_debug.

Committed as r13-1613-g220bef460153a0296e947f16492d35e67b1b5b22

Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: committed.diff --]
[-- Type: text/x-patch, Size: 912 bytes --]

commit 220bef460153a0296e947f16492d35e67b1b5b22
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Jul 12 11:10:50 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.
---
 libgomp/target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgomp/target.c b/libgomp/target.c
index 86f9d3050d9..135db1d88ab 100644
--- a/libgomp/target.c
+++ b/libgomp/target.c
@@ -4212,7 +4212,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-12  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12  9:18 [committed] 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).