diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ff2d5b57a8f8..20abb395c207 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2018-12-10 Jakub Jelinek + + PR testsuite/88369 + * gcc.dg/vect/vect-ivdep-1.c: Prune versioning for alignment messages. + * gcc.dg/vect/vect-ivdep-2.c: Likewise. + * gcc.dg/vect/nodump-vect-opt-info-1.c: Likewise. + * g++.dg/vect/pr33426-ivdep.cc: Likewise. + * g++.dg/vect/pr33426-ivdep-2.cc: Likewise. + * g++.dg/vect/pr33426-ivdep-3.cc: Likewise. + * g++.dg/vect/pr33426-ivdep-4.cc: Likewise. + 2018-12-10 Richard Biener PR middle-end/88415 diff --git a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc index 3ebd07aa4f81..bae7c4c6e82b 100644 --- a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc +++ b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc @@ -30,6 +30,7 @@ void bar(int n, int *a, int *b, int *c) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 } */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */ /* { dg-final { scan-tree-dump-times "ANNOTATE_EXPR " 2 "original" } } */ /* { dg-final { scan-tree-dump-times "ANNOTATE " 2 "gimple" } } */ diff --git a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc index 0d8487431fa5..1183447ffd44 100644 --- a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc +++ b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc @@ -17,6 +17,7 @@ void foo(int *a) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 } */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */ /* { dg-final { scan-tree-dump-times "ANNOTATE_EXPR " 1 "original" } } */ /* { dg-final { scan-tree-dump-times "ANNOTATE " 1 "gimple" } } */ diff --git a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc index 2fb33c458069..a0da5cf0aabc 100644 --- a/gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc +++ b/gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc @@ -22,6 +22,7 @@ void foo(std::vector *ar, int *b) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* FIXME: dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */ /* { dg-final { scan-tree-dump-times "ANNOTATE_EXPR " 1 "original" } } */ /* { dg-final { scan-tree-dump-times "ANNOTATE " 1 "gimple" } } */ diff --git a/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc b/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc index 2798d9dedb67..62bb16c3d2bc 100644 --- a/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc +++ b/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc @@ -15,3 +15,4 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 } */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */ diff --git a/gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c b/gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c index 258e37850380..3bfe498ef0a2 100644 --- a/gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c +++ b/gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c @@ -4,6 +4,7 @@ void vadd (int *dst, int *op1, int *op2, int count) { +/* { dg-prune-output " version\[^\n\r]* alignment" } */ /* { dg-optimized "loop vectorized" "" { target *-*-* } .+2 } */ /* { dg-optimized "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } .+1 } */ for (int i = 0; i < count; ++i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c b/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c index 76c9204b5701..f32bc7a347f3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c @@ -15,3 +15,4 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 } */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */ diff --git a/gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c b/gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c index ac2dbc19dca2..e623b46ee834 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c @@ -31,3 +31,4 @@ void bar(int n, int *a, int *b, int *c) { /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */ /* { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 } */ +/* { dg-prune-output " version\[^\n\r]* alignment" } */