From 59a67d73e774947ee8d59d0e6c8d8e2ccef51fbe Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sun, 12 Dec 2010 11:21:19 +0000 Subject: [PATCH] re PR c++/46901 (Error message repeats itself) 2010-12-12 Paolo Carlini PR c++/46901 * typeck.c (convert_for_assignment): Fix typo in warning message. From-SVN: r167723 --- gcc/cp/ChangeLog | 13 +++++++++---- gcc/cp/typeck.c | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 53a064ef169..0383806ffcc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-12 Paolo Carlini + + PR c++/46901 + * typeck.c (convert_for_assignment): Fix typo in warning message. + 2010-12-10 Jakub Jelinek PR c++/46001 @@ -30,7 +35,7 @@ (cp_parser_objc_class_interface): Updated call to cp_parser_objc_superclass_or_category. (cp_parser_objc_class_implementation): Same change. - + 2010-12-09 Nathan Froyd * call.c (print_conversion_rejection): Indent messages two spaces. @@ -133,7 +138,7 @@ (cp/semantics.o): Same change. (cp/typeck.o): Same change. * config-lang.in (gtfiles): Added c-family/c-objc.h. - + 2010-12-03 Jason Merrill PR c++/46645 @@ -418,14 +423,14 @@ 2010-11-04 Nicola Pero - Fixed using the Objective-C 2.0 dot-syntax with class names. + Fixed using the Objective-C 2.0 dot-syntax with class names. * parser.c (cp_parser_primary_expression): Recognize Objective-C 2.0 dot-syntax with class names and process it. (cp_parser_nonclass_name): Recognize Objective-C 2.0 dot-syntax with class names. (cp_parser_class_name): Same change. (cp_parser_simple_type_specifier): Tidied comments. - + 2010-11-04 Jason Merrill PR c++/46298 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index edf1c137847..64ca9bd79f5 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -7321,7 +7321,7 @@ convert_for_assignment (tree type, tree rhs, break; case ICR_CONVERTING: warning (OPT_Wmissing_format_attribute, - "target of conversion might be might be a candidate " + "target of conversion might be a candidate " "for a format attribute"); break; case ICR_INIT: