This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix PR tree-opt/40071
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Oct 2009 12:13:03 +0200
- Subject: Re: [Patch] Fix PR tree-opt/40071
- References: <200910090033.06422.ebotcazou@adacore.com>
On Fri, Oct 9, 2009 at 12:33 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Hi,
>
> this is the vectorization issue with TYPE_NONALIASED_COMPONENT array types.
> Because vector types inherit the alias set of their component type by default,
> the assertion in vectorizable_store and vectorizable_load verifying that the
> original and the vectorized data references alias each other will fail for
> these array types.
>
> Fixed by extending the mechanism implemented in vect_create_data_ref_ptr to
> deal with related issues for data references in stmt groups.
>
> Tested on i586-suse-linux, OK for mainline?
Ok.
Thanks,
Richard.
> 2009-10-08 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?PR tree-optimization/40071
> ? ? ? ?* tree-vect-data-refs.c (vect_create_data_ref_ptr): Build a ref-all
> ? ? ? ?pointer if the original data reference doesn't conflict with the
> ? ? ? ?created vector data reference. ?Fix long line.
>
>
> 2009-10-08 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* gnat.dg/opt3.adb: New test.
> ? ? ? ?* gnat.dg/opt3_pkg.ads: New helper.
>
>
> --
> Eric Botcazou
>