]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgomp: Add tailing \n to gomp_debug
authorTobias Burnus <tobias@codesourcery.com>
Wed, 13 Jul 2022 09:06:28 +0000 (11:06 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 13 Jul 2022 09:06:28 +0000 (11:06 +0200)
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)

libgomp/ChangeLog.omp
libgomp/target.c

index fcd9109897470a5dd10c0f4ea707c8b2a908db10..ef977cab3d38443cb4b884bf479aeeaa7eaa7256 100644 (file)
@@ -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:
index 436547b97e740652ba6bf7e3fdce044576354022..997b2aa2f800d0d4e06de20582b28e5580ef3f90 100644 (file)
@@ -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);
                  }
              }