From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30016 invoked by alias); 31 Jul 2002 00:57:52 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29999 invoked from network); 31 Jul 2002 00:57:50 -0000 Received: from unknown (HELO executor.cambridge.redhat.com) (195.224.55.237) by sources.redhat.com with SMTP; 31 Jul 2002 00:57:50 -0000 Received: from prospero.cambridge.redhat.com (dell-paw-2.cambridge.redhat.com [195.224.55.226]) by executor.cambridge.redhat.com (Postfix) with ESMTP id ED3CCABAFC; Wed, 31 Jul 2002 01:57:49 +0100 (BST) Received: by prospero.cambridge.redhat.com (Postfix, from userid 4046) id 0660BF8EBE; Wed, 31 Jul 2002 01:57:38 +0100 (BST) To: Franz Sirl Cc: Mark Mitchell , gcc@gcc.gnu.org, "Kevin B. Hendricks" , Jakub Jelinek , gcc-patches@gcc.gnu.org Subject: Re: GCC 3.2 References: <40360000.1027723811@gandalf.codesourcery.com> <200207271635.12319@enzo.bigblue.local> From: Jason Merrill In-Reply-To: (Jason Merrill's message of "Wed, 31 Jul 2002 01:49:35 +0100") Date: Wed, 31 Jul 2002 05:05:00 -0000 Message-ID: User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg01462.txt.bz2 On Wed, 31 Jul 2002 01:49:35 +0100, Jason Merrill 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