diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2010-12-12 11:21:19 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-12-12 11:21:19 +0000 |
commit | 59a67d73e774947ee8d59d0e6c8d8e2ccef51fbe (patch) | |
tree | 30a773cdf7d9c3a9be472ef5339d8b01a19be299 /gcc | |
parent | 2cdda6e3fe2a787d743bd4fe3eb8e2c6db0d34b6 (diff) | |
download | gcc-59a67d73e774947ee8d59d0e6c8d8e2ccef51fbe.zip gcc-59a67d73e774947ee8d59d0e6c8d8e2ccef51fbe.tar.gz gcc-59a67d73e774947ee8d59d0e6c8d8e2ccef51fbe.tar.bz2 |
re PR c++/46901 (Error message repeats itself)
2010-12-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46901
* typeck.c (convert_for_assignment): Fix typo in warning message.
From-SVN: r167723
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/cp/typeck.c | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 53a064e..0383806 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-12 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/46901 + * typeck.c (convert_for_assignment): Fix typo in warning message. + 2010-12-10 Jakub Jelinek <jakub@redhat.com> 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 <froydnj@codesourcery.com> * 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 <jason@redhat.com> PR c++/46645 @@ -418,14 +423,14 @@ 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> - 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 <jason@redhat.com> PR c++/46298 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index edf1c13..64ca9bd 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: |