aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/diagnostic.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 31e7407..37b484d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index ef4b07f..c416010 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -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);
}
}