This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r124518 - 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 21:37:54 -0000
- Subject: r124518 - in /branches/pointer_plus/gcc: Change...
Author: pinskia
Date: Mon May 7 21:37:53 2007
New Revision: 124518
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124518
Log:
2007-05-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
* builtins.c (std_gimplify_va_arg_expr): Use fold_build2 for
the creating of POINTER_PLUS_EXPR. For the BIT_AND_EXPR, cast
the operands to sizetype first and then cast the BIT_AND_EXPR
back to the pointer type.
* tree-ssa-address.c (create_mem_ref): Create A
POINTER_PLUS_EXPR for one case.
* tree.c (const_hash_1): Handle POINTER_PLUS_EXPR same as
PLUS_EXPR.
(compare_constant): Likewise.
(copy_constant): Likewise.
(compute_reloc_for_constant): Likewise.
(output_addressed_constants): Likewise.
Modified:
branches/pointer_plus/gcc/ChangeLog.ptr
branches/pointer_plus/gcc/builtins.c
branches/pointer_plus/gcc/tree-ssa-address.c
branches/pointer_plus/gcc/varasm.c