This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix lto-symtab ICE during Ada LTO bootstrap
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Nov 2015 10:59:39 +0100
- Subject: Re: Fix lto-symtab ICE during Ada LTO bootstrap
- Authentication-results: sourceware.org; auth=none
- References: <20151121182122 dot GB23225 at kam dot mff dot cuni dot cz> <1690140 dot OfB3ATH0FC at polaris> <20151122144618 dot GA9645 at adacore dot com> <20151123012037 dot GA46935 at kam dot mff dot cuni dot cz>
> 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