tree-ssa-dse.c (struct dse_global_data, [...]): Remove.
authorRichard Guenther <rguenther@suse.de>
Thu, 14 Apr 2011 13:38:33 +0000 (13:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Apr 2011 13:38:33 +0000 (13:38 +0000)
commit4a5ba3ed87794d7ea5ab54d0c89cf6cedd0e6c9f
tree63beaf8039be953cc4acc9dc13786c2c6a7879d4
parent10a5dd5d3d4cc53613b8e44b78e99b7d61f85d77
tree-ssa-dse.c (struct dse_global_data, [...]): Remove.

2011-04-14  Richard Guenther  <rguenther@suse.de>

* tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data):
Remove.
(dse_initialize_block_local_data, dse_leave_block,
record_voperand_set, get_stmt_uid): Likewise.
(dse_possible_dead_store_p): Allow any kind of killing stmt.
(dse_optimize_stmt): Remove voperand set handling code.
Simplify and improve to handle any kind of killing stmt.
(dse_record_phi): Remove.
(dse_enter_block): Simplify.
(tree_ssa_dse): Likewise.
* tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins.

* gcc.dg/tree-ssa/ssa-dse-14.c: New testcase.

From-SVN: r172431
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-14.c [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa-dse.c