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]

Fix LTO gcc.c diagnostics


One issue I noted in my review of the LTO driver patches was diagnostics 
that failed to follow the GNU Coding Standards in that they included a 
trailing ".".  I've now applied this patch as obvious to fix those 
diagnostics.

Index: gcc.c
===================================================================
--- gcc.c	(revision 152577)
+++ gcc.c	(working copy)
@@ -7529,12 +7529,12 @@
 						 "liblto_plugin.so", X_OK,
 						 false);
 	  if (!linker_plugin_file_spec)
-	    fatal ("-use-linker-plugin, but liblto_plugin.so not found.");
+	    fatal ("-use-linker-plugin, but liblto_plugin.so not found");
 
 	  lto_libgcc_spec = find_a_file (&startfile_prefixes, "libgcc.a",
 					 R_OK, true);
 	  if (!lto_libgcc_spec)
-	    fatal ("could not find libgcc.a.");
+	    fatal ("could not find libgcc.a");
 	}
       lto_gcc_spec = argv[0];
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 152577)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2009-10-08  Joseph Myers  <joseph@codesourcery.com>
+
+	* gcc.c (main): Remove trailing "." from diagnostics.
+
 2009-10-08  Cary Coutant  <ccoutant@google.com>
 
 	Add support for debugging with ICF (Identical Code Folding).

-- 
Joseph S. Myers
joseph@codesourcery.com


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