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
/
pr56778.c
blob
a1eea497de291a169bd599fcd33922a4b725004f
1
/* { dg-do compile } */
2
/* { dg-options "-march=core-avx2" { target i?86-*-* x86_64-*-* } } */
3
4
typedef
struct
{
5
float
a
,
b
,
c
;
6
}
S
;
7
8
S
*
arr
[
100
];
9
10
void
bar
(
float
*
in
[],
int
n
)
11
{
12
int
i
;
13
for
(
i
=
0
;
i
<
n
;
i
++)
14
(*
in
)[
i
] = -
arr
[
i
]->
b
;
15
}