* gcc.dg/vmx/vmx.exp: Change DEFAULT_CFLAGS to DEFAULT_VMXCFLAGS.

From-SVN: r80919
This commit is contained in:
Aldy Hernandez 2004-04-20 19:24:00 +00:00 committed by Aldy Hernandez
parent 90cb5151ca
commit 7b1521e0f4
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-04-20 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/vmx.exp: Change DEFAULT_CFLAGS to DEFAULT_VMXCFLAGS.
2004-04-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-hilo-1.c: New test.

View File

@ -28,9 +28,9 @@ if {![istarget powerpc*-*-*altivec*]} {
# If a testcase doesn't have special options, use these.
# -pedantic-errors is inappropriate here, as this subdirectory tests
# nothing but extensions.
global DEFAULT_CFLAGS
if ![info exists DEFAULT_CFLAGS] then {
set DEFAULT_CFLAGS "-std=gnu99"
global DEFAULT_VMXCFLAGS
if ![info exists DEFAULT_VMXCFLAGS] then {
set DEFAULT_VMXCFLAGS "-maltivec -mabi=altivec -std=gnu99"
}
# Default action in this directory is 'run'.
@ -43,7 +43,7 @@ dg-init
# Main loop.
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] \
$DEFAULT_CFLAGS
$DEFAULT_VMXCFLAGS
# All done.
dg-finish