------- Comment #70 from rguenth at gcc dot gnu dot org  2009-05-26 10:17 
-------
Subject: Bug 32044

Author: rguenth
Date: Tue May 26 10:17:19 2009
New Revision: 147865

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147865
Log:
2009-05-26  Richard Guenther  <rguent...@suse.de>

        Backport from mainline
        2008-12-12  Zdenek Dvorak  <o...@ucw.cz>

        PR tree-optimization/32044
        * tree-scalar-evolution.h (expression_expensive_p): Declare.
        * tree-scalar-evolution.c (expression_expensive_p): New function.
        (scev_const_prop): Avoid introducing expensive expressions.
        * tree-ssa-loop-ivopts.c (may_eliminate_iv): Ditto.

        * gcc.dg/pr34027-1.c: Change outcome.
        * gcc.dg/tree-ssa/pr32044.c: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/tree-ssa/pr32044.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr34027-1.c
    branches/gcc-4_3-branch/gcc/tree-scalar-evolution.c
    branches/gcc-4_3-branch/gcc/tree-scalar-evolution.h
    branches/gcc-4_3-branch/gcc/tree-ssa-loop-ivopts.c


-- 


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

Reply via email to