repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
altivec-4.C
blob
8f22fb3b98d3a951b3d34174b6d24bf7f7c14774
1
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
3
/* { dg-options "-maltivec" } */
4
5
/* PR c++/14425 */
6
7
#include <altivec.h>
8
9
vector unsigned int splat0(vector unsigned int x)
10
{
11
return vec_splat(x, 0);
12
}