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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-tree-sra-bb-slp-pr50730.c
blob
8fe67f45faa4651b4d5a479c456222e58a955692
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_float } */
3
4
typedef
__complex__
float
Value
;
5
typedef
struct
{
6
Value a
[
16
/
sizeof
(
Value
)];
7
}
A
;
8
9
A
sum
(
A a
,
A b
)
10
{
11
a
.
a
[
0
]+=
b
.
a
[
0
];
12
a
.
a
[
1
]+=
b
.
a
[
1
];
13
return
a
;
14
}
15
16
/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" } } */