This is the mail archive of the gcc-patches@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: [Ada] Another small tweak in LTO mode


> I am not quite sure I understand your explanation.  Can you, please, show me
> how the types differ? So you have one type which contains ptr_type_node and
> other which is array?

For one compilation unit, the type is an array of pointer to something, for 
example a record type and, for another compilation unit, the type is an array 
of ptr_type_node.  That's because the "something" isn't even parsed by the 
compiler in the second case, so that you can change the implementation without 
recompiling all the clients.

-- 
Eric Botcazou


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