This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

More testsuite patches for vect_no_align (PR testsuite/39623).


Here is a patch to fix the other two test failures caused by the alias
improvement branch checkin.  The tests fail to vectorize loops on
machines like IA64 that require alignment so I XFAIL'ed them when
vect_no_align is true.

Tested on IA64 HP-UX and Linux and on x86_64 Linux with no regressions.
This should allow us to close out PR testsuite/39623.

OK for checkin?

Steve Ellcey
sje@cup.hp.com



2009-04-22  Steve Ellcey  <sje@cup.hp.com>

	PR testsuite/39623
	* gcc.dg/vect/no-vfa-vect-57.c: XFAIL when vect_no_align.
	* gcc.dg/vect/no-vfa-vect-61.c: Ditto.
	


Index: gcc.dg/vect/no-vfa-vect-57.c
===================================================================
--- gcc.dg/vect/no-vfa-vect-57.c	(revision 146542)
+++ gcc.dg/vect/no-vfa-vect-57.c	(working copy)
@@ -71,5 +71,5 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/no-vfa-vect-61.c
===================================================================
--- gcc.dg/vect/no-vfa-vect-61.c	(revision 146542)
+++ gcc.dg/vect/no-vfa-vect-61.c	(working copy)
@@ -73,5 +73,5 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]