diff options
author | Jeff Law <law@gcc.gnu.org> | 2017-12-15 15:11:06 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-12-15 15:11:06 -0700 |
commit | 5806e0622de3356ae291a74a4c0d4c2e0af4c0d6 (patch) | |
tree | b8e6c164eb187dd22c1305123e27d655276679ec /gcc/tree-ssa-threadupdate.h | |
parent | 38f4bea834ef4c25cd89c824f15ee8d6b30a3760 (diff) | |
download | gcc-5806e0622de3356ae291a74a4c0d4c2e0af4c0d6.zip gcc-5806e0622de3356ae291a74a4c0d4c2e0af4c0d6.tar.gz gcc-5806e0622de3356ae291a74a4c0d4c2e0af4c0d6.tar.bz2 |
re PR tree-optimization/81165 (Regression in GCC-8.0.0's optimizer)
PR tree-optimization/81165
* tree-ssa-threadupdate.c (uses_in_bb): New.
(estimate_threading_killed_stmts): New.
* tree-ssa-threadupdate.h (estimate_threading_killed_stmts): Prototype.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Expand limit
when its hit.
PR tree-optimization/81165
* gcc.dg/pr81165.c: New.
From-SVN: r255724
Diffstat (limited to 'gcc/tree-ssa-threadupdate.h')
-rw-r--r-- | gcc/tree-ssa-threadupdate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadupdate.h b/gcc/tree-ssa-threadupdate.h index 296eff2..8a3b41d 100644 --- a/gcc/tree-ssa-threadupdate.h +++ b/gcc/tree-ssa-threadupdate.h @@ -47,6 +47,7 @@ extern void remove_jump_threads_including (edge); extern void delete_jump_thread_path (vec <class jump_thread_edge *> *); extern void remove_ctrl_stmt_and_useless_edges (basic_block, basic_block); extern void free_dom_edge_info (edge); +extern unsigned int estimate_threading_killed_stmts (basic_block); enum bb_dom_status { |