aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2005-07-01 14:26:18 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-07-01 07:26:18 -0700
commitc50367a23cc541ed6d68388a1f5654ec46ece75b (patch)
treec4bd78499a2708285f4e4827847120075d89e3bc
parent948884cd854b5f894f74db3fb45353b2d8d0a47c (diff)
downloadgcc-c50367a23cc541ed6d68388a1f5654ec46ece75b.zip
gcc-c50367a23cc541ed6d68388a1f5654ec46ece75b.tar.gz
gcc-c50367a23cc541ed6d68388a1f5654ec46ece75b.tar.bz2
re PR other/22264 (bootstrap broken)
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
-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);
}
}