This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18576] [3.4/4.0 Regression] missing jump threading because of type changes


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]