[Bug tree-optimization/29877] [4.0/4.1/4.2 Regression] out of SSA (TER) extends variable life of variable beyond original declared

amacleod at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 9 18:12:00 GMT 2007



------- Comment #7 from amacleod at redhat dot com  2007-03-09 18:11 -------
Subject: Bug 29877

Author: amacleod
Date: Fri Mar  9 18:11:40 2007
New Revision: 122754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122754
Log:
2006-03-09  Mark Shinwell  <shinwell@codesourcery.com>
            Andrew MacLeod  <amacleod@redhat.com>

        PR tree-optimization/29877
        * tree-outof-ssa.c (check_replaceable): Don't allow TER to replace
        an expression if the RHS is a register variable.

        testsuite
        * gcc.dg/pr16194.c: Skip test entirely if we don't know the name of
        a hard register for the target concerned.


Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr16194.c
    branches/gcc-4_2-branch/gcc/tree-outof-ssa.c


-- 


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



More information about the Gcc-bugs mailing list