This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Add newline after GTY diagnostics


Noticed while merging trunk into lto and getting lots of GTY
messages due to the recent syntax change.

Tested on x86_64.  Committed to mainline.


Diego.


	* gengtype-parse.c (parse_error): Add newline after message.

Index: gengtype-parse.c
===================================================================
--- gengtype-parse.c	(revision 146720)
+++ gengtype-parse.c	(working copy)
@@ -141,6 +141,8 @@ parse_error (const char *msg, ...)
   vfprintf (stderr, msg, ap);
   va_end (ap);
 
+  fputc ('\n', stderr);
+
   hit_error = true;
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]