From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 73E433856DFF; Thu, 28 Jul 2022 13:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73E433856DFF Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] libgomp: Add tailing \n to gomp_debug X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/devel/omp/gcc-12 X-Git-Oldrev: 55722a87dd223149dcd41ca9c8eba16ad5b3eddc X-Git-Newrev: 89dd8390cdf18b02317b18edd4419b7b321b7040 Message-Id: <20220728132937.73E433856DFF@sourceware.org> Date: Thu, 28 Jul 2022 13:29:37 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2022 13:29:37 -0000 https://gcc.gnu.org/g:89dd8390cdf18b02317b18edd4419b7b321b7040 commit 89dd8390cdf18b02317b18edd4419b7b321b7040 Author: Tobias Burnus 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 + + Backport from mainline: + 2022-07-12 Tobias Burnus + + * target.c (gomp_target_init): Added tailing '\n' to gomp_debug. + 2022-07-08 Tobias Burnus 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); } }