]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-common.c (parse_optimize_options): Remove period at end of warning message.
authorIan Lance Taylor <iant@google.com>
Wed, 15 Sep 2010 21:00:18 +0000 (21:00 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 15 Sep 2010 21:00:18 +0000 (21:00 +0000)
* c-common.c (parse_optimize_options): Remove period at end of
warning message.

From-SVN: r164317

gcc/c-family/ChangeLog
gcc/c-family/c-common.c

index 804a93a8520b82ec2ecfc7c19be3c84e88fa22c5..7d5821c4fe8fe801052f53b1772c83172a45f449 100644 (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>
 
index 8231fb8d47a57eafbf432eb86325a299269f42c7..cf2fe17ee66f5ff42de1154d0b96da53defa5220 100644 (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);