From 324252dc59e7b1874337fccb463dc93cdecfbd82 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 17 Nov 2020 11:12:53 +0000 Subject: [PATCH] testsuite: Add a vect_element_align_preferred guard We don't try to increase the alignment of decls if vect_element_align_preferred. gcc/testsuite/ * gcc.dg/vect/aligned-section-anchors-nest-1.c: XFAIL alignment test if vect_element_align_preferred. --- gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c b/gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c index f8c36a8..24b2fa8 100644 --- a/gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c +++ b/gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c @@ -30,4 +30,4 @@ int *foo(void) return &c[0][0]; } -/* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" } } */ +/* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" { xfail vect_element_align_preferred } } } */ -- 2.7.4