This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Only run pr48377.c testcase on i?86/x86_64
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 Jun 2011 11:32:13 +0200
- Subject: Re: [PATCH] Only run pr48377.c testcase on i?86/x86_64
- References: <20110603135911.GD17079@tyan-ft48-01.lab.bos.redhat.com>
On Fri, Jun 3, 2011 at 3:59 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> This limits this testcase to i?86/x86_64 (moving to gcc.target/ would
> be harder because it relies on all the weirdo vectorization options to be
> passed), because apparently on strict alignment targets we don't handle
> aligned (1) non-aggregates correctly. ?Or should it be instead xfailed
> just on selected strict-aligned targets?
This has come up in the past, I think we should have an
strict-align target capability in our dejagnu harness (possibly
just white-listing all patterns we know). So we can
dg-skip this test for strict-align ones. Would you mind implementing
that?
Thanks,
Richard.
> 2011-06-03 ?Jakub Jelinek ?<jakub@redhat.com>
>
> ? ? ? ?PR tree-optimization/48377
> ? ? ? ?* gcc.dg/vect/pr48377.c: Only run the test to i?86/x86_64.
>
> --- gcc/testsuite/gcc.dg/vect/pr48377.c.jj ? ? ?2011-05-02 18:39:10.000000000 +0200
> +++ gcc/testsuite/gcc.dg/vect/pr48377.c 2011-06-03 13:19:53.000000000 +0200
> @@ -1,4 +1,5 @@
> ?/* PR tree-optimization/48377 */
> +/* { dg-do run { target i?86-*-* x86_64-*-* } } */
>
> ?typedef unsigned int U __attribute__((__aligned__ (1), __may_alias__));
>
>
> ? ? ? ?Jakub
>