re PR translation/90011 (trailing space in diagnostic)
authorJakub Jelinek <jakub@redhat.com>
Tue, 9 Apr 2019 13:19:16 +0000 (15:19 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 9 Apr 2019 13:19:16 +0000 (15:19 +0200)
PR translation/90011
* typeck2.c (check_narrowing): Remove trailing space from diagnostics.

From-SVN: r270229

gcc/cp/ChangeLog
gcc/cp/typeck2.c

index 9df42489a4e87b9f6451ff6edfc459b0e7644795..9fc4490dc2f94b4bf4fa164bc926aa24167b3c8b 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR translation/90011
+       * typeck2.c (check_narrowing): Remove trailing space from diagnostics.
+
 2019-04-08  Marek Polacek  <polacek@redhat.com>
 
        * typeck2.c (digest_init_r): Don't condition the object slicing warning
index 55b84f043f467af787b1f2063b095313e470e7c4..df002a1664c76d8a2913bdb170efb6e1d4fc7156 100644 (file)
@@ -1019,7 +1019,7 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain, bool const_only)
          int savederrorcount = errorcount;
          global_dc->pedantic_errors = 1;
          pedwarn (loc, OPT_Wnarrowing,
-                  "narrowing conversion of %qE from %qH to %qI ",
+                  "narrowing conversion of %qE from %qH to %qI",
                   init, ftype, type);
          if (errorcount == savederrorcount)
            ok = true;