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
/
torture
/
20190327-1.c
blob
45093da768c4eb4e04ac168450edf1ec8357fa31
1
/* { dg-do run } */
2
/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
3
4
typedef
long
v2di
__attribute__
((
vector_size
(
16
)));
5
v2di v
;
6
void
__attribute__
((
noinline
))
7
foo
()
8
{
9
v
= (
v2di
){
v
[
1
],
v
[
0
]};
10
}
11
12
int
main
()
13
{
14
v
[
0
] =
1
;
15
foo
();
16
if
(
v
[
0
] !=
0
||
v
[
1
] !=
1
)
17
__builtin_abort
();
18
return
0
;
19
}