]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR middle-end/48071 (Blank line after 'all warnings being treated as...
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Feb 2012 17:26:29 +0000 (18:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Feb 2012 17:26:29 +0000 (18:26 +0100)
Backported from mainline
2012-02-02  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines.

From-SVN: r184058

gcc/ChangeLog
gcc/diagnostic.c

index a60ceb3456c97d9f9682a0f3c815b958ea4637e5..42ce5e4ca1613bc89c46258d5af1a8abdb8886da 100644 (file)
@@ -1,6 +1,11 @@
 2012-02-09  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
+       2012-02-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/48071
+       * diagnostic.c (diagnostic_finish): Remove trailing newlines.
+
        2012-01-28  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/52006
index d297cdda0ca857c2de8ae49ac56a35a169099b4c..35e7fb9946c6ef69a4f79ec4b1ef6121118eda17 100644 (file)
@@ -133,12 +133,12 @@ diagnostic_finish (diagnostic_context *context)
       /* -Werror was given.  */
       if (context->warning_as_error_requested)
        pp_verbatim (context->printer,
-                    _("%s: all warnings being treated as errors\n"),
+                    _("%s: all warnings being treated as errors"),
                     progname);
       /* At least one -Werror= was given.  */
       else
        pp_verbatim (context->printer,
-                    _("%s: some warnings being treated as errors\n"),
+                    _("%s: some warnings being treated as errors"),
                     progname);
       pp_flush (context->printer);
     }