From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84110 invoked by alias); 23 Nov 2015 09:59:45 -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 84101 invoked by uid 89); 23 Nov 2015 09:59:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 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 09:59:43 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id CB8B23524D50; Mon, 23 Nov 2015 10:59:40 +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 VKSSK0sBgF8o; Mon, 23 Nov 2015 10:59:40 +0100 (CET) Received: from chelles.act-europe.fr (chelles.act-europe.fr [10.10.0.160]) by smtp.eu.adacore.com (Postfix) with ESMTP id E8A063524D4F; Mon, 23 Nov 2015 10:59:39 +0100 (CET) Received: by chelles.act-europe.fr (Postfix, from userid 525) id E37AD1EA0446; Mon, 23 Nov 2015 10:59:39 +0100 (CET) Date: Mon, 23 Nov 2015 09:59:00 -0000 From: Arnaud Charlet To: Jan Hubicka Cc: Eric Botcazou , gcc-patches@gcc.gnu.org Subject: Re: Fix lto-symtab ICE during Ada LTO bootstrap Message-ID: <20151123095939.GA7449@adacore.com> References: <20151121182122.GB23225@kam.mff.cuni.cz> <1690140.OfB3ATH0FC@polaris> <20151122144618.GA9645@adacore.com> <20151123012037.GA46935@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151123012037.GA46935@kam.mff.cuni.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-11/txt/msg02667.txt.bz2 > I updated the warning to actually check if the TBAA information is in > conflict > and silence warnings on allowed type transtions that are not > useless_type_conversion_p > (which is needed for Fortran, too). This is list of warnings I get which I > suppose will need to be adressed. Most if not all these warnings are cases of System.Address used as void* 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. Arno