From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11441 invoked by alias); 26 Aug 2016 10:10:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 11325 invoked by uid 89); 26 Aug 2016 10:10:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Were, We're, applicable 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; Fri, 26 Aug 2016 10:09:51 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 146CAC05AA46; Fri, 26 Aug 2016 10:09:50 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-34.ams2.redhat.com [10.36.116.34]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7QA9ksc031412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Aug 2016 06:09:48 -0400 Date: Fri, 26 Aug 2016 10:10:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: Andreas Arnez , gdb-patches@sourceware.org Subject: Re: [PATCH] xtensa: Avoid designated inits, for C++ compliance Message-ID: <20160826100946.GA4556@host1.jankratochvil.net> References: <20160826090148.GA27461@host1.jankratochvil.net> <62e78020-2079-2c29-08c9-f930c43c37ea@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62e78020-2079-2c29-08c9-f930c43c37ea@redhat.com> User-Agent: Mutt/1.6.2 (2016-07-01) X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00283.txt.bz2 On Fri, 26 Aug 2016 11:39:27 +0200, Pedro Alves wrote: > We're still doing many 7.12 backports, so I was waiting for that > to stabilize before proposing to drop C support. Ah, OK. > > https://en.wikipedia.org/wiki/One_Definition_Rule > > Right, we're not LTO-ready yet. Note -Wodr (w/ -flto) helps find these. In this case there would be gdbarch_tdep() ctor handy but that is also not applicable without ODR. OK, I see I missed GDB still does not require C++. Jan