This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r150519 - in /trunk/gcc: ChangeLog Makefile.in ...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Aug 2009 11:31:20 -0000
- Subject: r150519 - in /trunk/gcc: ChangeLog Makefile.in ...
Author: rguenth
Date: Thu Aug 6 11:31:20 2009
New Revision: 150519
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150519
Log:
2009-08-06 Richard Guenther <rguenther@suse.de>
* tree-ssa.c (useless_type_conversion_p_1): Make function and
array type comparisons frontend independent.
* Makefile.in (tree-ssa.o): Add $(TARGET_H) dependency.
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Always fill
out array reference lower bound and element size operands.
(ao_ref_init_from_vn_reference): Properly compute the offset
for ARRAY_RANGE_REF.
(vn_reference_fold_indirect): Fill out array reference lower
bound and element size operands.
* tree-ssa-pre.c (phi_translate_1): Fail if we have to translate
a non gimple valued reference operand which can happen for
array reference lower bound or element size.
(create_component_ref_by_pieces_1): Properly generate the
element size operand for array references.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/tree-ssa-pre.c
trunk/gcc/tree-ssa-sccvn.c
trunk/gcc/tree-ssa.c