------- Additional Comments From tobi at gcc dot gnu dot org 2005-08-14 15:53 ------- An alternative approach to setting up a temporary in the caller would be to have pointer-valued functions use a fake result variable, which only immediately before returning gets assigned to the real result. This would allow the optimizers to do a good job if nothing bad can happen.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23373