This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29877] out of SSA (TER) extends variable life of variable beyond original declared
- From: "shinwell at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2006 04:57:57 -0000
- Subject: [Bug tree-optimization/29877] out of SSA (TER) extends variable life of variable beyond original declared
- References: <bug-29877-13580@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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