------- Additional Comments From kazu at cs dot umass dot edu 2004-12-12 17:26 ------- > One approach is to go with the phi optimization rewrite which allows it > to work with > 2 predecessors to the PHI block.
This is done on tree-cleanup-branch. > Another would be to look at Kazu's work which (IIRC) tried to identify > typecasts which were fed by PHIs with all constant arguments. It then > removed the typecast and original PHI and installed a new PHI with a > result of the proper type. The problem of replacing one PHI node with another is filed as PR 14843. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18576