From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin von Loewis To: hasdi@umich.edu Cc: amylaar@cygnus.co.uk, egcs@cygnus.com Subject: Re: g++/i386: 4-byte inline struct return Date: Fri, 18 Sep 1998 02:04:00 -0000 Message-id: <199809180725.JAA00544@mira.isdn.cs.tu-berlin.de> References: X-SW-Source: 1998-09/msg01044.html > I'll try this when I get back home. I think gcc should return struct > values in registers anyway (ignoring -fpcc-struct-return) if the caller > and callee can follow the same struct-return convention (i.e. inline and > static functions). Is there a fallacy in my thinking? The problem is that the ABI is already defined, caller and callee will not follow the same convention if one of them is changed now, and the other is in a library that we have no control over. Regards, Martin