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]

Re: Patch committed: Do not capitalize warning messages


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> On Wed, 15 Sep 2010, Ian Lance Taylor wrote:
>
>> -			     "Bad option %s to optimize attribute.", p);
>> +			     "bad option %s to optimize attribute.", p);
>
> There's still an inappropriate trailing "." here....

Oh yeah.  Fixed like so.  Bootstrapped and tested on
x86_64-unknown-linux-gnu.  Committed as obvious.

Ian


Index: c-family/c-common.c
===================================================================
--- c-family/c-common.c	(revision 164316)
+++ c-family/c-common.c	(working copy)
@@ -7730,7 +7730,7 @@ parse_optimize_options (tree args, bool 
 		  ret = false;
 		  if (attr_p)
 		    warning (OPT_Wattributes,
-			     "bad option %s to optimize attribute.", p);
+			     "bad option %s to optimize attribute", p);
 		  else
 		    warning (OPT_Wpragmas,
 			     "bad option %s to pragma attribute", p);

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