OSDN Git Service

2010-12-12 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2010 11:21:19 +0000 (11:21 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2010 11:21:19 +0000 (11:21 +0000)
PR c++/46901
* typeck.c (convert_for_assignment): Fix typo in warning message.

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

gcc/cp/ChangeLog
gcc/cp/typeck.c

index 53a064e..0383806 100644 (file)
@@ -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.
        (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
 
 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
index edf1c13..64ca9bd 100644 (file)
@@ -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: