[Ada] Another small tweak in LTO mode

Eric Botcazou ebotcazou@adacore.com
Thu Jul 14 15:31:00 GMT 2016


> 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



More information about the Gcc-patches mailing list