This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #3 from shinwell at gcc dot gnu dot org  2006-11-18 04:57 -------
Created an attachment (id=12635)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12635&action=view)
Proposed patch

2006-11-17  Mark Shinwell  <shinwell@codesourcery.com>

        gcc/
        * tree-outof-ssa.c (check_replaceable): Deem assignments
        with register variables on their RHS to not be replaceable.

        gcc/testsuite/
        * gcc.target/arm/register-variables.c: New test.
        * gcc.dg/pr16194.c: Remove dg-error directive.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]