]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 28 Aug 2008 00:40:11 +0000 (00:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 28 Aug 2008 00:40:11 +0000 (00:40 +0000)
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.

From-SVN: r139689

gcc/ChangeLog
gcc/c-typeck.c

index 2fc73b322044b4fc9fe27d25d007f670bfd61f62..c57126ffaf64c0055453e6e790f3b6faafaafc6f 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 db4718c1967adcda0fa03fc588ee21f018049e25..9f725884e462807f83a591ea7888f04cd5190af0 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 "