From: Janis Johnson Date: Fri, 13 Aug 2004 21:11:24 +0000 (+0000) Subject: altivec-2.C: Revert previous changes and don't execute. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2ab121e831f4d3ac222a97a00a75c1cd665ebfc;p=gcc.git altivec-2.C: Revert previous changes and don't execute. 2004-08-13 Janis Johnson * g++.dg/ext/altivec-2.C: Revert previous changes and don't execute. From-SVN: r85961 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d7e85b65fee..ad541935f08 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-13 Janis Johnson + + * g++.dg/ext/altivec-2.C: Revert previous changes and don't execute. + 2004-08-13 Paul Brook * gfortran.dg/der_io_1.f90: Remove stray comma. diff --git a/gcc/testsuite/g++.dg/ext/altivec-2.C b/gcc/testsuite/g++.dg/ext/altivec-2.C index 82d2078dd83..9b5dac62307 100644 --- a/gcc/testsuite/g++.dg/ext/altivec-2.C +++ b/gcc/testsuite/g++.dg/ext/altivec-2.C @@ -1,4 +1,4 @@ -/* { dg-do run { target powerpc*-*-* } } */ +/* { dg-do compile { target powerpc*-*-* } } */ /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */ /* { dg-options "-maltivec -Wall" } */ @@ -8,13 +8,15 @@ #include #include "altivec_check.h" -int main1 (void) +int main (int argc, const char * argv[]) { int i; const float cf = 1.0; vector float v; const vector float cv = (vector float){1.0, 2.0, 3.0, 4.0}; + altivec_check (); + vec_dst(&cv, i, 0); v = vec_ld(0, &cv); v = vec_lde(0, &cf); @@ -22,9 +24,3 @@ int main1 (void) return 0; } - -int main (int argc, const char * argv[]) -{ - altivec_check (); - return main1 (); -}