vect.exp: Add new stanza for aligned-section-anchors-* tests.

* 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.

From-SVN: r150880
This commit is contained in:
Nathan Froyd 2009-08-18 16:58:35 +00:00 committed by Nathan Froyd
parent f0962d64ac
commit 8fd962e39c
3 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,11 @@
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.

View file

@ -1,7 +1,6 @@
/* { 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"
@ -32,4 +31,4 @@ int *foo(void)
}
/* { 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" } } */

View file

@ -190,6 +190,12 @@ lappend DEFAULT_VECTCFLAGS "-fsection-anchors"
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"