From 5806e0622de3356ae291a74a4c0d4c2e0af4c0d6 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 15 Dec 2017 15:11:06 -0700 Subject: 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 --- gcc/tree-ssa-threadupdate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/tree-ssa-threadupdate.h') 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 *); 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 { -- cgit v1.1