c-common.c (parse_optimize_options): Remove period at end of warning message.

* c-common.c (parse_optimize_options): Remove period at end of
	warning message.

From-SVN: r164317
This commit is contained in:
Ian Lance Taylor 2010-09-15 21:00:18 +00:00 committed by Ian Lance Taylor
parent 619b56bce2
commit 06730c5d14
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
2010-09-15 Ian Lance Taylor <iant@google.com>
* c-common.c (parse_optimize_options): Do not capitalize warning
messages.
messages. Remove period at end of warning message.
2010-09-09 Nathan Sidwell <nathan@codesourcery.com>

View File

@ -7730,7 +7730,7 @@ parse_optimize_options (tree args, bool attr_p)
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);