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
/
pr27006.c
blob
d34d51e92c6b03c552c04fd96fe50429dae0e043
1
/* { dg-options "-maltivec" } */
2
3
extern
void
abort
();
4
5
typedef
union
6
{
7
int
i
[
4
];
8
__attribute__
((
altivec
(
vector__
)))
int
v
;
9
}
vec_int4
;
10
11
int
main
(
void
)
12
{
13
vec_int4 i1
;
14
15
i1
.
v
= (
__attribute__
((
altivec
(
vector__
)))
int
){
31
,
31
,
31
,
31
};
16
17
if
(
i1
.
i
[
0
] !=
31
)
18
abort
();
19
20
return
0
;
21
}
22