This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/8781] Pessimization of functional-style code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 05:46:26 -0000
- Subject: [Bug optimization/8781] Pessimization of functional-style code
- References: <20021202022601.8781.wesslen@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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