internal_reference_types

Richard Biener richard.guenther@gmail.com
Mon Apr 25 10:01:00 GMT 2016


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



More information about the Gcc mailing list