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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr110979.c
blob
c25ad7a8a3167804c189ef9c66cb66699044f391
1
/* { dg-do run } */
2
/* { dg-additional-options "--param vect-partial-vector-usage=2" } */
3
4
#define FLT double
5
#define N 20
6
7
__attribute__
((
noipa
))
8
FLT
9
foo3
(
FLT
*
a
)
10
{
11
FLT sum
= -
0.0
;
12
for
(
int
i
=
0
;
i
!=
N
;
i
++)
13
sum
+=
a
[
i
];
14
return
sum
;
15
}
16
17
int
main
()
18
{
19
FLT a
[
N
];
20
for
(
int
i
=
0
;
i
!=
N
;
i
++)
21
a
[
i
] = -
0.0
;
22
if
(!
__builtin_signbit
(
foo3
(
a
)))
23
__builtin_abort
();
24
return
0
;
25
}