This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37102] [4.3 Regression] out-of-SSA is broken
- From: "amacleod at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2008 17:37:24 -0000
- Subject: [Bug tree-optimization/37102] [4.3 Regression] out-of-SSA is broken
- References: <bug-37102-12544@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from amacleod at redhat dot com 2008-10-17 17:37 -------
Subject: Bug 37102
Author: amacleod
Date: Fri Oct 17 17:35:58 2008
New Revision: 141195
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141195
Log:
fix PR tree-optimization/37102
2008-10-17 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/37102
* tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args
from a node. Check to see if another PHI is dead.
(eliminate_useless_phis): Rename from eliminate_virtual_phis and remove
real PHIs which have no uses.
(rewrite_out_of_ssa): Call eliminate_useless_phis.
2008-10-17 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/37102
* gcc.c-torture/execute/pr37102.c: New Test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr37102.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/tree-outof-ssa.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37102