aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-11-17 11:12:53 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-11-17 11:12:53 +0000
commit324252dc59e7b1874337fccb463dc93cdecfbd82 (patch)
tree4103cd4563db2eb91a293234565b566a1a08fee6
parentb513f5f2cb2a7f604dfa2c424dbccc6a1011b63b (diff)
downloadgcc-324252dc59e7b1874337fccb463dc93cdecfbd82.zip
gcc-324252dc59e7b1874337fccb463dc93cdecfbd82.tar.gz
gcc-324252dc59e7b1874337fccb463dc93cdecfbd82.tar.bz2
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.
-rw-r--r--gcc/testsuite/gcc.dg/vect/aligned-section-anchors-nest-1.c2
1 files changed, 1 insertions, 1 deletions
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 } } } */