OSDN Git Service

PR middle-end/48071
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2012 20:46:06 +0000 (20:46 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2012 20:46:06 +0000 (20:46 +0000)
* diagnostic.c (diagnostic_finish): Remove trailing newlines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183847 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/diagnostic.c

index 2054898..42df067 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/48071
+       * diagnostic.c (diagnostic_finish): Remove trailing newlines.
+
 2012-02-02  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/49800
 2012-02-02  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/49800
index a8c0e66..a68d6ce 100644 (file)
@@ -1,6 +1,6 @@
 /* Language-independent diagnostic subroutines for the GNU Compiler Collection
    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
 /* Language-independent diagnostic subroutines for the GNU Compiler Collection
    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-   2009, 2010 Free Software Foundation, Inc.
+   2009, 2010, 2011, 2012 Free Software Foundation, Inc.
    Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
 
 This file is part of GCC.
    Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
 
 This file is part of GCC.
@@ -133,12 +133,12 @@ diagnostic_finish (diagnostic_context *context)
       /* -Werror was given.  */
       if (context->warning_as_error_requested)
        pp_verbatim (context->printer,
       /* -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,
                     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);
     }
                     progname);
       pp_flush (context->printer);
     }