This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Don't create an INTEGER_CST for aggregates (emptystructs)


On 12 Mar 2005 17:39:43 +0100, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> chris jefferson <caj@cs.york.ac.uk> writes:

> | thought you would have done) increase the stack pointer as far as it
> | was done previously, but just make the compiler never write to the
> | place where empty_struct is passed, and never read from it (because of
> | course it never should).
>
> That is another possibility.  I was just going to the point of
> eliminating the "wasted" space

You need to allocate the space to conform to the ABI.  You don't need to do
anything with it.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]