From 350d17ef90124728f0fc6614eab35bff62dc87a5 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 23 Jan 2015 13:08:32 +0000 Subject: [PATCH] re PR testsuite/63439 (FAIL: gcc.dg/vect/vect-33.c scan-tree-dump vect "Alignment of access forced using peeling") 2015-01-23 Richard Biener PR testsuite/63439 * gcc.dg/vect/bb-slp-11.c: Require vect_pack_trunc. * gcc.dg/vect/bb-slp-26.c: Require vect_hw_misalign. From-SVN: r220039 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/bb-slp-11.c | 1 + gcc/testsuite/gcc.dg/vect/bb-slp-26.c | 7 ++++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cf9b478268b..5b11856aacd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-01-23 Richard Biener + + PR testsuite/63439 + * gcc.dg/vect/bb-slp-11.c: Require vect_pack_trunc. + * gcc.dg/vect/bb-slp-26.c: Require vect_hw_misalign. + 2015-01-23 Marek Polacek PR preprocessor/60570 diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-11.c b/gcc/testsuite/gcc.dg/vect/bb-slp-11.c index 1ae31416b83..735bd7004c2 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-11.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-11.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_pack_trunc } */ #include #include "tree-vect.h" diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c index f33a94abd0b..3eaead7db8c 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c @@ -9,8 +9,9 @@ char src[N], dst[N]; -void foo (char * __restrict__ dst, char * __restrict__ src, int h, - int stride, int dummy) +void __attribute__((noinline,noclone)) +foo (char * __restrict__ dst, char * __restrict__ src, int h, + int stride, int dummy) { int i; h /= 16; @@ -55,7 +56,7 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { target vect64 } } } */ +/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { target { vect64 && vect_hw_misalign } } } } */ /* { dg-final { cleanup-tree-dump "slp1" } } */ /* { dg-final { cleanup-tree-dump "slp2" } } */ -- 2.30.2