[tree-ssa] Make remove_phi_arg_num useful.
Steven Bosscher
s.bosscher@student.tudelft.nl
Wed Aug 6 19:09:00 GMT 2003
Hi,
It's convenient to use remove_phi_arg_num() instead of remove_phi_arg()
when you've already identified the edge for the PHI arg. But without
this patch, the out-of-ssa pass seems to get confused.
Bootstrapped and tested, OK?
Gr.
Steven
2003-08-06 Steven Bosscher <steven@gcc.gnu.org>
* tree-dfa.c (remove_phi_arg): When the PHI no longer has
arguments, don't remove it here, but do so...
(remove_phi_arg_num): ...from here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1818 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030806/60cdb423/attachment.bin>
More information about the Gcc-patches
mailing list