diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-12-23 16:31:16 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-12-23 16:31:16 +0000 |
commit | cc29fd59a59a47397706b22ef5655c0950fe631c (patch) | |
tree | 8d55afe7ed6a9d0c9e417e2d0d59cdeec9f79622 | |
parent | ce21424d74e039aa293da874233ce9cd55a8a417 (diff) | |
download | gcc-cc29fd59a59a47397706b22ef5655c0950fe631c.zip gcc-cc29fd59a59a47397706b22ef5655c0950fe631c.tar.gz gcc-cc29fd59a59a47397706b22ef5655c0950fe631c.tar.bz2 |
* cvt.c (convert_to_void): Fix typo in comment.
From-SVN: r92556
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cvt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c8e448f..ce53aed 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-12-23 Mark Mitchell <mark@codesourcery.com> + + * cvt.c (convert_to_void): Fix typo in comment. + 2004-12-23 Alexandre Oliva <aoliva@redhat.com> PR c++/18962 diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index 64db100..b68cf0f 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -925,7 +925,7 @@ convert_to_void (tree expr, const char *implicit) /* We might like to warn about (say) "(int) f()", as the cast has no effect, but the compiler itself will generate implicit conversions under some - circmstances. (For example a block copy will be + circumstances. (For example a block copy will be turned into a call to "__builtin_memcpy", with a conversion of the return value to an appropriate type.) So, to avoid false positives, we strip |