This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: internal_reference_types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]