OSDN Git Service

* c-common.c (parse_optimize_options): Remove period at end of
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2010 21:00:18 +0000 (21:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2010 21:00:18 +0000 (21:00 +0000)
warning message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164317 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 804a93a..7d5821c 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 8231fb8..cf2fe17 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);