testsuite: Add a vect_element_align_preferred guard
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Nov 2020 11:12:53 +0000 (11:12 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Nov 2020 11:12:53 +0000 (11:12 +0000)
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

index f8c36a89fc78ae55f7c69c894f59089dfd755196..24b2fa86da26d9940c6f5554f96396f81d43f350 100644 (file)
@@ -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 } } } */