------- 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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