diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-08-28 00:40:11 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-08-28 00:40:11 +0000 |
commit | fd990e649d8607ace9b7d80c900a088cd42273fb (patch) | |
tree | 33d67ca407bf2678e8d2360e8e2513389a7574d9 /gcc | |
parent | d4d46566f3ea51a57144451b3e78a358383cce96 (diff) | |
download | gcc-fd990e649d8607ace9b7d80c900a088cd42273fb.zip gcc-fd990e649d8607ace9b7d80c900a088cd42273fb.tar.gz gcc-fd990e649d8607ace9b7d80c900a088cd42273fb.tar.bz2 |
c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in the last change.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-typeck.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2fc73b3..c57126f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index db4718c..9f72588 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 " |