aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/vmx/vmx.exp8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e76df31..af0cb75 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/vmx/vmx.exp b/gcc/testsuite/gcc.dg/vmx/vmx.exp
index 389f809..aa376b1 100644
--- a/gcc/testsuite/gcc.dg/vmx/vmx.exp
+++ b/gcc/testsuite/gcc.dg/vmx/vmx.exp
@@ -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