This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: internal_reference_types
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, GCC Development <gcc at gcc dot gnu dot org>, Arnaud Charlet <charlet at adacore dot com>
- Date: Mon, 25 Apr 2016 12:01:10 +0200
- Subject: Re: internal_reference_types
- Authentication-results: sourceware.org; auth=none
- References: <87mvol7bho dot fsf at linux-m68k dot org> <8289829 dot aYo1ADNgYo at polaris>
On Sat, Apr 23, 2016 at 1:23 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> The function internal_reference_types appears to have been introduced
>> exclusively for the Ada frontend. It is responsible for PR70759 (ada
>> rts doesn't build with -mabi=ilp32). What purpose does it serve and
>> what breaks when it is removed? The history doesn't give any hints.
>
> Not clear to me either and the premise is probably wrong for Ada these days.
What (Ada!) targets would it make a difference on? As it affects TYPE_SIZE
it also affects layout (obviously), so I wonder how this can be an optimization
(I assume it was intended to be one - likely for Adas fat pointer
representation?)
So might be a target with pointer mode bigger than Pmode (so where Pmode is
a partial int mode?)
Richard.
> --
> Eric Botcazou