[Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 17 08:24:00 GMT 2006



------- Comment #11 from jakub at gcc dot gnu dot org  2006-05-17 08:24 -------
Subject: Bug 27283

Author: jakub
Date: Wed May 17 08:23:55 2006
New Revision: 113843

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113843
Log:
        PR tree-optimization/27549
        Backported from mainline

        2006-05-01  Zdenek Dvorak  <dvorakz@suse.cz>

        PR tree-optimization/27283
        * tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
        not whole # of iteration descriptions.
        (niter_for_exit): Return just # of iterations.  Fail if # of iterations
        uses abnormal ssa name.
        (niter_for_single_dom_exit): Ditto.
        (find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
        return just the number of iterations.
        (add_iv_outer_candidates, may_replace_final_value): Likewise.

        * g++.dg/tree-ssa/pr27283.C: New test.
        * g++.dg/tree-ssa/pr27549.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tree-ssa/pr27283.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tree-ssa/pr27549.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-ssa-loop-ivopts.c


-- 


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



More information about the Gcc-bugs mailing list