OSDN Git Service

* call.c (reference_binding): Rename lvalue_p to is_lvalue.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Aug 2009 02:26:21 +0000 (02:26 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Aug 2009 02:26:21 +0000 (02:26 +0000)
commitf52203692f3c4f9c2fa234520c36e237cb69fd29
treeaf6722d746b28559306995a7a4806f6f9e2ea51c
parentdddfd70ebaf761566514211a848dc368f044aacb
* call.c (reference_binding): Rename lvalue_p to is_lvalue.
Do direct binding of "rvalues" in memory to rvalue references.
* tree.c (lvalue_p_1): Can't be both non-addressable lvalue and
"rvalue" in memory.
* typeck.c (build_static_cast_1): Do direct binding of memory
"rvalues" to rvalue references.
* cvt.c (cp_fold_convert): New.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150325 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/tree.c
gcc/cp/typeck.c