This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: GCC 3.2


On Wed, 31 Jul 2002 01:49:35 +0100, Jason Merrill <jason@redhat.com> wrote:

> This is still true, but I have a preliminary patch for which testing is not
> yet complete, which adds a langhook to expr_size.  I believe that returning
> the unpadded size from expr_size is correct, as expr_size is interested in
> the value, not the allocated space.  Comments welcome.  The other option
> was to add another size field to types; a langhook seemed more
> space-efficient.
>
> With this patch, the empty class passing hackery can go away, hurrah.

Well, the patch seems to break empty class tests, so more refinement is
needed.  Comments on the strategy still welcome.

Jason


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