[Bug optimization/8781] Pessimization of functional-style code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 3 05:46:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-03 05:46 -------
Actually it is not caused by the front-end but it is almost fixed on the tree-ssa now:
pred<D1940> = f;
pred<D1947>.pred = &pred<D1940>;
pred<D1954>.pred = &pred<D1947>;
pred<D1961>.pred = &pred<D1954>;
pred<D1968>.pred = &pred<D1961>;
pred<D1975>.pred = &pred<D1968>;
pred<D1982>.pred = &pred<D1975>;
pred<D1989>.pred = &pred<D1982>;
pred<D1996>.pred = &pred<D1989>;
<D2053> = f ();
Now all we have to do is remove the stores and this would be fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8781
More information about the Gcc-bugs
mailing list