diff options
author | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-25 04:57:16 +0000 |
---|---|---|
committer | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-25 04:57:16 +0000 |
commit | 3e5d979595c5dd72ad98fdffb3deae78547b939b (patch) | |
tree | 7bb6f3b26e6d15d4a769a03c44e1525a5daa0f24 /gcc/cp/ChangeLog | |
parent | fbb76a77a493ef347474beaab73bc49ec92bcff3 (diff) | |
download | gcc-3e5d979595c5dd72ad98fdffb3deae78547b939b.tar.gz |
2002-08-24 Matt Austern <austern@apple.com>
* tree.c (lvalue_p_1): Add argument for whether casts of lvalues
are allowable.
(real_lvalue_p): Update caller.
(lvalue_p): Ditto.
(non_cast_lvalue_or_else): New.
* tree.h: Declare it.
* typeck.c (build_unary_op): Use non_cast_lvalue_or_else.
2002-08-24 Matt Austern <austern@apple.com>
* g++.dg/ext/lvaddr.C: New test.
* g++.dg/ext/lvcast.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cb95b6d33b7..def395ea126 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2002-08-24 Matt Austern <austern@apple.com> + + * tree.c (lvalue_p_1): Add argument for whether casts of lvalues + are allowable. + (real_lvalue_p): Update caller. + (lvalue_p): Ditto. + (non_cast_lvalue_or_else): New. + * tree.h: Declare it. + * typeck.c (build_unary_op): Use non_cast_lvalue_or_else. + 2002-08-22 Mark Mitchell <mark@codesourcery.com> * typeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR |