From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1780 invoked by alias); 24 Apr 2003 09:33:09 -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 1771 invoked from network); 24 Apr 2003 09:33:08 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 24 Apr 2003 09:33:08 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3O9X8D02038; Thu, 24 Apr 2003 05:33:08 -0400 Received: from redhat.com (IDENT:apmU+8/uADtcG83aoLXByut2Ls63a7wC@vpn50-15.rdu.redhat.com [172.16.50.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3O9X7q24409; Thu, 24 Apr 2003 05:33:07 -0400 Received: (from aph@localhost) by redhat.com (8.11.6/8.11.0) id h3O9We512912; Thu, 24 Apr 2003 10:32:40 +0100 From: Andrew Haley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16039.44856.826662.680167@cuddles.redhat.com> Date: Thu, 24 Apr 2003 11:45:00 -0000 To: Jason Merrill Cc: tromey@redhat.com, Gabriel Dos Reis , Jamie Lokier , gcc@gcc.gnu.org Subject: Re: On alignment In-Reply-To: References: <200303251122.13693.kevin.hendricks@sympatico.ca> <200303251344.59988.kevin.hendricks@sympatico.ca> <16037.6826.35777.756256@cuddles.redhat.com> <20030423124944.GA24593@mail.jlokier.co.uk> <87wuhlgq5l.fsf@fleche.redhat.com> <87lly1f5ir.fsf@fleche.redhat.com> <87sms9dmuy.fsf@fleche.redhat.com> X-SW-Source: 2003-04/txt/msg01221.txt.bz2 Jason Merrill writes: > > A similar trick using offsetof should work with all versions of > gcc; just add a char field to the beginning of the struct, and > measure the offset to the TYPE field. Ah, okay. That sounds pretty neat. Tom, time for the third (or is it fourth) version of your patch. :-) Andrew.