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] Fix latent aliasing bug with composite derived types


> 2009-10-29  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* gcc-interface/decl.c (array_type_has_nonaliased_component): Swap
> 	parameters and rewrite comments.  For a derived type, return the
> 	setting of its parent type.
> 	(gnat_to_gnu_entity): Do an alias set copy for derived types if they
> 	are composite.  Adjust calls to above function.

This fixed PR ada/41870.

-- 
Eric Botcazou


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