Commit 7b1521e0 by Aldy Hernandez Committed by Aldy Hernandez

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

From-SVN: r80919
parent 90cb5151
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> 2004-04-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-hilo-1.c: New test. * gcc.dg/torture/mips-hilo-1.c: New test.
......
...@@ -28,9 +28,9 @@ if {![istarget powerpc*-*-*altivec*]} { ...@@ -28,9 +28,9 @@ if {![istarget powerpc*-*-*altivec*]} {
# If a testcase doesn't have special options, use these. # If a testcase doesn't have special options, use these.
# -pedantic-errors is inappropriate here, as this subdirectory tests # -pedantic-errors is inappropriate here, as this subdirectory tests
# nothing but extensions. # nothing but extensions.
global DEFAULT_CFLAGS global DEFAULT_VMXCFLAGS
if ![info exists DEFAULT_CFLAGS] then { if ![info exists DEFAULT_VMXCFLAGS] then {
set DEFAULT_CFLAGS "-std=gnu99" set DEFAULT_VMXCFLAGS "-maltivec -mabi=altivec -std=gnu99"
} }
# Default action in this directory is 'run'. # Default action in this directory is 'run'.
...@@ -43,7 +43,7 @@ dg-init ...@@ -43,7 +43,7 @@ dg-init
# Main loop. # Main loop.
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] \ gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] \
$DEFAULT_CFLAGS $DEFAULT_VMXCFLAGS
# All done. # All done.
dg-finish dg-finish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment