+2009-08-18 Nathan Froyd <froydnj@codesourcery.com>
+
+ * gcc.dg/vect/vect.exp: Add new stanza for aligned-section-anchors-*
+ tests.
+ * gcc.dg/vect/section-anchors-nest-1.c: Rename to...
+ * gcc.dg/vect/aligned-section-anchors-nest-1.c: ...this. Remove
+ dg-options. Fix dg-final clause.
+
2009-08-18 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets.
/* { dg-do compile } */
/* { dg-require-effective-target section_anchors } */
/* { dg-require-effective-target vect_int } */
-/* { dg-options "-O2 -ftree-vectorize -fsection-anchors -fno-vect-cost-model -fdump-ipa-increase_alignment" } */
#include <stdarg.h>
#include "tree-vect.h"
}
/* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" } } */
-/* { dg -finalfoo { cleanup-ipa-dump "increase_alignment" } } */
+/* { dg-final { cleanup-ipa-dump "increase_alignment" } } */
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/section-anchors-*.\[cS\]]] \
"" $DEFAULT_VECTCFLAGS
+# alignment-sensitive -fsection-anchors tests
+set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
+lappend DEFAULT_VECTCFLAGS "-fsection-anchors -fdump-ipa-increase_alignment"
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/aligned-section-anchors-*.\[cS\]]] \
+ "" $DEFAULT_VECTCFLAGS
+
# -fno-section-anchors tests
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
lappend DEFAULT_VECTCFLAGS "-fno-section-anchors"