This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: tree-cfg.c error message formatting
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Nov 2004 11:05:13 +0100 (CET)
- Subject: PATCH: tree-cfg.c error message formatting
I tested the following by seeing GCC ICE before and after this change and
visually compare the output and dozens of bootstraps on i686-pc-linux-gnu.
Okay?
Gerald
2004-11-25 Gerald Pfeifer <gerald@pfeifer.com>
* tree-cfg.c (tree_verify_flow_info): Do not terminate error()
message with \n.
Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.120
diff -u -p -r2.120 tree-cfg.c
--- tree-cfg.c 23 Nov 2004 22:38:07 -0000 2.120
+++ tree-cfg.c 25 Nov 2004 10:02:57 -0000
@@ -3816,7 +3816,7 @@ tree_verify_flow_info (void)
if (label_bb->aux != (void *)2)
{
- error ("Missing edge %i->%i\n",
+ error ("Missing edge %i->%i",
bb->index, label_bb->index);
err = 1;
}