OSDN Git Service

2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 14:26:18 +0000 (14:26 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 14:26:18 +0000 (14:26 +0000)
        PR other/22264
        * diagnostic.c (diagnostic_report_current_module): Use pp_newline to
        print out the last new line.

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

gcc/ChangeLog
gcc/diagnostic.c

index 31e7407..37b484d 100644 (file)
@@ -1,3 +1,9 @@
+2005-07-01  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR other/22264
+       * diagnostic.c (diagnostic_report_current_module): Use pp_newline to
+       print out the last new line.
+
 2005-07-01  Hans-Peter Nilsson  <hp@axis.se>
 
        * config/cris/cris.md (CRIS_CC0_REGNUM): New constant.
index ef4b07f..c416010 100644 (file)
@@ -291,8 +291,9 @@ diagnostic_report_current_module (diagnostic_context *context)
                       ",\n                 from %s:%d",
                       xloc.file, xloc.line);
        }
-      pp_verbatim (context->printer, ":\n");
+      pp_verbatim (context->printer, ":");
       diagnostic_set_last_module (context);
+      pp_newline (context->printer);
     }
 }