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
/
pr45678-1.c
blob
9abc7fd7525e0e97f437347866002286a20fce6e
1
/* { dg-do run } */
2
/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! lp64 } } } } */
3
4
typedef
float
V
__attribute__
((
vector_size
(
16
)));
5
V g
;
6
float
d
[
4
] = {
4
,
3
,
2
,
1
};
7
8
int
9
main
()
10
{
11
V e
;
12
__builtin_memcpy
(&
e
, &
d
,
sizeof
(
d
));
13
V f
= {
5
,
15
,
25
,
35
};
14
e
=
e
*
f
;
15
g
=
e
;
16
return
0
;
17
}