------- Comment #8 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-08-11 20:38 ------- Created an attachment (id=18341) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18341&action=view) A patch for -freg-struct-return
Another patch that makes -freg-struct-return consistent. Return structures with size 1, 2, 4, 8 bytes in EAX or EDX:EAX. No matter what they contain. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41017