This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite]: Require non_strict_align effective target for gcc.dg/ipa/ipa-sra-[26].c
- From: David Miller <davem at davemloft dot net>
- To: ubizjak at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
- Date: Wed, 19 Oct 2011 15:54:26 -0400 (EDT)
- Subject: Re: [PATCH, testsuite]: Require non_strict_align effective target for gcc.dg/ipa/ipa-sra-[26].c
- References: <CAFULd4aia8Jme4vbrR=ad1BAnuLZpsnZ_Wru2C_izj1A=wX-eA@mail.gmail.com>
From: Uros Bizjak <ubizjak@gmail.com>
Date: Wed, 19 Oct 2011 21:50:14 +0200
> Hello!
>
> These two tests require non_strict_aligned effective target, since IPA
> fails in tree_non_mode_aligned_mem_p () for "cow" and "calf"
> candidates for STRICT_ALIGNMENT targets. Mode alignment requires 32
> bytes, while data is aligned to 8 bytes.
>
> 2011-10-19 Uros Bizjak <ubizjak@gmail.com>
>
> * gcc.dg/ipa/ipa-sra-2.c: Add dg-require-effective-target
> non_strict_align.
> * gcc.dg/ipa/ipa-sra-6.c: Ditto.
>
> Tested on x86_64-pc-linux-gnu and alphaev68-pc-linux-gnu, where the
> patch "fixes":
Thanks for taking care of this, I've been seeing these on sparc as well.