This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15991] phi nodes with identical arguments still remain at t50.tailc
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2004 16:11:15 -0000
- Subject: [Bug tree-optimization/15991] phi nodes with identical arguments still remain at t50.tailc
- References: <20040614235849.15991.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-06-15 16:11 -------
kill_redundant_phi_nodes does not handle these cases since the variables are
pointers, and copy propagating constants for pointers requires folding the
statements and rewriting the ssa form afterwards, which I originally wanted to
avoid. Now that we from some reason need to rewrite the ssa form anyway, it
should be fairly easy to implement.
I however do not know why dom+dce fail to eliminate this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15991