From: Paolo Carlini Date: Thu, 28 Aug 2008 00:40:11 +0000 (+0000) Subject: c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in... X-Git-Tag: releases/gcc-4.4.0~2846 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd990e649d8607ace9b7d80c900a088cd42273fb;p=thirdparty%2Fgcc.git c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in the last change. 2008-08-27 Paolo Carlini * c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in the last change. From-SVN: r139689 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2fc73b322044..c57126ffaf64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-08-27 Paolo Carlini + + * c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT + use not updated in the last change. + 2008-08-27 Kaz Kojima * config/sh/sh.h (REG_CLASS_CONTENTS): Drop fr32 from FPUL_REGS. diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index db4718c1967a..9f725884e462 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -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 "