[Bug c++/23372] [4.0/4.1/4.2 Regression] Temporary aggregate copy not elided when passing parameters by value

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 8 15:16:00 GMT 2006



------- Comment #30 from pinskia at gcc dot gnu dot org  2006-02-08 15:16 -------
(In reply to comment #29)
> This patch (on top of infrastructure provided by the general copyprop
> improvements) modifies forwprop to do copy propagation of aggregates.  Untested
> apart from the fact it fixes all the testcases here.

Forward prop is really a semi hack waiting for a true combiner.  And this seems
like the wrong spot anyways as forward prop is only really for scalars really.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23372



More information about the Gcc-bugs mailing list