From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10256 invoked by alias); 20 Feb 2014 20:49:04 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 10247 invoked by uid 89); 20 Feb 2014 20:49:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2014 20:49:03 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1KKmsSC023177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Feb 2014 15:49:00 -0500 Received: from [10.10.116.20] ([10.10.116.20]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s1KKmqiO031876; Thu, 20 Feb 2014 15:48:53 -0500 Message-ID: <53066A34.2020307@redhat.com> Date: Thu, 20 Feb 2014 20:49:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Richard Biener , Jan Hubicka CC: gcc@gcc.gnu.org Subject: Re: TYPE_BINFO and canonical types at LTO References: <20140214004827.GA30858@kam.mff.cuni.cz> <20140214165219.GA3380@kam.mff.cuni.cz> <20140214232252.GA14384@kam.mff.cuni.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-02/txt/msg00410.txt.bz2 On 02/15/2014 05:09 AM, Richard Biener wrote: > On Sat, 15 Feb 2014, Jan Hubicka wrote: >> The code really seems to be adding only cases of zero sized classes. > > zero-size as in with no fields? Then we can't do anything with such > classes and thus we don't need to record component aliases? Right. The TYPE_SIZE of an empty class is still 1, but a base of such a type doesn't get a FIELD_DECL. Jason