repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
gcc-bug-d.c
blob
2b2151eec984f08abca7031c9eaa434c2e3f2782
1
/* { dg-do compile } */
2
#include <altivec.h>
3
static void
f
() {}
4
extern
void
g
() {}
5
extern
vector
unsigned char
permute_128
(
vector
unsigned char
);
6
7
void
foo
()
8
{
9
vector
unsigned char
input
10
= {
0
,
1
,
2
,
4
,
8
,
16
,
32
,
64
,
128
,
0
,
1
,
2
,
4
,
8
,
16
,
32
};
11
vector
unsigned char
result
=
permute_128
(
input
);
12
void
(*
p
)() =
f
;
13
void
(*
q
)() =
g
;
14
}