This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r124491 - in /branches/pointer_plus/gcc: Change...
- From: pinskia at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 07 May 2007 03:26:53 -0000
- Subject: r124491 - in /branches/pointer_plus/gcc: Change...
Author: pinskia
Date: Mon May 7 03:26:52 2007
New Revision: 124491
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124491
Log:
* tree.c (build2_stat): Check to make sure the
second operand is compatiable with sizetype.
cp/ChangeLog:
* typeck.c (get_member_function_from_ptrfunc):
Change over to using POINTER_PLUS_EXPR and convert
the second operand to sizetype.
* typeck2.c (build_m_component_ref): Likewise.
* rtti.c (build_headof): Use sizetype instead of
ptrdiff_type_node.
Modified:
branches/pointer_plus/gcc/ChangeLog.ptr
branches/pointer_plus/gcc/cp/ChangeLog.ptr
branches/pointer_plus/gcc/cp/rtti.c
branches/pointer_plus/gcc/cp/typeck.c
branches/pointer_plus/gcc/cp/typeck2.c
branches/pointer_plus/gcc/tree.c