------- Comment #7 from jakub at gcc dot gnu dot org  2006-11-15 09:39 -------
Subject: Bug 29581

Author: jakub
Date: Wed Nov 15 09:39:18 2006
New Revision: 118850

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118850
Log:
        PR tree-optimization/29581
        * lambda-code.c (replace_uses_equiv_to_x_with_y): Add YINIT,
        REPLACEMENTS, FIRSTBSI arguments.  If initial condition or
        type is different between Y and USE, create a temporary
        variable, initialize it at the beginning of the body bb
        and use it as replacement instead of Y.

        * gcc.dg/pr29581-1.c: New test.
        * gcc.dg/pr29581-2.c: New test.
        * gcc.dg/pr29581-3.c: New test.
        * gcc.dg/pr29581-4.c: New test.
        * gfortran.dg/pr29581.f90: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr29581-1.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr29581-2.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr29581-3.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr29581-4.c
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/pr29581.f90
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/lambda-code.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to