r157694 - in /branches/mem-ref2/gcc: ChangeLog....

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Wed Mar 24 14:12:00 GMT 2010


Author: rguenth
Date: Wed Mar 24 14:12:31 2010
New Revision: 157694

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157694
Log:
2010-03-24  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Avoid
	inserting GIMPLE_NOPs into the IL.
	* tree-ssa-structalias.c (get_constraint_for_component_ref):
	Explicitly strip handled components and indirect references.

	* fold-const.c (operand_equal_p): Handle MEM_REF.
	(build_fold_addr_expr_with_type_loc): Only fold addresses of
	MEM_REF with zero constant offset.
	(fold_binary_loc): Do simple MEM_REF combining.
	* tree-ssa-ccp.c (ccp_fold): Replace INDIRECT_REF folding with
	MEM_REF.  Propagate &foo + CST as &MEM[&foo, CST].
	(fold_const_aggregate_ref): Handle MEM_REF.
	(ccp_fold_stmt): Use VIEW_CONVERT_EXPR on mismatched types.
	(maybe_fold_reference): Use fold_binary.
	(fold_gimple_assign): Simplify ADDR_EXPR handling.
	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Replace
	INDIRECT_REF folding with MEM_REF.
	* gimple.c (is_gimple_invariant_address): &MEM[&foo, CST] is
	invariant.
	* tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): Handle
	MEM_REF.
	(vn_reference_lookup_3): Replace INDIRECT_REF handling with
	MEM_REF.
	* tree-ssa-pre.c (create_component_ref_by_pieces_1): Fold
	the build MEM_REF.
	* gimplify.c (gimplify_expr): Fold MEM_REFs before gimplifying
	them.  Gimplify operand zero to a register if it doesn't
	satisfy the constraint invariant address form.
	* tree-object-size.c (addr_object_size): Handle MEM_REFs
	instead of INDIRECT_REFs.
	* tree-predcom.c (ref_at_iteration): Handle MEM_REFs.

Modified:
    branches/mem-ref2/gcc/ChangeLog.mem-ref2
    branches/mem-ref2/gcc/fold-const.c
    branches/mem-ref2/gcc/gimple.c
    branches/mem-ref2/gcc/gimplify.c
    branches/mem-ref2/gcc/tree-object-size.c
    branches/mem-ref2/gcc/tree-predcom.c
    branches/mem-ref2/gcc/tree-ssa-ccp.c
    branches/mem-ref2/gcc/tree-ssa-forwprop.c
    branches/mem-ref2/gcc/tree-ssa-pre.c
    branches/mem-ref2/gcc/tree-ssa-sccvn.c
    branches/mem-ref2/gcc/tree-ssa-structalias.c



More information about the Gcc-cvs mailing list