aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@gcc.gnu.org>2002-10-11 19:52:10 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2002-10-11 19:52:10 +0000
commit46dd38849ba39f228f467edab38cfd60e6809b6e (patch)
treef800cdb177e7e1ba0f06a137641db4f449cbf2e3 /gcc/cp
parent2ee366b54aaf49c79bb52f1ea37fe9b67189f05b (diff)
downloadgcc-46dd38849ba39f228f467edab38cfd60e6809b6e.zip
gcc-46dd38849ba39f228f467edab38cfd60e6809b6e.tar.gz
gcc-46dd38849ba39f228f467edab38cfd60e6809b6e.tar.bz2
Move ChangeLog entry where it belongs
From-SVN: r58059
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 200bc39..3246ea2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -390,6 +390,14 @@
* typeck.c: Likewise.
* typeck2.c: Likewise.
+2002-09-13 Matt Austern <austern@apple.com>
+
+ PR C++/7828
+ * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
+ * cp/call.c: Change call-by-const-reference mechanism to use
+ non_cast_lvalue_p when deciding whether the create a temporary.
+ We need a temporary when passing, e.g. (long) x by const ref.
+
2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
* pt.c (unify, ARRAY_TYPE): Element type can be more qualified.