[Bug tree-optimization/61009] Incorrect jump threading in dom

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 9 04:54:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61009

--- Comment #11 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri May  9 04:54:00 2014
New Revision: 210254

URL: http://gcc.gnu.org/viewcvs?rev=210254&root=gcc&view=rev
Log:
2014-05-08  Jeff Law  <law@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:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr61009.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-threadedge.c



More information about the Gcc-bugs mailing list