[5/n] remove trapv-*.c special-casing of gcc.dg/vect/ files
The following makes -ftrapv explicit. * gcc.dg/vect/vect.exp: Remove special-casing of tests named trapv-* * gcc.dg/vect/trapv-vect-reduc-4.c: Add dg-additional-options -ftrapv.
This commit is contained in:
parent
902f4ee7f1
commit
94b95f7a3f
2 changed files with 4 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Disabling epilogues until we find a better way to deal with scans. */
|
||||
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
|
||||
/* { dg-additional-options "-ftrapv --param vect-epilogues-nomask=0" } */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
|
|
|
@ -115,6 +115,9 @@ foreach flags $VECT_ADDITIONAL_FLAGS {
|
|||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/wrapv-*.\[cS\]]] \
|
||||
$flags $DEFAULT_VECTCFLAGS
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/trapv-*.\[cS\]]] \
|
||||
$flags $DEFAULT_VECTCFLAGS
|
||||
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/fast-math-bb-slp-*.\[cS\]]] \
|
||||
|
@ -129,13 +132,6 @@ global SAVED_DEFAULT_VECTCFLAGS
|
|||
set SAVED_DEFAULT_VECTCFLAGS $DEFAULT_VECTCFLAGS
|
||||
set SAVED_VECT_SLP_CFLAGS $VECT_SLP_CFLAGS
|
||||
|
||||
# -ftrapv tests
|
||||
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
|
||||
lappend DEFAULT_VECTCFLAGS "-ftrapv"
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/trapv-*.\[cS\]]] \
|
||||
"" $DEFAULT_VECTCFLAGS
|
||||
|
||||
# -fno-tree-dce tests
|
||||
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
|
||||
lappend DEFAULT_VECTCFLAGS "-fno-tree-dce"
|
||||
|
|
Loading…
Add table
Reference in a new issue