------- Comment #11 from dannysmith at users dot sourceforge dot net 2009-03-23 22:10 ------- (In reply to comment #10) > Note that C++ objects need not be larger than 8 bytes to qualify for returning > on the stack (and thus subject to this cleanup problem). Any class with a copy > constructor, for example, seems to be affected.
Thanks. I understand your concern now. Do you think that a function __attibute__((ms-aggregate-return)) would be useful to specify individual problematic functions. I expect that this would be equivalent to (__attribute__((target("ms-aggregate-return"))) which should work now, but I haven't tested, Will do so soon. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834