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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
7c-01.c
blob
68e07aa305bc0e8795992b2c7b5019a46e6a5c1d
1
/* { dg-do compile } */
2
#include <altivec.h>
3
vector
float
4
f
(
int
i
)
5
{
6
switch
(
i
) {
7
case
0
:
8
return
(
vector
float
)(((
vector
unsigned char
){
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
}));
9
}
10
return
((
vector
float
){
0
,
0
,
0
,
0
});
11
}