[Bug other/22264] [4.1 Regression] cris-axis-elf, mmix-knuth-mmixware, powerpc-darwin broken
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 1 01:56:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 01:56 -------
The following patch should fix this but I don't have time to test it fully as I still have to fix another
bootstrap problem on powerpc-darwin:
Index: diagnostic.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/diagnostic.c,v
retrieving revision 1.154
diff -u -p -r1.154 diagnostic.c
--- diagnostic.c 30 Jun 2005 23:08:44 -0000 1.154
+++ diagnostic.c 1 Jul 2005 01:53:44 -0000
@@ -291,8 +291,9 @@ diagnostic_report_current_module (diagno
",\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);
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22264
More information about the Gcc-bugs
mailing list