OSDN Git Service

2008-03-10 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Mar 2008 17:14:45 +0000 (17:14 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Mar 2008 17:14:45 +0000 (17:14 +0000)
commit466e11c3c0c21f33c90217f63c2be062186bbc77
tree4506ced251003d41e08d712e07f73cf08dcb2b47
parent2c2d2f408c6521fcd5364a20af9ed60af7904c16
2008-03-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34677
* tree-ssa-pre.c (modify_expr_node_pool): Remove.
(poolify_tree): Likewise.
(modify_expr_template): Likewise.
(poolify_modify_stmt): Likewise.
(insert_fake_stores): Handle all component-ref style stores
in addition to INDIRECT_REF.  Also handle complex types.
Do not poolify the inserted load.
(realify_fake_stores): Do not rebuild the tree but only
make it a SSA_NAME copy.
(init_pre): Remove initialzation of modify_expr_template.
Do not allocate modify_expr_node_pool.
(fini_pre): Do not free modify_expr_node_pool.

* gcc.dg/tree-ssa/loadpre23.c: New testcase.
* gcc.dg/tree-ssa/loadpre24.c: Likewise.
* gcc.dg/tree-ssa/loadpre25.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133081 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/loadpre23.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loadpre24.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loadpre25.c [new file with mode: 0644]
gcc/tree-ssa-pre.c