https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61009
--- Comment #16 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Tue May 13 20:26:51 2014 New Revision: 210400 URL: http://gcc.gnu.org/viewcvs?rev=210400&root=gcc&view=rev Log: 2014-05-08 Jeff Law <l...@redhat.com> PR tree-optimization/61009 * tree-ssa-threadedge.c (thread_through_normal_block): Return a tri-state rather than a boolean. When a block is too big to thread through, inform caller via negative return value. (thread_across_edge): If a block was too big for normal threading, then it's too big for a joiner too, so remove temporary equivalences and return immediately. PR tree-optimization/61009 * g++.dg/tree-ssa/pr61009.C: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/tree-ssa/pr61009.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-threadedge.c