From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97178 invoked by alias); 16 Dec 2015 01:19:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 97165 invoked by uid 89); 16 Dec 2015 01:19:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f169.google.com Received: from mail-qk0-f169.google.com (HELO mail-qk0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 16 Dec 2015 01:19:05 +0000 Received: by mail-qk0-f169.google.com with SMTP id p187so42381800qkd.1 for ; Tue, 15 Dec 2015 17:19:05 -0800 (PST) X-Received: by 10.55.18.7 with SMTP id c7mr55754363qkh.33.1450228743094; Tue, 15 Dec 2015 17:19:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.75.198 with HTTP; Tue, 15 Dec 2015 17:18:33 -0800 (PST) In-Reply-To: <5670AE9F.3060308@redhat.com> References: <565460FB.6070103@redhat.com> <86zixdnlfg.fsf@gmail.com> <566F13D4.9000900@redhat.com> <877fkglytf.fsf@oracle.com> <5670AE0A.20201@redhat.com> <5670AE9F.3060308@redhat.com> From: Simon Marchi Date: Wed, 16 Dec 2015 01:19:00 -0000 Message-ID: Subject: Re: C++ conversion status update To: Pedro Alves Cc: "Jose E. Marchesi" , Yao Qi , "gdb@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00017.txt.bz2 On 15 December 2015 at 19:21, Pedro Alves wrote: > Forgot to mention that this compiles down to the same as offsetof at -O2. Then your solution sounds better on every aspect.