From 06730c5d14d81a26842428dc85ff9e9849dba96f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 15 Sep 2010 21:00:18 +0000 Subject: [PATCH] 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 --- gcc/c-family/ChangeLog | 2 +- gcc/c-family/c-common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 804a93a8520..7d5821c4fe8 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 8231fb8d47a..cf2fe17ee66 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); -- 2.11.4.GIT