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
/
vect
/
bb-slp-67.c
blob
ff959c7ac9607f91e72130dcd4ba7327bbac4de8
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_float } */
3
4
float
a
[
6
];
5
6
void
foo
(
float
x
,
float
y
)
7
{
8
a
[
0
] =
1
.;
9
a
[
1
] =
2
.;
10
a
[
2
] =
3
.;
11
a
[
3
] =
4
.;
12
a
[
4
] =
5
.;
13
a
[
5
] =
x
+
y
;
14
}
15
16
/* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */