From: Ian Lance Taylor Date: Wed, 15 Sep 2010 21:00:18 +0000 (+0000) Subject: c-common.c (parse_optimize_options): Remove period at end of warning message. X-Git-Tag: releases/gcc-4.6.0~4317 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06730c5d14d81a26842428dc85ff9e9849dba96f;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 804a93a8520b..7d5821c4fe8f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,7 +1,7 @@ 2010-09-15 Ian Lance Taylor * c-common.c (parse_optimize_options): Do not capitalize warning - messages. + messages. Remove period at end of warning message. 2010-09-09 Nathan Sidwell diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 8231fb8d47a5..cf2fe17ee66f 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -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);