Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
ieee
/
pr72824.c
blob: 1c213733ca1a7ac42fe5a177f70db3dcb686c2b3 [
file
] [
log
] [
blame
]
/* PR tree-optimization/72824 */
static
inline
void
foo
(
float
*
x
,
float
value
)
{
int
i
;
for
(
i
=
0
;
i
<
32
;
++
i
)
x
[
i
]
=
value
;
}
int
main
()
{
float
x
[
32
];
foo
(
x
,
-
0.f
);
if
(
__builtin_copysignf
(
1.0
,
x
[
3
])
!=
-
1.0f
)
__builtin_abort
();
return
0
;
}