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 wrong code for component of constrained subtype


Olivier Hainque wrote:
> 
> The attached patch fixes a regression compared to the GCC 3.4 series.

 Forgot to say: bootstrapped and regtested for languages=c,ada on
 x86_64-pc-linux-gnu.

> 	* utils.c (type_for_nonaliased_component_p): Return false for
> 	all AGGREGATE_TYPEs.
> 
> 	* gnat.dg/nested_subtype_byref.ad[bs]: Part of new test.
> 	* gnat.dg/test_nested_subtype_byref.adb: New test.


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