* gcc.dg/vmx/vmx.exp: Change DEFAULT_CFLAGS to DEFAULT_VMXCFLAGS.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 20 Apr 2004 19:24:00 +0000 (19:24 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 20 Apr 2004 19:24:00 +0000 (19:24 +0000)
From-SVN: r80919

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vmx/vmx.exp

index e76df31..af0cb75 100644 (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.
index 389f809..aa376b1 100644 (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