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
2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
slp-1.c
blob
bb352020f9753d9f7cfa282edb112b07d081711c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model" } */
3
4
struct
R
{
5
double
d1
;
6
double
d2
;
7
};
8
9
struct
R
foo
(
struct
R arg
)
10
{
11
struct
R ret
;
12
ret
.
d1
=
arg
.
d2
* (
0.0
-
arg
.
d1
);
13
ret
.
d2
=
ret
.
d1
;
14
return
ret
;
15
}