From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125572 invoked by alias); 23 Nov 2015 11:13:25 -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 125500 invoked by uid 89); 23 Nov 2015 11:13:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 23 Nov 2015 11:13:24 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 17CC93524FBA; Mon, 23 Nov 2015 12:13:21 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LGCcD6Tr-sl5; Mon, 23 Nov 2015 12:13:21 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id EADCB3524FB9; Mon, 23 Nov 2015 12:13:20 +0100 (CET) From: Eric Botcazou To: Arnaud Charlet Cc: gcc-patches@gcc.gnu.org, Jan Hubicka Subject: Re: Fix lto-symtab ICE during Ada LTO bootstrap Date: Mon, 23 Nov 2015 11:13:00 -0000 Message-ID: <43889409.Q8BpRmYV9r@polaris> User-Agent: KMail/4.14.9 (Linux/3.16.7-29-desktop; KDE/4.14.9; x86_64; ; ) In-Reply-To: <20151123095939.GA7449@adacore.com> References: <20151121182122.GB23225@kam.mff.cuni.cz> <20151123012037.GA46935@kam.mff.cuni.cz> <20151123095939.GA7449@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2015-11/txt/msg02686.txt.bz2 > So there is indeed no point in trying to fix one or two cases, and we should > instead instruct LTO somehow to treat System.Address is compatible with > void* otherwise we'll run into endless troubles on that since using > System.Address as void* is very common practice in Ada code. Maybe we could apply this special treatment only to the void_ptr subtype of Interfaces.C.Extensions and require its use when interfacing with C. -- Eric Botcazou