From 4c9291262affd31e66dec1c8af607e07a8ce2904 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 7 Aug 2018 08:51:29 +0000 Subject: [PATCH] Fix gcc.dg/vect/no-section-anchors-vect-69.c on SPARC etc. (PR tree-optimization/80925) 2018-08-07 Steve Ellcey Rainer Orth PR tree-optimization/80925 * gcc.dg/vect/no-section-anchors-vect-69.c: Expect 3 loops vectorized on !vect_hw_misalign targets. Co-Authored-By: Rainer Orth From-SVN: r263352 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eec7461275d..c556cb1b5c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-08-07 Steve Ellcey + Rainer Orth + + PR tree-optimization/80925 + * gcc.dg/vect/no-section-anchors-vect-69.c: Expect 3 loops + vectorized on !vect_hw_misalign targets. + 2018-08-06 Marek Polacek PR c++/86767 diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c index f7ad45b4f7a..34317ccb624 100644 --- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c +++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c @@ -119,5 +119,6 @@ int main (void) return main1 (); } -/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ -/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { {! vector_alignment_reachable} && {! vect_hw_misalign} } } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" { target vect_hw_misalign } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { target { ! vect_hw_misalign } } } } */ +/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { { ! vector_alignment_reachable } && { ! vect_hw_misalign } } } } } */ -- 2.30.2