OSDN Git Service

* c-common.c (parse_optimize_options): Do not capitalize warning
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2010 14:49:38 +0000 (14:49 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2010 14:49:38 +0000 (14:49 +0000)
messages.

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

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

index 6d3b024..804a93a 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-15  Ian Lance Taylor  <iant@google.com>
+
+       * c-common.c (parse_optimize_options): Do not capitalize warning
+       messages.
+
 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
 
        * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
 
        * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
index a3a332b..8231fb8 100644 (file)
@@ -7730,10 +7730,10 @@ parse_optimize_options (tree args, bool attr_p)
                  ret = false;
                  if (attr_p)
                    warning (OPT_Wattributes,
                  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,
                  else
                    warning (OPT_Wpragmas,
-                            "Bad option %s to pragma attribute", p);
+                            "bad option %s to pragma attribute", p);
                  continue;
                }
 
                  continue;
                }