OSDN Git Service

2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2008 00:40:11 +0000 (00:40 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2008 00:40:11 +0000 (00:40 +0000)
* c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT
use not updated in the last change.

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

gcc/ChangeLog
gcc/c-typeck.c

index 2fc73b3..c57126f 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-27  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT
+       use not updated in the last change.
+
 2008-08-27  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/sh.h (REG_CLASS_CONTENTS): Drop fr32 from FPUL_REGS.
index db4718c..9f72588 100644 (file)
@@ -4286,7 +4286,7 @@ convert_for_assignment (tree type, tree rhs, enum impl_conv errtype,
                     qualifier are acceptable if the 'volatile' has been added
                     in by the Objective-C EH machinery.  */
                  if (!objc_type_quals_match (ttl, ttr))
-                   WARN_FOR_ASSIGNMENT (input_location,
+                   WARN_FOR_ASSIGNMENT (input_location, 0,
                                         G_("passing argument %d of %qE discards "
                                            "qualifiers from pointer target type"),
                                         G_("assignment discards qualifiers "