This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] fix wrong code for component of constrained subtype
- From: Olivier Hainque <hainque at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: hainque at adacore dot com
- Date: Fri, 21 Sep 2007 16:12:39 +0200
- Subject: Re: [Ada] fix wrong code for component of constrained subtype
- References: <20070921141027.GA22136@cardhu.act-europe.fr>
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.