]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/16447 (out of ssa generates bloated code)
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 2 Nov 2004 00:23:04 +0000 (00:23 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 2 Nov 2004 00:23:04 +0000 (00:23 +0000)
commitedfaf675109ca666d7ddbd901c82c18383385255
treeb53d70edc3071cf94765fb9657ab1326ec36c283
parent8bf639fa5e1887d9313c9a251cfe550033708bef
re PR tree-optimization/16447 (out of ssa generates bloated code)

2004-11-01  Andrew MacLeod  <amacleod@redhat.com>

PR tree-optimization/16447
* tree-cfg.c (bsi_commit_one_edge_insert): Rename from
bsi_commit_edge_inserts_1, and make funtion external.  Return new block.
(bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert.
* tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing.
* tree-flow.h (bsi_commit_one_edge_insert): Extern decl.
* tree-outof-ssa.c (rewrite_trees): Don't commit edges here.
(same_stmt_list_p): New.  Return TRUE if edge is to be forwarded.
(identical_copies_p): New.  Return true is two copies are the same.
(identical_stmt_lists_p): New.  Return true if stmt lists are the same.
(analyze_edges_for_bb): New.  Determine how best to insert edge stmts
for a basic block.
(perform_edge_inserts): New.  Determine what to do with all stmts that
have been inserted on edges.
(remove_ssa_form):  Analyze and commit edges from here.

From-SVN: r89970
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-flow.h
gcc/tree-optimize.c
gcc/tree-outof-ssa.c