projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
slp-1.c
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
}