From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24852 invoked by alias); 18 Oct 2011 07:19:30 -0000 Received: (qmail 24840 invoked by uid 22791); 18 Oct 2011 07:19:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Oct 2011 07:19:11 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 01808CB02C3; Tue, 18 Oct 2011 09:19:12 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Kz7jM4K20gD; Tue, 18 Oct 2011 09:19:02 +0200 (CEST) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 0C640CB02B8; Tue, 18 Oct 2011 09:19:02 +0200 (CEST) From: Eric Botcazou To: Mike Spertus Subject: Re: Intrinsics for N2965: Type traits and base classes Date: Tue, 18 Oct 2011 08:23:00 -0000 User-Agent: KMail/1.9.9 Cc: gcc-patches@gcc.gnu.org, Benjamin Kosnik , Jason Merrill References: <20110913154324.4be22faf@shotwell> <4E809F45.2010908@symantec.com> In-Reply-To: <4E809F45.2010908@symantec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201110180914.41614.ebotcazou@adacore.com> 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 X-SW-Source: 2011-10/txt/msg01593.txt.bz2 > This patch consists intrinsics to properly create the bases and > direct_bases of a class in the correct order (including multiple nested > ambiguous virtual and non-virtual classes) for N2965 > (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2965.html). > This allows you to create type traits for giving the base classes of the > class: Please post a ChangeLog entry with a patch. Someone added one for you: 2011-10-17 Michael Spertus * gcc/c-family/c-common.c (c_common_reswords): Add __bases, __direct_bases. * gcc/c-family/c-common.h: Add RID_BASES and RID_DIRECT_BASES. but it is in the wrong file (c-family has its own ChangeLog) and shouldn't contain the gcc/c-family prefix (paths are relative to the directory). -- Eric Botcazou