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
testsuite: Revert to the original version of pr100056.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
bb-slp-31.c
blob
6a131e7a9110284f08b1254e0464b4eb102f503e
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_double } */
3
4
typedef
double
vec
__attribute__
((
vector_size
(
2
*
sizeof
(
double
))));
5
vec a
;
6
7
void
f
(){
8
a
[
0
]=
1
+
2
*
a
[
0
]*
a
[
0
];
9
a
[
1
]=
1
+
2
*
a
[
1
]*
a
[
1
];
10
}
11
12
/* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */