re PR other/22264 (bootstrap broken)
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 1 Jul 2005 14:26:18 +0000 (14:26 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 1 Jul 2005 14:26:18 +0000 (07:26 -0700)
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.

From-SVN: r101504

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);
     }
 }