https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81165
--- Comment #17 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Fri Dec 15 22:11:06 2017 New Revision: 255724 URL: https://gcc.gnu.org/viewcvs?rev=255724&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/gcc.dg/pr81165.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-threadedge.c trunk/gcc/tree-ssa-threadupdate.c trunk/gcc/tree-ssa-threadupdate.h