From: Richard Sandiford Date: Tue, 17 Nov 2020 11:12:53 +0000 (+0000) Subject: testsuite: Add a vect_element_align_preferred guard X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=324252dc59e7b1874337fccb463dc93cdecfbd82;p=gcc.git 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. --- 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 f8c36a89fc7..24b2fa86da2 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 } } } */