From: Janis Johnson Date: Thu, 12 Aug 2004 21:25:44 +0000 (+0000) Subject: altivec-11.C: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=174b1783d052ecf338b60d47d2db3a5dc5256757;p=gcc.git altivec-11.C: New test. 2004-08-12 Janis Johnson * g++.dg/ext/altivec-11.C: New test. From-SVN: r85904 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9256ed9fd45..10e9e0b10e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-12 Janis Johnson + + * g++.dg/ext/altivec-11.C: New test. + 2004-08-12 Paul Brook * g++.dg/abi/arm_cxa_vec_1.C: New test. diff --git a/gcc/testsuite/g++.dg/ext/altivec-11.C b/gcc/testsuite/g++.dg/ext/altivec-11.C new file mode 100644 index 00000000000..5df53110d11 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/altivec-11.C @@ -0,0 +1,12 @@ +/* Test handling of literal constant for dss operation. */ +/* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */ +/* { dg-options "-maltivec" } */ + +#include + +void +foo () +{ + vec_dss (1); +}