From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10661 invoked by alias); 10 Dec 2015 11:24:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10649 invoked by uid 89); 10 Dec 2015 11:24:41 -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-qg0-f47.google.com Received: from mail-qg0-f47.google.com (HELO mail-qg0-f47.google.com) (209.85.192.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 10 Dec 2015 11:24:39 +0000 Received: by qgea14 with SMTP id a14so136537792qge.0 for ; Thu, 10 Dec 2015 03:24:37 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.13.242.133 with SMTP id b127mr4109973ywf.280.1449746677556; Thu, 10 Dec 2015 03:24:37 -0800 (PST) Received: by 10.37.93.11 with HTTP; Thu, 10 Dec 2015 03:24:37 -0800 (PST) In-Reply-To: <20151209213118.GC317@x4> References: <20151209213118.GC317@x4> Date: Thu, 10 Dec 2015 11:24:00 -0000 Message-ID: Subject: Re: PING^1: [PATCH] Add TYPE_EMPTY_RECORD for C++ empty class From: Richard Biener To: Markus Trippelsdorf Cc: "H.J. Lu" , Jason Merrill , GCC Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg01108.txt.bz2 On Wed, Dec 9, 2015 at 10:31 PM, Markus Trippelsdorf wrote: > On 2015.12.09 at 10:53 -0800, H.J. Lu wrote: >> >> Empty C++ class is a corner case which isn't covered in psABI nor C++ ABI. >> There is no mention of "empty record" in GCC documentation. But there are >> plenty of "empty class" in gcc/cp. This change affects all targets. C++ ABI >> should specify how it should be passed. > > There is a C++ ABI mailinglist, where you could discuss this issue: > http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev Yep. As long as the ABI doesn't state how to pass those I'd rather _not_ change GCCs way. Richard. > -- > Markus