[PATCH] Only run pr48377.c testcase on i?86/x86_64

Jakub Jelinek jakub@redhat.com
Fri Jun 3 13:59:00 GMT 2011


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?

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



More information about the Gcc-patches mailing list